A similar program to 3DS Max
Hi,
Why the drawing speed is so slow???
I am trying to implement an application like 3ds max where you have four views and you can draw and rotate a 3d object.When I drag or rotate a simple object, the whole thing works fine, but when I try to load a complex 3d object(10000 faces) and move it around the object doesn't follow my mouse smoothly, instead you get a really laggy result.
Currently I use ddraw surfaces and draw pixel by pixel onto a offscreen surface and then blit the surface in window mode. I tried a few suggestions from this web which is to use a system buffer. After you finished drawing, you Memcopy the system buffer to the ddraw surface, but the speed is still so slow (almost the same as accessing the ddraw surface directly.
Please help. I would like to know how 3ds max accomplished that(even you load a very very complex object in 3ds max (10000 faces) the drag and rotate is very smooth.
Thanks!
you are using a software renderer?? 3ds max and maya and pretty much everything out there uses hardware accellerated drawing via opengl or direct3d. with software rendering you'll never reach that kind of speed (unless you have a supercomputer to your disposal)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement