[x3d-public] SAI > X3DMatrix3 > setTransform > rotation > SFVec3f?

GPU Group gpugroup at gmail.com
Fri Aug 4 06:58:37 PDT 2023


Thanks Holger. I'll try your way.
-Doug

On Fri, Aug 4, 2023 at 7:21 AM Holger Seelig <holger.seelig at yahoo.de> wrote:

> I do it this way:
>
> https://create3000.github.io/x_ite/reference/field-services-and-objects#sfmatrix3dsfmatrix3f-object
>
> With setTransform the rotation parameter is a number value, describing the
> rotation angle in radians.
> With getTransform the rotation is a SFVec3f object, where x, and y are the
> complex value of the rotation, and the z component is the rotation angle in
> radians.
>
> Best regards,
> Holger
>
> --
> Holger Seelig
> Leipzig, Germany
>
> holger.seelig at yahoo.de
> https://create3000.github.io/x_ite/
>
> Am 02.08.2023 um 23:48 schrieb John Carlson <yottzumm at gmail.com>:
>
> Chop up or extend the vector as needed, or use a different field type.
>
> John
>
> On Wed, Aug 2, 2023 at 4:25 PM GPU Group <gpugroup at gmail.com> wrote:
>
>>
>> https://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#Matrix3
>>
>> https://www.web3d.org/documents/specifications/19775-2/V3.3/index.html
>> https://en.wikipedia.org/wiki/Transformation_matrix#Affine_transformations
>> Am I right to assume we want to use Matrix3 for Affine 2D transforms?
>> if so how should I use an SFVec3f for a 2D rotation?
>> If not how should I use an SFVec3f for a 3D rotation?
>> Thanks,
>> -Doug
>> _______________________________________________
>> x3d-public mailing list
>> x3d-public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230804/879a652b/attachment.html>


More information about the x3d-public mailing list