Announcement

Collapse
No announcement yet.

writing a vrmesh converter

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

  • writing a vrmesh converter

    I'd like to write a converter to .vrmesh format in order to store data that can't be done through the poly2vrmesh application. Looks like its a matter of creating a single MeshVoxel and letting subdivideMeshToFile do its magic. Two questions:

    How do we create an instance of MeshInterface which already holds the single MeshVoxel?

    And how do we populate the channels of the MeshVoxel?

    Thanks

  • #2
    Originally posted by rodeo-ny View Post
    How do we create an instance of MeshInterface which already holds the single MeshVoxel?
    You need to derive a class from MeshInterface, and implement its methods.

    And how do we populate the channels of the MeshVoxel?
    In the V-Ray SDK, there is an example for this, in the directory "vraysdk\samples\vray_plugins\geometry\vray_geomme shtest"

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Originally posted by vlado View Post
      In the V-Ray SDK, there is an example for this, in the directory "vraysdk\samples\vray_plugins\geometry\vray_geomme shtest"
      Vlado


      Yep, looks like everything is in that example, thanks!

      Comment

      Working...
      X