Holance
Holance
Could you provide your tree model?
For now, I think you can just convert your line strip to line list.
https://github.com/serilog/serilog-extensions-logging I think you can switch to this easily without too many changes?
Cool, thanks 👍
You need to generate your own custom box mesh and add vertices on box face.
If your model is fixed, you can manually generate the mesh yourself or use some modelling tool to create a mesh, then import into helixtoolkit.
Yes, vertex color needs to be same order as vertex value in collection. PositionColorMaterial is only used for debugging purpose. I don't think it is what you need.
The only way is using texture sampling instead of using vertex color. Vertex color is not going to be accurate, since its interpolation is just simple linear.
You need to do texture sampling.
Assign texture coordinates for each vertices and assign a gradient texture map as diffuse map in material.