| View previous topic :: View next topic |
| Author |
Message |
RobinWern Posted via mailing list.
|
Posted: Thu Feb 19, 2009 4:00 am Post subject: help - draw 3d graphic |
|
|
I am posting in Jan 2009, so I don't know if you are still following this
question two years later.
To do rotations in space and project them onto a 2D plane you need to use a
rendering context provided from either the OpenGL or DirectX engines.
DirectX underlies the WPF libraries in the .NET framwork in Windows and
Mono. DirectX can be used by direct calls in C# and C++ under .NET using the
Microsoft.DirectX namespaces. A 2004 book "Managed DirectX 9" is my manual
for doing this. Linux has depended on OpenGL graphics libraries for all
previous 3D programming. See the "OpenGL SuperBible" third edition for an
excellent introduction to using OpenGL libraries to do game and scientific
3D displays. The OpenGL libraries can be called using C++. Your video card
must be advanced enough to respond to the 3D vector and texture commands for
this to work, but almost all cards since 2004 are adequate for reasonable
displays. My 2002 portable is capable of doing the line drawing you require
so I expect either route to give you the capability you need. You will have
to couple mouse events into rotating the drawing matrix to change the view
angle.
vince3ang wrote:
| Quote: |
Hallo
i want to draw a 3D room which look like this.
how i should draw it? ( i plan to rotate the room to see different angle
for the room)
Your help is much appreciate.
Thanks
http://www.nabble.com/file/p9839131/room.JPG
|
--
View this message in context: http://www.nabble.com/help---draw-3d-graphic-tp9839131p22093595.html
Sent from the Netbeans Java Mobile Edition/ME Users (Mobility) mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|