how can i use a lightwave object in openGL?

zeoworld
Unregistered
 
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
DoG
Moderator
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
Moderator
Posts: 916
Joined: 2002.10
Post: #3
file format loaders and such
http://myfileformats.com/search.php?cat_...cs%20files

this should probably be wikied, someone do it for me, I'm lazy Smile
Quote this message in a reply
ededed
Unregistered
 
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
henryj
Unregistered
 
Post: #5
Ignore what dooog said and have a look at thie thread...


http://www.idevgames.com/forum/showthrea...genumber=2
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 3,043 Jan 6, 2013 11:03 AM
Last Post: dotbianry
  Combining OpenGL vertex data into 1 object Jmcclane 0 3,249 Jun 17, 2011 12:03 PM
Last Post: Jmcclane
  3ds–OBJ/Lightwave Barclay 2 2,711 Apr 23, 2006 01:26 PM
Last Post: bodini
  Lightwave character animation Wheatie 5 3,573 Mar 25, 2003 10:02 PM
Last Post: Wheatie
  Using a camera object in OpenGL stuepfnick 3 3,691 Mar 22, 2003 08:02 AM
Last Post: rommel