Jump to content
  • Advertisement
Sign in to follow this  
ZombieSheep

OpenGL Difference between tiny_4anim.x and normal .x files

This topic is 4302 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'm trying to load .x files using opengl and I'm having trouble to load any .x file that's not tiny_4anim.x I'm more or less using the code from http://www.gamedev.net/reference/programming/features/xfilepc/ Time is a bit tight for me so I was wondering if anybody knew the difference between normal .x files and tiny_4anim.x files. since I remember somebody saying that tiny_4anim.x is screw up in a sense. I really just need the vertices, normals, and material from a x file. Any hints or suggestions on where to begin to fix the code are greatly appreciated.

Share this post


Link to post
Share on other sites
Advertisement
That .x is used in all the samples on animation, so it is significantly different from most .x files because of all the animation data. I can't really tell you what's wrong though as I don't have access to you code (or time to look through it) so my advice would be to look through the .x loading samples at Codesampler.com to figure out what you need to change. Those samples are very straight-forward and easy to learn from.

Share this post


Link to post
Share on other sites
You might also have a look at the Irrlicht Engine XFile loader source. It's straightforward und should be easily portable to whatever base you need. It helped me alot when trying to get my anim import working.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!