Jump to content
Developer Wiki and Function Reference Links ×

Exporter questions


Andrey_E

Recommended Posts

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?

 

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...