RE: Shape()
| Date : Mon, 4 Sep 2006 15:14:27 -0400 |
| To : <3DGames(at)Softimage.COM> |
| From : "Alexandre Jean-Claude" <ajclaude(at)Softimage.COM> |
| Subject : RE: Shape() |
From: owner-3dgames(at)Softimage.COM on behalf of Andi "Debug" Ireland
Sent: Sat 02/09/2006 11:45 PM
To: 3DGames(at)Softimage.COM
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: "Wessam Bahnassi" <wbahnassi(at)inframez.com>
- RE: Shape()
- References:
- Re: Shape()
- From: "Andi \"Debug\" Ireland" <debug(at)neverborn.net>
- Re: Shape()
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: RE: Shape()
- Next by Date: RE: Shape()
- Previous by Thread: RE: Shape()
- Next by Thread: RE: Shape()
- Index(es):
| Search the 3D Games List archives here or use the advanced search form to search across mailing lists. Searching help is available. |