We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Color missing in RVM output

I’m using Aspose.3D V21.9.0
After set LambertMaterial on node,I can output obj file with color,but when output RVM file,the colors are missing.


Can you please share your sample files along with complete sample code snippet so that we can test the scenario in our environment and address it accordingly?

Scene scene = new Scene();
var mat = new LambertMaterial(“test”);
mat.DiffuseColor = new Vector3(Color.Red);
scene.RootNode.CreateChildNode(new Torus()).Material = mat;
scene.Save(RunExamples.GetOutputFilePath(@“test.rvm”), FileFormat.RvmBinary);
scene.Save(RunExamples.GetOutputFilePath(@“test.obj”), FileFormat.WavefrontOBJ);


We are checking it and will get back to you shortly.


A feature request as THREEDNET-1057 has been logged in our issue tracking system to export colors as well while saving to RVM Binary. The ticket has been linked with this forum thread so that you will receive a notification as soon as it is resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.