Lightwave and procedural textures

Discussion in 'Rendering Technology and APIs' started by onesvenus, Sep 18, 2008.

  1. onesvenus

    Newcomer

    Joined:
    Oct 29, 2004
    Messages:
    25
    Likes Received:
    1
    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.
     
  2. Vadi

    Regular

    Joined:
    Apr 15, 2004
    Messages:
    446
    Likes Received:
    2
    Location:
    Austria
    If Lightwave has a render to texture option you may convert all textures to bitmaps that way.


    I see, you know that already, well it would cost some render time, yes.:oops:
     
  3. zsouthboy

    Regular

    Joined:
    Aug 1, 2003
    Messages:
    563
    Likes Received:
    9
    Location:
    Derry, NH
    There is probably an option to bake the procedurals to textures inside LW. All you're going to find in the binary file is some parameters for the procedurals, not the actual algo for evaluating them, that's all built into LW.
     
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...