Page 1 of 1

Maxwell SDK 3.2.0 triangle UVW question

Posted: Tue Mar 15, 2016 3:00 pm
by ArmanZak
When converting large objects(with triangle count up to 10M+) from 3rd party application to maxwell
I use setVerticesBuffer, setNormalsBuffer, setTrianglesBuffer and setTrianglesNormalsBuffer funcitons,
But how to pass triangles UVW.
I think it must be set in setTriangleBuffer with void *triangles parameter and incresing stride.
Can anyone help me?

Re: Maxwell SDK 3.2.0 triangle UVW question

Posted: Tue Mar 15, 2016 4:39 pm
by Brany
Sorry, there is no method for that, you have to set the UVs one by oye using Cmaxwell::Cobject::setTriangleUVW(...). setTrianglesUVWsBuffer/setTrianglesUVsBuffer methods are planned for the next version of Maxwell Render.

Re: Maxwell SDK 3.2.0 triangle UVW question

Posted: Tue Mar 15, 2016 4:48 pm
by ArmanZak
Thanks for reply.
With one by one is very slow for very big objects.
And, if it's not secret, in what version will be added this function(in minor or major release,maybe in 3.3.0 or 4.0),
because my plugin still under development, and it will be great to work with setTrianglesUVWsBuffer/setTrianglesUVsBuffer functions.