RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
 
Post new topic Reply to topic  
View previous topic - View next topic  
Author Message
Gardon
Scholar


Joined: 05 Feb 2006
Posts: 157

PostPosted: Wed Sep 12, 2007 11:42 pm    Post subject: Isometric view using 3 Dimensions [quote]

I've been looking into making an isometric type game, but I want to use 3D models to make it look better than just 2D sprites.

I've been reading up on isometric games, and from what I can tell, all the artwork will look the same no matter where it is on screen. Example: Your character can be at the bottom left, or top right, and he will be the same size. An item on the ground, for example, could be right in front of your character in the middle of the screen, or off on the top right of the screen, and also look the same size.

So if I were to take a 3D approach (using matrices and directX), could this be done? I am trying to think of a way to do this, while using viewports/cameras and worldpositions for items, but I'm going in circles.

Any ideas?




P.S. I think I could have 3D models drawn on screen to look 3D, but use 2D coordinates to map them. This would almost take the purpose out of a 3D world though. I still want that slanted top-down like view (like a diablo)
Back to top  
Ninkazu
Demon Hunter


Joined: 08 Aug 2002
Posts: 945
Location: Location:

PostPosted: Thu Sep 13, 2007 12:01 am    Post subject: [quote]

I think that a simple rotate into the camera orientation you want pre-multiplied with
M = (
1 0 0 0
0 1 0 0
0 0 0 0
0 0 0 1
)
would work. Try it out. I don't know the DirectX calls, but in OpenGL it would be glOrtho to set the perspective then gluLookAt to orient the camera.
Back to top  
Gardon
Scholar


Joined: 05 Feb 2006
Posts: 157

PostPosted: Thu Sep 13, 2007 1:56 am    Post subject: [quote]

Ah of course! I'll try this out later tonight. I'm thinking I have to use all dimensions... duh, moron. :)
Back to top  
Post new topic Reply to topic Page 1 of 1 All times are GMT
 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum