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:
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
