Saving UV's into a file help

Blitz3D Forums/Blitz3D Programming/Saving UV's into a file help

Ross C(Posted 2005) [#1]
Well, what i'm doing basically is this. I accidentally welded a model and unwrapped it. Then i was given a new model, with more animations, and i tried to apply the same UV's, but obviously the welding buggered that up. So, i've reconstructed them in blitz, using code.

Now, i want to open up the model file, and edit the UV co-ords in it using the new ones i have.

Basically, read in the .b3d. Find and replace the UV co-ords. Save the file. Does anyone know anything to get me started?


jfk EO-11110(Posted 2005) [#2]
Check out the "SaveB3D" example from the code archives, 3D Mesh Section.


Ross C(Posted 2005) [#3]
Unfortunelty i need to be able to load in the file, parse it for the UV's, change them and save it back out. Its an animated mesh btw, would that make much difference?


Ross C(Posted 2005) [#4]
*bump* I'm willing to pay someone for this bit of code :o)