Menu

Apply Rotation in Mesh vertices

Help
Mostafa
2020-04-07
2020-04-08
  • Mostafa

    Mostafa - 2020-04-07

    Hi,
    I need to apply Freeform rotation in coordinates of vertices instead of roll,pitch,properties.
    In other words I want to rotate a freeform or meshobject by vertices changing , I know I should create the rotation matrix and apply to all vertices and normal vectors. But I want to know has GLScene solution for this problem?
    thank you.

     
  • Jerome.D (BeanzMaster)

    Hi, you can simply use the methods in GLVectorGeometry unit ;) or the best in GLVectorList you have TAffineVectorList and the TransformAsVectors and TransformAsVector for working with matrix or affine matrix TAffineVectorList is the type of Vertices and Normals properties in TMeshObject wich is in TGLFreeForm ;)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.