PDA

View Full Version : Speed projection in Open GL



RBator
07-14-2011, 12:35 PM
how depend speed of the projection in OpenGL ?

zeoverlord
07-14-2011, 02:52 PM
normally nothing, if you change the projection you also change whats being rendered, so that might cause a difference, but you should be fill limited anyway so it shouldn't matter in the end

RBator
07-15-2011, 09:21 AM
i make mesh 50x50x50xcube and 50x50x50xcube from lines . It works very slow . mesh is rotary and change space , zoom in , zoom out .

BionicBytes
07-15-2011, 09:55 AM
the projection is in all probability the last of your worries for speed.
It's far more likely that you are not making optimal use of buffer objects and or vertex arrays.

RBator
07-15-2011, 10:22 AM
what i am ought to do ?

BionicBytes
07-15-2011, 10:35 AM
you have said nothing about how you are rendering the mesh and lines. All we can do is guess because you post no information.
For all we know it could be the rasterisation of the mesh which is the slowest part (some really complex pixel shader). Give us something solid to work with and we'll try to help.