Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Calculating Isometry

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
XaosII Posted - Jul 15 2004 : 8:59:34 PM
This isn't really directly related to VB so much as it is a math question.

I was wondering how would you go about calculating isometry? typically, this isn't a problem for "traditional" isometric games. You just kinda rotate the square tile to the angle of your desire to achieve that effect, and it is typically in the 30 - 35 degree range.

However, i would like to find a way to be able to to truly calculate it, so that'll even work for non squared tiles!

Its been bugging me a bit and i havent found too many answers since every topic of isometry deals with squares and doesnt usually contain much math and I've been wanting to do a hex-based isometric game.

Anyone got any pointers?

EDIT> this is for a 2d game, i'd imagine in 3D camera perspective would handle the illusion of it for you
1   L A T E S T    R E P L I E S    (Newest First)
Eric Coleman Posted - Jul 15 2004 : 9:00:33 PM
does this help? http://www.vbgamer.com/article6.asp

If you want arbitrary angles you can either use a 3D video card to perform the transformations in real time, or you can precalculate the tiles for a 2D game. For the first method, you simply use square or rectangular tiles and use an orthoganal projection matrix. The second option is more difficult because you'll have to know a bit about 3D matrix transformations, http://www.gamedev.net/reference/articles/article1279.asp and also texture mapping http://www.gamedev.net/reference/articles/article366.asp . The idea is map your tile onto a quad, and then using a rotation matrix you can position the quad however you wish, and then simply render the quad.

VBGamer © Go To Top Of Page
This page was generated in 0.07 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.