|
From: Roger H. <rog...@mi...> - 2005-06-23 16:24:23
|
I have modified my version of Quesa as Stephan requested but it seems
no better.
If you would like to try it, in E3FFW_3DMFBin_Writer.c, line 542 reads:
qd3dStatus =
Q3Uns32_Write(instanceData->stack[i].objectType,theFile);
If you change this (yes I know its a horrible way to do it) to:
{
if ( instanceData->stack[i].objectType == kQ3LightData )
qd3dStatus = Q3Uns32_Write ( kQ3ShapeTypeLight, theFile ) ; // To
allow light data objects to be read by QD3D
else
qd3dStatus =
Q3Uns32_Write(instanceData->stack[i].objectType,theFile);
}
Then this produces the requested data in the output file.
I think the other problem may be that the light is in a 'container'
which QD3D does
not expect, but I have no idea how to get rid of the container, it
seems everything
in Quesa has to be in a container whether you want it or not.
Roger.
On 22 Jun, 2005, at 00:12, Stefan Huber wrote:
> I've found another compability problem: QD3D writes kQ3LightData as
> 'lhgt' (it's ugly because kQ3ShapeTypeLight has the same value). Quesa
> uses 'lida' internally to fix the QD3D issue. But then Quesa writes
> 'lida' instead of 'lhgt'. So QD3D cannot read lights.
>
> Stefan
>
>> Thanks for the fault report and diagnosis.
>>
>> I have changed the writing code to write the lights rather than
>> have them in a light group. I have changed the reading code
>> so it can accept either format.
>>
>> I can now read old QD3D files which 1.28 could not read.
>>
>> Maybe we are not finished yet, but a step in the right direction.
>>
>> Roger.
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Quesa-develop mailing list
> Que...@li...
> https://lists.sourceforge.net/lists/listinfo/quesa-develop
>
|