XeviaN
22-07-2003, 09:54 PM
Hi all!
I'm currently developing a 3D editor with the common 4 views (top, left, front, 3d).
I used a panel (VCL) to render to, and divide it in 4 rectangles with the Viewports of DirectX.
Every frame i set the viewport, all renderstates (etc, etc), and render.
Change viewport and so on, 4 times.
So, it seems that the viewport change is a hi-cost operation because its slow down frame rate very badly, even the statechanges and polycount of every frame are not much.
Nevertheless i've no need of a high frame rate count, i'd like to know if there's a better (and faster) method to implement my 4 views editor, using a different method than Viewports.
Thanks in advance :D
I'm currently developing a 3D editor with the common 4 views (top, left, front, 3d).
I used a panel (VCL) to render to, and divide it in 4 rectangles with the Viewports of DirectX.
Every frame i set the viewport, all renderstates (etc, etc), and render.
Change viewport and so on, 4 times.
So, it seems that the viewport change is a hi-cost operation because its slow down frame rate very badly, even the statechanges and polycount of every frame are not much.
Nevertheless i've no need of a high frame rate count, i'd like to know if there's a better (and faster) method to implement my 4 views editor, using a different method than Viewports.
Thanks in advance :D