Re: Shape()

Date : Sat, 02 Sep 2006 22:45:59 -0500
To : 3DGames(at)Softimage.COM
From : "Andi \"Debug\" Ireland" <debug(at)neverborn.net>
Subject : Re: Shape()
When we discover the cause we hate ourselves

i did a classic mistake i started using the FTK from XSI 5.11 rather than the 3.6.3 release
the DLL's however where still from the FTL 3.x release and therfore weird stuff was happening
removing the older FTK fixed all problems


Wessam Bahnassi wrote:
Probably you're overwriting your memory at some place during loading... Any
chance you might be stomping on some of SL's pointers?

Wessam Bahnassi
Microsoft DirectX MVP,
Programmer
Electronic Arts
--
In|Structurez Arabic Gamedev Community
www.instructurez.com


-----Original Message-----
From: owner-3dgames(at)Softimage.COM [mailto:owner-3dgames(at)Softimage.COM] On
Behalf Of Andi "Debug" Ireland
Sent: Thursday, August 31, 2006 8:52 AM
To: 3dgames(at)Softimage.COM
Subject: Shape()

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

--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe 3dgames



--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe 3dgames

  • Follow-Ups:
    • RE: Shape()
      • From: "Alexandre Jean-Claude" <ajclaude(at)Softimage.COM>

Search the 3D Games List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.