I have a little problem with an app I'm developing.
I've a friend who has made me a model using lightwave and I want to render it using opengl.
Now I'm writing a loader (If anyone knows a good lightwave open source loader I'd appreciate it) and when I render the mesh there are a lot of textures missing. Searching a little it seems that my friend used a lot of procedural textures and I don't know how can I produce them.
Am I wrong at thinking that on the lightwave file there should be some kind of function that evaluates the texture?
And if I'm wrong, supposing that my friend can't change the mesh neither its textures, how can I render it?
I suppose one option would be to use lightwave to render each triangle with its texture and use that image as a texture when I render in openGL but that's not very efficient and a lot of work.
Any help would be appreciated.
I've a friend who has made me a model using lightwave and I want to render it using opengl.
Now I'm writing a loader (If anyone knows a good lightwave open source loader I'd appreciate it) and when I render the mesh there are a lot of textures missing. Searching a little it seems that my friend used a lot of procedural textures and I don't know how can I produce them.
Am I wrong at thinking that on the lightwave file there should be some kind of function that evaluates the texture?
And if I'm wrong, supposing that my friend can't change the mesh neither its textures, how can I render it?
I suppose one option would be to use lightwave to render each triangle with its texture and use that image as a texture when I render in openGL but that's not very efficient and a lot of work.
Any help would be appreciated.