By XploreAR
on Thu, 10/10/2013 - 09:14
I have a 3D modal for cup.obj. I need to convert to .h file so i downloaded this http://heikobehrens.net/2009/08/27/obj2opengl/ And put cup.obj file to this folder. Then i run from terminal obj2opengl.pl cup.obj I didn't get .h file.
command i'm using:
Ranganatha-GVs-Mac-mini:~ ranganathagv$ ./obj2opengl.pl cup.obj-bash: ./obj2opengl.pl: No such file or directoryRanganatha-GVs-Mac-mini:~ ranganathagv$
convert .obj to .h is open obj2opengl in notepad
Make sure to put the obj2opengl.pl tool and your cup.obj in the same directory, then make sure to cd to the rirght directory in your bash shell.
convert .obj to .h is open obj2opengl in notepad
Check my folder in finder. My obj2opengl.pl path is /Users/ranganathagv/Projects/OHS mobile app/karthees/iOS/vuforia/obj2opengl-master/obj2opengl.pl