Re: create a new widget dynamically
Camera:
I would keep only one camera, so in each viewport class I would keep current viewport camera position. In repaint function, for each viewport, simply move camera around, no need for multiple cameras.
VBO:
I don't know, maybe Ogre by default uses VBO (I saw on Ogre wiki that there is some sort of asset manager but didn't find any info regarding internal VBO usage, search Ogre wiki/forum) so then there is no problem, as I said before I didn't use Ogre. But this is just for performance and if you scene is simple then there won't be any performance impact (but this is not the "right" way to do this because currently immediate mode is treated as depreciate).
In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
The advance of computerization however, has not yet wiped out nations and ethnic groups.
Bookmarks