Andrey_E Posted December 7, 2018 Share Posted December 7, 2018 I am writing an exporter to a custom format. This format is a list of triangle meshes. So I need to represent all scene 3D objects as meshes. What is the way to convert an object to a mesh? I look in file ISDK.h but cannot find such a function. But actually, such functionality is present: there is a menu command that converts objects to meshes: "Convert to Mesh". How to call functions on which it is based? Or maybe it is possible to call this command from C++? How to call a command if I know its name? Or maybe there is sample code of an exporter to any other thimesh format? For example STL or 3DS? Or maybe I am doing this all wrong and there is a totally different way to create exporter? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.