Re: Trouble reading dotXSI 5.0 files with the FTK/SDK

Date : Fri, 30 Sep 2005 21:37:27 +0200
To : XSI(at)Softimage.COM
From : Daniel Collin <emoon(at)home.se>
Subject : Re: Trouble reading dotXSI 5.0 files with the FTK/SDK
Hi.

Yeah it works just fine to import it again. So I guess I screwed something up in my code as I cant import it. Kinda odd that 3.6 files
works just as it should... but well.. time to do some bug hunting. Thanks for the help.


Daniel

Hi.

Since nobody else has answered yet...

Yes, the FTK included with XSI 5.0 is supposed to support dotXSI 5.0.

The warning you are getting indicates that the parser thinks the file header does not contain "0500".

You're not supposed to have to do anything to "enable" support for 5.0. That's supposed to happen automatically when the parser finds 0500 in the file header.

Can you import test.xsi with File > Import > dotXSI 5? This command uses the dotXSIConverter, which uses FTK 5.0.


-Steve




-----Original Message----- From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf Of Daniel Collin Sent: Fri 30 September 2005 1:23 PM To: XSI(at)Softimage.COM Subject: Trouble reading dotXSI 5.0 files with the FTK/SDK


Hi,

My code looks something like this:

static void callBack(SI_Char* string, int)
{
  ...
}

...

m_scene = new CSLScene;
m_scene->SetWarningCallback(callBack);
m_scene->Open("c:\\temp\\test.xsi");

In my CallBack I will get the text:
"Unrecognized file version in header (5.0): c:\temp\test.xsi"

Testing the same code with 3.6 files works just fine.
So my question is is the FTK included in the sdk supposed to support version 5.0?
When I looked in XSISDK\include\FTK i noticed dotXSITemplates5_0.h in there so I figured it should support 5.0
or do I have to "enable" 5.0 support somehow?


Thanks

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






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


Search the XSI 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.