Alex Chen
04-08-2010, 09:57 AM
hello,
I have an application which deals with up to "5 millian vertices" models. I used Immediate Mode to render the model but the rendering is slow whenever I change the viewpoint (i.e. rotate, translate & scale the object).
I can not use Display List because I need to edit (ex: select/cut part of the model, i.e. changing the number of vertices) the model within the application. Then I have the choice of Vertex Array or VBO (Vertex Buffer Object, preferrable than Vertex Array), in which I may change the contents of index for the array (even though I am not 100% sure that will work, but as my understanding it should? ).
However both Vertex Array & VBO have the limit of "GL_MAX_ELEMENTS_VERTICES / INDICES"
( refer to http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=125297 )
that for my video card, GL_MAX_ELEMENTS_VERTICES = GL_MAX_ELEMENTS_INDICES = 1048576, so for a 5 millian vertices model the performance will suffer ...
Does anyone have experiences writing application to deal with such a large amount of vertices and meanwhile need to change the contents of the model ?? What kind of rendering technique should I use ??
thanks a lot,
alex
I have an application which deals with up to "5 millian vertices" models. I used Immediate Mode to render the model but the rendering is slow whenever I change the viewpoint (i.e. rotate, translate & scale the object).
I can not use Display List because I need to edit (ex: select/cut part of the model, i.e. changing the number of vertices) the model within the application. Then I have the choice of Vertex Array or VBO (Vertex Buffer Object, preferrable than Vertex Array), in which I may change the contents of index for the array (even though I am not 100% sure that will work, but as my understanding it should? ).
However both Vertex Array & VBO have the limit of "GL_MAX_ELEMENTS_VERTICES / INDICES"
( refer to http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=125297 )
that for my video card, GL_MAX_ELEMENTS_VERTICES = GL_MAX_ELEMENTS_INDICES = 1048576, so for a 5 millian vertices model the performance will suffer ...
Does anyone have experiences writing application to deal with such a large amount of vertices and meanwhile need to change the contents of the model ?? What kind of rendering technique should I use ??
thanks a lot,
alex