Advertisement Jump to content
Sign in to follow this  
Giacomo83

read vertcices from file

This topic is 4915 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

Hi to all! I made an OpenGL ES app showing a 3d model; the list of vertices, normal, indices and textures is stored in a .h file included in the project. It's possible store this data on a external file?In particular: when I start the app on my phone, it read a file (for example data.txt) and load the value in the array, it's possible? In this way changing the file with the list of datas, I can display another model without change the app. Thanks

Share this post


Link to post
Share on other sites
Advertisement
I thinks that it's possible but your app would be more slow in starting phase...

So you could load a lot of models in .h files and then inside your app you could chenge model to display...

PS: Se ti serve poi ho implementato la skeletal animation partendo da file di MilkShape3D ASCII... [leggi il mio post sul forum]

Byez,

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!