Archived

This topic is now archived and is closed to further replies.

Displaying items in 3D

This topic is 6080 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Have any of you played Star Ocean 2? If so, you probably know what I aqm talking about. It displays every item in 3D, rotating in the item description slot. I wonder how this is possible. Is it something like a QuickTime movie exported by some 3D application? Or is it actually a 3D item? In the latter case, how should I save the 3D items as? (i.e. In what format should I save the 3D item created in LigtWave or AnimationMaster, so that it is directly usable in the game?) Thanks in advance for your help.

Share this post


Link to post
Share on other sites
If you''re using DirectX, use .x, else use some other common 3D format like .3ds. I have no idea how to load 3D files myself, so you''ll have to ask somebody else on how to actually load it, but those seem to be the most widely used.



-Deku-chan

DK Art (my site, which has little programming-related stuff on it, but you should go anyway^_^)

Share this post


Link to post
Share on other sites
This one is thankfully easy.

Yes, it''s an actual 3D object. Yes, you can use .X or .3DS, although you might want your own little format. And yes, this is how they might have done it...

I will assume you know the basics of Direct3D.
Normally, for a 3D scene, you set up a viewport matrix, yes? Well, re-set the viewport matrix for each object rendered... do any rotations or animations first. Then, scale the object to take up 10% or so of the screen, then translate it to put it where you want it. You probably want to render these 3D items last, so that you don''t render the interface on top of them.

I hope this helps...

Share this post


Link to post
Share on other sites