Menu

#1 ALMOST

open
nobody
None
5
2007-08-07
2007-08-07
Anonymous
No

I am trying to get some low-level 3D data out of a program which uses openGL, and I think OGLE is getting me very close to that goal. I am NOT a good programmer, did some fortran/matlab/etc way in the past.

upon keying in the capture keystroke sequence, OGLE makes a .txt file ("DisplayList_0000_0000.txt" or similar filename).

contents of this text file are, I believe, openGL graphics primitives for vertices and normal vectors I am looking for.

glNewList(3,GL_COMPILE)
glColor4ubv([200,200,180,255])
glBegin(GL_TRIANGLES)
glNormal3fv([0.821357,0.508083,0.255532])
glVertex3fv([162.186523,75.526108,11.741253])
glNormal3fv([0.793126,0.552415,0.234324])
glVertex3fv([161.992264,75.526108,12.389507])

... for tens of thousands of lines

glEnd()
glDisable(GL_TEXTURE_2D)
glEndList()

but the ogle.obj file is empty, 0kb

How do I get OGLE to finish the job and make an OBJ file? Thanks

de_nogginizer@hotmail.com

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.