Displaying items in 3D
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.
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^_^)
-Deku-chan
DK Art (my site, which has little programming-related stuff on it, but you should go anyway^_^)
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...
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...
RIP GameDev.net: launched 2 unusably-broken forum engines in as many years, and now has ceased operating as a forum at all, happy to remain naught but an advertising platform with an attached social media presense, headed by a staff who by their own admission have no idea what their userbase wants or expects.Here's to the good times; shame they exist in the past.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement