Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualgreenzone

Posted 19 March 2013 - 03:25 PM

I have created a parser that will load my custom geometry. when it loads the geometry it places the vertex array into a VBO. I want to make many of the same object or introduce new objects into the scene but use them later as one is playing the game. how do i store geometry so it is not loading from a file into the VBO when it is called upon? but rather from some sort of buffer that holds it in an efficient way until its needed perhaps.

 

one of the things I am trying to set up are missiles for a tank game. I want the user to be able to just shut a 100 missiles back to back. each missile geometry is the same. how would you recommend I create multiple missiles with our having to load the geometry for each missile every time the user fires the missile?

 

thanks


#1greenzone

Posted 19 March 2013 - 02:42 PM

I have created a parser that will load my custom geometry. when it loads the geometry it places the vertex array into a VBO. I want to make many of the same object or introduce new objects into the scene but use them later as one is playing the game. how do i store geometry so it is not loading from a file into the VBO when it is called upon? but rather from some sort of buffer that holds it in an efficient way until its needed perhaps.

 

one of the things I am trying to set up is missiles for a tank game. I want the user to be able to just shut a 100 missiles back to back. each missile geometry is the same. how would you recommend I create multiple missiles with our having to load the geometry for each missile every time the user fires the missile?

 

thanks


PARTNERS