473,503 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[directx] Changing start of x-y-z coordinate system

I'm looking for any sample of code how to change drawing my mesh.
I have one box and i'd like to change point 0,0,0 starting not from one
of the corners, but i'd like to start at bottom of my cube at width/2
point? Is there any way to do that?
Thanks in advance

Jan 22 '06 #1
1 2453
Piotrek Alchemik wrote:
I'm looking for any sample of code how to change drawing my mesh.
I have one box and i'd like to change point 0,0,0 starting not from one
of the corners, but i'd like to start at bottom of my cube at width/2
point? Is there any way to do that?
Thanks in advance

You can use a transformation matrix on the device or change the vertices
of the mesh manually. In the DX SDK, there are a couple of examples
doing this.

BTW, there are a couple of DX newsgroups:

microsoft.public.win32.programmer.directx.managed
microsoft.public.win32.programmer.directx.graphics

HTH,
Andy
--
To email me directly, please remove the *NO*SPAM* parts below:
*NO*SPAM*xmen40@*NO*SPAM*gmx.net
Jan 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2815
by: Jean | last post by:
Hello, I have just read through the MS Access Security FAQ, and had a go at securing my database, but now I am stuck. I successfully set up a new .mdw file, say DEPARTMENT.MDW. With this...
4
4604
by: Tim Bücker | last post by:
Hello. I want to set my coordinate-system-origin (0/ 0) to the bottom-left corner. How is that done in C# the best way? Thanks a lot in advance! Greetings, Tim.
7
17402
by: Randy Vande Hei | last post by:
Does anyone know how to change the the GDI+ coordinate system like you used to be able to do in VB6 with the picturebox.scale method. The picturebox.scale method took an x,y point defining the...
3
2752
by: Husam | last post by:
Hi EveryBody: by VB.Net How can I amke windows application project start with starting of opreating system and end with ending the opreating system, for exaple like the windows service project...
4
2392
by: Shane | last post by:
I've created a wallpaper changer that I want to start up on system boot. I know that I can put a shortcut for my app in the startup folder. How can I get the install program for my app to add a...
4
1782
kestrel
by: kestrel | last post by:
i found it once before, but ive lost it again. there was a program or wizard or whatever, that allowed me to change the start-up, shut down sounds, ect. im running XP home can anyone help me?...
0
1415
by: avukovi4 | last post by:
I've created rectangular coordinate system and a triangle movie clip and two buttons by which would like to be able to create a reflected image of the triangle movie clip according to x or y axis....
12
18318
by: Petra Rohmer | last post by:
Hello, I want to ake following 0,0 (900mm,900mm) -------------------------------------- |....................................| |....................................|...
3
1524
by: Abhiraj Chauhan | last post by:
Hello. I want to set my coordinate-system-origin (0/ 0) to the bottom-left corner. How is that done in VB.net the best way? thanks.
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6988
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5011
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3166
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3153
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
379
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.