Page 2 of 12 FirstFirst 1 2 3 4 ... LastLast
Results 11 to 20 of 112

Thread: [WIP] .render_model exporter (First custom model ingame!)

  1. #11

    Re: [wip] .render_model exporter (First custom model ingame!)

    Quote Originally Posted by FireScythe View Post
    Very nice work! The first is obviously your spartan biped from Prime, and i think the second is the woman you modelled in this thread (http://gbxforums.gearboxsoftware.com...ad.php?t=46841) but i don't think the pictures work anymore so i can't be sure.
    DING DING DING! We have a winrar! Congrats! Here take this cake, you will need it.


    Quote Originally Posted by FireScythe View Post
    Just had a quick look at the render_model tag and it seems they used a varient of the JMS format in Halo 2 so maybe an altered version of bluestreak would give you the information to compile, rather than the gbxmodel - render_model route.
    Actually, I was planning on using .jms at first. An altered version of bluestreak would only need to export 4 node weights instead of 2. My only problem is just computing what the binormals and tangents are and also figuring out how to convert node and marker relative positioning and converting from 3d euler angles to 4d quaternion vectors. Its just bound for trouble and problems, so making a .gbxmodel -> .render_model just makes things simpler as it already compiled all that information.

  2. #12
    a bit of the old in-out Roostervier's Avatar
    Join Date
    Jan 2007
    Posts
    3,379

    Re: [wip] .render_model exporter (First custom model ingame!)

    ... Sounds about like it =p. That looks hard to understand, at least for someone as slow as me D:

  3. #13
    Senior Member Snaver's Avatar
    Join Date
    Jan 2007
    Location
    United Kingdom
    Posts
    268

    Re: [wip] .render_model exporter (First custom model ingame!)

    Great start jahrain.
    Last edited by Snaver; June 26th, 2007 at 09:06 AM.

  4. #14
    Senior Member teh lag's Avatar
    Join Date
    Oct 2006
    Posts
    3,566

    Re: [wip] .render_model exporter (First custom model ingame!)

    That's awesome, you are awesome too.

  5. #15
    Senior Member FireScythe's Avatar
    Join Date
    Sep 2006
    Location
    UK, England
    Posts
    321

    Re: [wip] .render_model exporter (First custom model ingame!)

    Hooray Cake! I've had a look at Euler > Quarternion calulations and its not too hard, i've made a quick code that does it. Binormals and tangents look to be quite complex though (or at least the terminology is ).

  6. #16

    Re: [wip] .render_model exporter (First custom model ingame!)

    Quote Originally Posted by FireScythe View Post
    Hooray Cake! I've had a look at Euler > Quarternion calulations and its not too hard, i've made a quick code that does it. Binormals and tangents look to be quite complex though (or at least the terminology is ).
    I made some old vb code that does it as well long ago, but from quaternion to euler, not euler to quaternion. The problem is the angles are relative to each other. So say you have one node pointing one particular angle, and another node attached to it pointing in another angle that is relative to the first node node's angle. What you would have to do is figure out what the angle is in the world from the relative angles and convert that to a quaternion. Just figuring out relative 3d angles and transformations is mind boggling.
    Last edited by jahrain; June 26th, 2007 at 10:07 AM.

  7. #17
    Senior Member FireScythe's Avatar
    Join Date
    Sep 2006
    Location
    UK, England
    Posts
    321

    Re: [wip] .render_model exporter (First custom model ingame!)

    Ah i see, bit more complex than expected .

  8. #18

    Re: [wip] .render_model exporter (First custom model ingame!)

    Well, I could do it, but why bother when theres a simpler solution that would work better?

    Also, another issues is triangle stripping.

    I realized that the index data consists of triangle strips, not just triangles as I have assumed which is why the polygons look so garbled. In the gbxmodels, the triangles seem to be in triangle strip format as well since it can be seen with the intentional degenerate triangles in the tags. Usually with triangle strips, a degenerate triangle, usually contains 2 of the same vertex coords indicies. You will see many of those in the gbxmodel tags's triangle block, which is why I assume it also uses triangle strips.

    Converting a model into a series of triangle strips is definitely something that seems challenging as it involves some graph theory.
    Last edited by jahrain; June 26th, 2007 at 10:57 AM.

  9. #19
    Senior Member thehoodedsmack's Avatar
    Join Date
    Sep 2006
    Posts
    3,151

    Re: [WIP] .render_model exporter (First custom model ingame!)

    Yay! Another reason to get this game! Jahrain FTW!

  10. #20

    Re: [WIP] .render_model exporter (First custom model ingame!)

    Yikes, graph theory? I thought vertices were already grouped in 3's. If they aren't, I'd just group them by proximity, not graph theory!! Anyway, this isn't my field, good luck to you Jahrain with finishing this. Seems liike a fun project.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •