Page 1 of 1

Saving textures with the model

Posted: Wed Aug 07, 2013 10:41 am
by GradyB
Hi
Returning to http://www.dynoinsight.com/phpBB3/viewtopic.php?f=2&t=8
Is there a way to store the vrml textures in binary format inside the glm file?

Thank You
Grady

Re: Saving textures with the model

Posted: Wed Aug 07, 2013 7:16 pm
by nickz
Hi Grady
Yes. To do it you need to convert vrml to glm. The textures will be embedded into the model file. The quickest way is to open the wrl file in Modeling Studio: File > Open > Select wrl in the filter. After that you save it as .glm and that is it.

You can do it in the program too:
Load the .wrl by either setting ModelPath to .wrl file or using IModelEx and save it as glm using IModelEx again

You can also do it in background without showing the model on the screen or even from a command line application. There is also convert functionality for that. The DataFlow sample has a dialog for that. (Start>KernelCAD>Sample Exlorer>DataFlow>File>Convert). There is code for it in all supported languages in the ConvertDialog form. The Convert functionality can convert all files in a folder in one call.

Regards
Nick