C++ link to 3dstudio

  • Thread starter Roberto Hawkowski
  • Start date
R

Roberto Hawkowski

Say we have defined a paper airplane in 3dstudio as a 3d object over a 3d
terrain. What I want to do is to fly this paper airplane via a C++ code ie.
an external program will generate the 3d position and orientation of the
airplane in the 3dstudio.

How to interface 3dstudio with an external application to control the 3d
object in 3dstudio?

If I generate the airplane position as a function of time and save this data
set into a ASCII file, how can I use this file to move the 3d object in the
3dstudio?

Any example , tutorial etc. on the subject?

Roberto Hawkowski
(e-mail address removed)
 
L

Le Géant Vert

How to interface 3dstudio with an external application to control the 3d
object in 3dstudio?

hmmm... I ain't a 3Dstudio plugin expert at all, but to me, maybe it would
be easier to make a small programm that :
- read your 3DS scene
- generate information for keyframes or paths
- save those data modifying the original file

then, just reopen the scene under 3DS...

sounds a bit complicated for what it does :-/

this would require a good description of the 3DS file format (to read/add
motion data), and you won't have any interactivity with 3DStudio...

I can't help at all, but maybe you should investigate to find a way to
import your saved data describing the airplane's position,as you're
explaining ; if it can be done, this should be much more easier.
 
F

flekso

Roberto Hawkowski said:
Say we have defined a paper airplane in 3dstudio as a 3d object over a 3d
terrain. What I want to do is to fly this paper airplane via a C++ code ie.
an external program will generate the 3d position and orientation of the
airplane in the 3dstudio.

How to interface 3dstudio with an external application to control the 3d
object in 3dstudio?

If I generate the airplane position as a function of time and save this data
set into a ASCII file, how can I use this file to move the 3d object in the
3dstudio?

Any example , tutorial etc. on the subject?

Roberto Hawkowski
(e-mail address removed)

using maxscript would be the way for this task
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,151
Messages
2,570,854
Members
47,394
Latest member
Olekdev

Latest Threads

Top