I keep getting an issue with the shape object when i grab the CSLBaseShape from
a CSLMesh the shape always has a pointer value of NULL or 0x0000001
the mesh object has everything else i can look at the triangle lists
without a problem but no shape object?
i simplified the code into a few lines ( no error checking etc ) to show my flow
CSLScene dotXSI;
dotXSI.Open( mb_scene_file ); // Succeeds
dotXSI.Read() // Succeeds
CSLModel * root = dotXSI.Root();
xsi_model is obtained just by recursing through root and its children
if( xsi_model->GetPrimitiveType() == CSLModel::SI_MESH )
{
CSLMesh * xsi_mesh (CSLMesh*)xsi_model->Primitive()
CSLBaseShape * shape = xsi_mesh->Shape(); // shape == NULL PTR
i tested using Wessam's dotxsi file from his 3rd tutorial on In|frames
and any of my friends or my own dotxsi files all with the same result.
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe 3dgames