Sign in to follow this  
lookkool3

questions about programs and programing compatability

Recommended Posts

Quote:
Original post by lookkool3
does anybody know what format autodesk programs save your files as

Depends on which program, Autodesk has lots of different products, most of them can work with different file formats.

Quote:
and does any body know if c++ is compatable with those formats

Autodesk provides extensive SDKs, most of which are in C++ as well.

Quote:
or maybe panda 3d?

What is it that you really want to know? How to use 3DSMax models in Panda3D?

Share this post


Link to post
Share on other sites
what i'm asking is when i use an auto desk program like maya or 3d to make something. what would be the best program out there to actually use what i made for example if i were to use it in an animation or a game? whats a common program most people use?

Share this post


Link to post
Share on other sites
Quote:
Original post by lookkool3
what i'm asking is when i use an auto desk program like maya or 3d to make something. what would be the best program out there to actually use what i made for example if i were to use it in an animation or a game? whats a common program most people use?


Given your very vague requirements, I would wager that XNA is the best answer to your question. XNA can handle importing FBX files, which Maya can export with the proper (free) exporter. Obviously Maya isn't free, but there are other 3D modellers which also support FBX which *are* free (XSI Mod Tool for example).

Of course, XNA isn't magic that you can plug your model into and have a game. You'll have to know how to program something that uses the model, first.

Share this post


Link to post
Share on other sites
ok your right maybe i wasn't clear i'll try and narrow it down a bit more...

lets say im making an mmorpg on the computer with maya,3ds or some other programs that would make the game look good but still compatablie with programing programs or at least possible to make everything work together easily.
let me know if this still isn't clear

Share this post


Link to post
Share on other sites
That's not how it works.

3D data is basically a list of points (vectors/vertices) and their associated data. You save them out to a file from the modeling program, and then create code to read the file and send the data to the proper in-memory structures you've specified to hold your 3D data. Then you send those points to the GPU to be drawn as a series of triangles.

The formats Autodesk's programs save in are proprietary, and are only useful to store data that the program itself needs to let you edit your work. You will have to export to other formats. Either open ones like FBX, or formats you invent yourself to hold your program specific data.

Share this post


Link to post
Share on other sites
ok and what programs would you use for something like this?
actually you know what is there any books out there on this kind of stuff like something for beginners or would i have to take some classes to learn this stuff?

[Edited by - lookkool3 on February 7, 2010 11:24:06 PM]

Share this post


Link to post
Share on other sites
Maya has a few export plugins that you get for it. You could export everything to COLLADA and then parse that into your game.
The other option that many places take is making a custom exporter dll for Maya using Visual Studio and the Maya API.
That way you can add your own custom items to the Maya files as well (like in-game objects, markers for placing effects or spawned models, etc.).

A good place you could start is either exporting as a COLLADA, or obj format. Both are text and mostly simple to parse into a game.
Or, get a .X file exporter. DirectX has functions to load those directly (xna only?).
IIRC Ogre has some model loaders as well if you want to use that API to simplify your life.

After you have something like that working, it is nice to setup a converter that packs out a custom file format that you can just load in place with no text parsing needed.

Share this post


Link to post
Share on other sites
Quote:
Original post by lookkool3
ok and what programs would you use for something like this?
To export your own models from autodesk programs?

You can make custom dlls as the poster below mentioned. You can also use the in-program scripting languages (MaxScript, MEL, Python) just to write out your own files from there.

That stuff is beyond a beginner's level though.

You should try something like unity, which will grab the data for you, and let you script how you want it to interact.

Share this post


Link to post
Share on other sites
i was just about to mention that i came across unity today and was trying to figure out how to use it. do you think its possible to make something in google sketch up and import it to unity? or to make some custom models to use in unity where would i go?

Share this post


Link to post
Share on other sites
I'm not sure what the export options in SketchUp are. I know Blender is very useful for Unity Models. You export to FBX and import with Unity, then you can do what you want with it once in Unity.

Look at the documentation on Unity's site to see how it's done.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this