Models Not Drawing

This topic contains 2 replies, has 2 voices, and was last updated by  Scott 8 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29844

    earamsey
    Member

    My Models are not drawing. So I grabbed your TrainingCourse7_IntroducingPODMediascene.max and generated a .h and a .pod from it.  What is different is following;

     

    SPODCamera:

      Original             – { 6, 0.785398f, 1000.000000f, 1.000000f, (float*)0 },
      ReGenerated    – { 6, 0.785398f, 4000.000000f, 10.000000f, (float*)0 },

     

    SPODLight:

      Original             – { -1, { 1.000000f, 1.000000f, 1.000000f }, (EPODLight)00000000 }
      ReGenerated    –  { -1, { 1.000000f, 1.000000f, 1.000000f }, (EPODLight)00000001 },

     

    The size of the Faces and Interleaved arrays are all same, 324, 1360, but data is within them is different (same for AnimPosition arrays).

     

    I am using 3ds Max 2009 and the latest version of PVRGeoPOD.dle. Any ideas how to fix this?
    #33196

    earamsey
    Member

    I can view the file with Shaman but can not loader/display from opengl es. However, Shaman says there are 4 meshes but CPVRTModelPOD.nNumMeshNode = 5! In addition, it seems that my SPODNode is different than what GeoPOD is outputting!!

    Please help!

    #33197

    Scott
    Moderator
    Hi,

     

    Quote:

    My Models are not drawing.

     

    Is this if you try to load them using IntroducingPOD? If so, IntroducingPOD is just a simple example for displaying and loading pod files and the code may need changes to display your .pod file. 

     

    Quote:

    Any ideas how to fix this?

    I think the differences are just down to changes in the exporter. If you have an ‘original’ IntroducingPOD .h file then that came from the 2.2 release of the SDK or earlier as later SDKs use .pod files that match your ‘regenerated’ header.

     

    Quote:

    I can view the file with Shaman but can not loader/display from opengl es. However, Shaman says there are 4 meshes but CPVRTModelPOD.nNumMeshNode = 5!

    It is hard to say but possibly one of the meshes may be instanced and Shaman is displaying nNumMesh.

     

    Quote:

    In addition, it seems that my SPODNode is different than what GeoPOD is outputting!!

    This definately looks like you’re using an older SDK. I recommend you update to the latest version to match your exporter.

     
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.