Possible Bug - note to exporter writers
by David Mathews · in Artist Corner · 08/20/2005 (2:05 pm) · 1 replies
I've been working on a dts exporter, plus adding morphs to the dts format.
I was able to get the Show mod to load my files, but never ShowToolPro if the file contained sequences.
There are two fields in the dtsSDK that are written out but never initailized in the SDK or some of the standard exporters
-firstTrigger
-numTriggers
So in some files these are garbage.
TGE load appears to ignore them, but ShowTool Pro crashes.
Using my binary file viewer I was finally able to determine the problem and zero these out in my exporter and now they work fine with ShowTool Pro (very handy tool, by the way).
But it is confusing that it would crash on files the TGE can read with no problem.
I was able to get the Show mod to load my files, but never ShowToolPro if the file contained sequences.
There are two fields in the dtsSDK that are written out but never initailized in the SDK or some of the standard exporters
-firstTrigger
-numTriggers
So in some files these are garbage.
TGE load appears to ignore them, but ShowTool Pro crashes.
Using my binary file viewer I was finally able to determine the problem and zero these out in my exporter and now they work fine with ShowTool Pro (very handy tool, by the way).
But it is confusing that it would crash on files the TGE can read with no problem.
Associate David Wyand
Gnometech Inc.
Thanks for the heads-up. I'll take a look at what I'm doing differently than in TGE. I suspect it is within my code to display the triggers on the timeline and I'm not making sure that the trigger pointer is valid.
- LightWave Dave