1
C / C++ /C# / [c++]Opengl - obj file to vertex3f converter?
« on: December 15, 2009 »
i have an *.obj file,how i can convert it into array?i don't want to use obj loader as for challenge wise
.I have tried using Stripe ( http://www.cs.sunysb.edu/~stripe/ ) to convert polygon into triangle strips,but the line are just to long to convert it by hand adding glvertex3f,quads,vertices, i tried to make macro on ultraedit to automated this but no luck so far lol,attached below the model of a foot lol,
foot.obj is original
foot.objf is striped (v = vertex?,vt=vertices?,q=quads?)
Stripe.exe
viewobj.exe
.I have tried using Stripe ( http://www.cs.sunysb.edu/~stripe/ ) to convert polygon into triangle strips,but the line are just to long to convert it by hand adding glvertex3f,quads,vertices, i tried to make macro on ultraedit to automated this but no luck so far lol,attached below the model of a foot lol,foot.obj is original
foot.objf is striped (v = vertex?,vt=vertices?,q=quads?)
Stripe.exe
viewobj.exe
,not at home currently