Announcement

Collapse
No announcement yet.

Voxel creation currently only by the external tool?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Voxel creation currently only by the external tool?

    Hey there.
    Just to be sure. Right now with 3.5.1 the "in runtime" voxel creation from a mesh is not exposed right? It would come in handy for a better selection of in runtime created tubes and toroids.

    Hope you are doing fine.
    Best wishes, Ben.


  • #2
    Yes, you can create voxel representation at runtime as well. In TMeshBuffer there is a function "Voxelize", which returns you "TMeshVoxel". You can then assign this to an existing TSceneMesh by calling "LSceneMesh.Voxel.TakeAway(LVoxel)" (transferring ownership of the voxel to TSceneMesh). In WarehouseObjects example this is used to create voxel representation of 3D text, search for "CreateMeshText3D" function.

    Comment


    • #3
      Ahhh, I see. It's under TMeshbufferHelper in the help file thats why I didnt see it. Thank you.

      Comment

      Working...
      X