Re: Shape()

Date : Thu, 31 Aug 2006 22:44:35 -0500
To : 3DGames(at)Softimage.COM
From : "Andi \"Debug\" Ireland" <debug(at)neverborn.net>
Subject : Re: Shape()
i am doing it almost exactly the same as your dotxsi3 tutorial mate

only difference is i store things in a different set of classes as i already have a scene graph in the engine.
no writing occurs on any of the CSL pointers





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

  • References:
    • RE: Shape()
      • From: "Wessam Bahnassi" <wbahnassi(at)inframez.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.