how can i use a lightwave object in openGL?

Post: #1
i am a beginner in programming and i like to know how i can use the data in lightwaves lwo format to made it visible in an opengl window? is there any tool or method available or do i have to write my own stuff? i can't find any documentation or examples about that. sorry for my english, i am from europe. thanks.
Quote this message in a reply
Posts: 869
Joined: 2003.01
Post: #2
no direct way. You would have to go through hell and beyond to directly do that. Lightwave objects are supposed to be raytraced, not rendered by polygon shaders. What you see in lightwave is only a simplification, which may not have any polygons written to the file, only funky parameters.

Find a simple file format you can export the features you really need to.

- D.G
Quote this message in a reply
Posts: 916
Joined: 2002.10
Post: #3
file format loaders and such

this should probably be wikied, someone do it for me, I'm lazy Smile
Quote this message in a reply
Post: #4
If you can save it as a .obj then using glm would be good. Check out the openGL website then go to downloads and lots of those things use glm. It is a easy to use free .obj loader and will compile lists and smooth the objects for you.
Quote this message in a reply
Post: #5
Ignore what dooog said and have a look at thie thread...
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  OpenGL Pixel Buffer Object setup issue dotbianry 2 6,296 Jan 6, 2013 11:03 AM
Last Post: dotbianry
  Combining OpenGL vertex data into 1 object Jmcclane 0 4,543 Jun 17, 2011 12:03 PM
Last Post: Jmcclane
  3ds–OBJ/Lightwave Barclay 2 4,148 Apr 23, 2006 01:26 PM
Last Post: bodini
  Lightwave character animation Wheatie 5 5,294 Mar 25, 2003 10:02 PM
Last Post: Wheatie
  Using a camera object in OpenGL stuepfnick 3 5,314 Mar 22, 2003 08:02 AM
Last Post: rommel