redner error (37)

Help
2011-12-22
2013-04-25
  • Frederick Isaac

    Frederick Isaac - 2011-12-22

    Hi

    anyone have any idea what

    <file>.rib (37) : Unexpected number of u vertices means

    and/or how to fix this

    Cheers

     
  • Charmel

    Charmel - 2012-06-12

    I think that means the count of texture coordinates is not right for the vertices count you have.

    With a polygon having NP vertices, you should have :
      3 * NP vertices coordinates.
      2 * NP textures coordinates.

    For instance:

    Surface "mysurf" ....
    Polygon "P" [-50.000 -50.000 -309.808  50.000 50.000 -309.808  -50.000 50.000 -309.808]
     "st" [0.00 0.00 1.00 1.50 0.00 1.50]
    

    triangle : NP = 3
    9 vertices coordinates
    6 textures coordinates.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks