[Papervision3D] rotationX is affecting the SIZE of a model

tmyers tmyers at vodafone.ie
Sat Aug 2 16:39:32 PDT 2008



Tip:

In Blender always apply scale and rotations to your models before
exporting...[CTRL + A] 

...otherwise expect the unexpected ;-)




Tim Knip-2 wrote:
> 
> Hi all,
> 
> I'll check out this issue.
> 
> Tim
> 
> 2008/8/1 dsdsdsdsd <shannonhburnett at hotmail.com>:
>>
>> Tim, interesting; thanks;
>>
>> when I bake matrices, all of the scale info is NOT INCLUDED in the dae;
>>
>> without baking matrices, there IS scale info included in the dae;
>>
>> thanks
>> Shannon
>>
>>
>>
>> Tim Knip-2 wrote:
>>>
>>> See your own file: http://www.nabble.com/file/p18738998/_monday.dae
>>>
>>> Its got this bit:
>>>
>>> <node layer="L1" id="monday_A_OB" name="monday_A_OB">
>>> <translate sid="translate">-5.98787 0.00000 0.00000</translate>
>>> <rotate sid="rotateY">0 1 0 0.00000</rotate>
>>> <rotate sid="rotateX">1 0 0 0.00000</rotate>
>>> <scale sid="scale">3.74586 4.12858 4.23856</scale>
>>>
>>> Please use 'bake matrices' ! :-)
>>>
>>> Tim
>>>
>>> 2008/7/30 dsdsdsdsd <shannonhburnett at hotmail.com>:
>>>>
>>>> Tim, I appreciate your time;
>>>>
>>>> I will look into each of these points;
>>>>
>>>>
>>>> however,
>>>> Question: why did you say object is scaled other then 1 (cube 'A'); I
>>>> believe that my objects are scaled to 1 ( specifically, when using
>>>> my_DAE.scaleX/Y/Z ==> 100, when using my_Collada.scaleX/Y/Z ==> 1 );
>>>> and
>>>> I
>>>> do not find the word 'scale' in my .dae;
>>>>
>>>>
>>>> Shannon
>>>>
>>>>
>>>>
>>>>
>>>> Tim Knip-2 wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Could you try exporting from Blender with option 'bake matrices' on?
>>>>>
>>>>> It appears that when matrices are not baked (as in _monday.dae) AND an
>>>>> object is scaled other then 1 (cube 'A') things go sour on
>>>>> rotationXYZ. Difficult to solve, so I strongly advise to use 'baked
>>>>> matrices'.
>>>>>
>>>>> You *can* rotate *without* problems if you use pitch(), yaw() or
>>>>> roll() instead of rotationX/Y/Z
>>>>>
>>>>> Thanks,
>>>>> Tim
>>>>>
>>>>> 2008/7/30 dsdsdsdsd <shannonhburnett at hotmail.com>:
>>>>>>
>>>>>> hello;
>>>>>> http://www.nabble.com/file/p18737661/screenshot%2Bof%2Bmodel%2Bsizes.jpg
>>>>>>
>>>>>> in left-image     : Blender screenshot           ; three cubes, A, B,
>>>>>> and
>>>>>> C
>>>>>> - their sizes are very different;
>>>>>>
>>>>>> in middle-image : Flash authoring screenshot ; three cubes, A, B, and
>>>>>> C
>>>>>> -
>>>>>> their sizes are very different - correct ( other than material issue
>>>>>> );
>>>>>>
>>>>>> in right-image   : Flash authoring screenshot ; only one change has
>>>>>> been
>>>>>> made: cube A has rotationX applied to it and consequently it's size
>>>>>> has
>>>>>> changed;
>>>>>>
>>>>>>
>>>>>> likewise, if I apply rotationX to B and C, their size's change as
>>>>>> well,
>>>>>> and
>>>>>> they end up all being the same size;
>>>>>>
>>>>>> this happens whether  I use DAE class or Collada class;
>>>>>>
>>>>>> any thoughts as to why rotation is affecting size?
>>>>>>
>>>>>>
>>>>>> thanks
>>>>>> Shannon Burnett
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/rotationX-is-affecting-the-SIZE-of-a-model-tp18737661p18737661.html
>>>>>> Sent from the Papervision3D mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Papervision3D mailing list
>>>>>> Papervision3D at osflash.org
>>>>>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Papervision3D mailing list
>>>>> Papervision3D at osflash.org
>>>>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/rotationX-is-affecting-the-SIZE-of-a-model-tp18737661p18740851.html
>>>> Sent from the Papervision3D mailing list archive at Nabble.com.
>>>>
>>>>
>>>> _______________________________________________
>>>> Papervision3D mailing list
>>>> Papervision3D at osflash.org
>>>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>>>
>>>
>>> _______________________________________________
>>> Papervision3D mailing list
>>> Papervision3D at osflash.org
>>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/rotationX-is-affecting-the-SIZE-of-a-model-tp18737661p18782777.html
>> Sent from the Papervision3D mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
> 
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> 
> 

-- 
View this message in context: http://www.nabble.com/rotationX-is-affecting-the-SIZE-of-a-model-tp18737661p18794522.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list