Jump to content
  • Advertisement
Sign in to follow this  
inversion

Strange VBO/PBO problem

This topic is 3916 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've written a GPU based particle system using VBOs to render the particles. Everything compiles and works perfectly and renders in release mode when run through the vs2005 debugger. The problem is that if I try to run it using the exe or without debugging the particles are not rendered. Does anyone have a clue what could cause this I've never had any problems with a release build that only works inside visual studio before. All the positions and velocities etc are stored in textures and the positions are copied into the VBO for rendering. I think the problem may be to do with the copy from the texture into the VBO as the other static VBOs are still rendered correctly. The only mention of anything similar that I found just suggested that the problem was related to threading which im not using. Any suggestions at all would be appreciated I really have no idea and its more than likely theres some setting that I've missed or don't know about. Thanks p.s. sorry if this is in the wrong place wasn't sure if it should go here or in programming.

Share this post


Link to post
Share on other sites
Advertisement
Do you try to access any files (ie: a particle texture) with a relative path? When running the program from within VS the current directory is set to the project directory by default, when running the .exe manually the current directory is where ever the .exe file is (ie: <project directory>/Release).

Let us know if that helps.

Share this post


Link to post
Share on other sites
Thanks for the sugestion im not using any relative paths the textures and shaders are all being loaded correctly. Data for the particles is all generated by the program it isn't being read in so this shouldn't be the problem.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!