Jump to content

[SOLVED] SmoothNormal on ObjectMesh inside script


photo

Recommended Posts

Hi,

I am generating 3D Models automatically from pictures, and one of the function I like use it's the smoothNormal with angle inside the ResourceEditor.

The first version of my 3D Generator was using piece of Unigine directly like an other tools. Now I am working using Unigine with doing Image treatment inside a plugin and some stuff inside the script.

I add on the ObjectMesh script the smooth function for can call something like :

ObjectMesh test = new ObjectMesh("test.mesh");
test.smooth(45);
test.save("test.smooth.mesh");

That could be a nice feature to have the possibility to have this function inside Unigine by default ;)

Tony

Link to comment
×
×
  • Create New...