Thread: isometric view

  1. #1
    muttski
    Guest

    isometric view

    How is this done in games. Cant be that hard and it looks so much better than top down view. Links to tutorials or a good explanation would be usefull.

  2. #2
    muttski
    Guest
    I mean 2d isometric view.

  3. #3
    muttski
    Guest
    tile based

  4. #4
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    All the tiles are rotated left 45 degrees?

  5. #5
    muttski
    Guest
    thats it? Then how would I draw a building on a tile and have it look correct, or a tree. I mean, its obvious that you rotate 45.

  6. #6
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    Buildings, the edges of the building tiles would go straight up, and the top and bottom would go 45 degrees in a certain direction. it's hard to explain

  7. #7
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065

    ISO book

    Check out "Isometric Game Programming with DirectX 7". I'm half way through it right now and it's great. Written in an easy-to-learn style and it's thick too, comes with a CD with full source code and some extra demos and stuff.

  8. #8
    Are you serious about making a tile based isometric game? That is what I am working on right now. Do you have anything planned out yet?

  9. #9
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    There's an article at gamedev.net about isometric game engines.

  10. #10
    muttski
    Guest
    You ever played syndicate for 3do, thats the best game ever. I wanna make somethin kinda like that.

  11. #11
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065

    Gamedev.net

    Definitely check out gamedev.net. There's a ton of stuff on iso programming. TANSTAAFL is one of the founder's of gamedev and he's the author of the Iso DX7 book.

  12. #12
    Registered User Coder's Avatar
    Join Date
    Aug 2001
    Location
    Cairo, Egypt
    Posts
    128

    The 3D way

    What I say here represents my point of view, and is not necessarily correct

    Learn 3D graphics programming, either using OpenGL or DirectX Graphics. You'll only need the basics. Then adjust your camera's orientation ( rotate it 45 degrees around the y axis, 45 degrees around the x axis ) and you get your isometric view with no pain at all.

    You'll define every tile as a square, and treat it as a square ( since it IS a square ) and yet, it'll be isometric ( Diablo/Fallout/Syndicate views can be very easily immitated in 3D )

    I've tried to learn Iso game programming a couple of years ago, and in the middle of the fray a programming guru that used to check in this board ( called Sunlight ) totally changed my mind ( and I do 3D graphics now )
    Last edited by Coder; 03-14-2002 at 01:52 PM.
    Muhammad Haggag

  13. #13
    muttski
    Guest
    That sounds like a good idea but wouldnt it waste a lot of processing power? I remember sunlight, anyone know why he left?

  14. #14
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    The quality of your sprites and characters is of the most importance for an isometric game. Best to render them with a 3D animation studio (use to be Blender *sigh*), maybe touch up with something like Gimp or Photoshop if you have it. Render at a slight angle and everything with that characteristic 45% angle. Not too much of a drop in elevation, as you don't want to have to change the size of a character depending upon where it is in the viewable screen. Usually the ground fills the screen, but I've seen some isometric engines get away with having such an extreme angle that the sky appears. Usually there is some sort of "fog of war" or such that keeps the perspectives from looking bizarre.

    A good mix of iso and 3D can be ideal in some cases and look a lot better. Prerendered background tiles with 3D characters, for instance, will allow you to put a lot more detail into the backdrop and save the rendering power for really classy 3D models.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  15. #15
    Registered User Coder's Avatar
    Join Date
    Aug 2001
    Location
    Cairo, Egypt
    Posts
    128
    That sounds like a good idea but wouldnt it waste a lot of processing power?
    This is what I THINK. Don't take it for granted

    If you do it in 2D ( iso ), you'll need to render your tiles too. So the only difference is in the 3D transformations done to convert from 3D coordinates to screen coordinates. These are the object-world-view-projection transforms.
    Each is a 4x4 matrix, and the transformations are basically multiplications. Any Pentium compatible processor can handle multiplication effectively, even a P90.
    I believe there's no waste of processing power. I'd say there's more processor power demanded & used, but it's not wasted.

    3D ISO looks better than ordinary ISO, Plus being able to rotate the camera as you like (with some minimal work).

    Additionally, collision detection becomes absolutely easy ( straight sphere-plane , sphere-sphere , sphere-box, box-box, box-plane collisions)

    I really prefer doing straight, clear checks for collision ( like the sphere - plane check for walls, for example ) instead of doing some checks in some tile map and see where the player is.
    3D algorithms tend to be real, which makes me comfortable

    Additionally, lighting becomes very simple. Using lamber/gouraud shading, even adding specular highlights is very easy. Reflectance becomes simple,...etc
    Doing these in 2D iso requires writing ... strange algorithms. Because you're not following the original physical law (or one of its simplifications), you're just immitating ( simulating ) the results.

    About the "where's sunlight? why'd he leave?" thingy
    I don't know, he left and then came back, and then left, and then came back under the name of Esss, and then he left.
    I'd say it's a combination of one or more of the following :
    - Not enough time
    - Bored
    - No advanced questions
    - Being flamed (happened a couple of times, at least)

    The best thing to do is to ask him!
    Last edited by Coder; 03-19-2002 at 01:17 AM.
    Muhammad Haggag

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Battlestone (Isometric RPG)
    By Bedlam in forum Projects and Job Recruitment
    Replies: 5
    Last Post: 02-14-2008, 03:15 AM
  2. Having the view know it is in focus
    By axr0284 in forum Windows Programming
    Replies: 4
    Last Post: 03-07-2005, 02:06 PM
  3. Tree View control not appearing
    By Garfield in forum Windows Programming
    Replies: 1
    Last Post: 03-07-2004, 01:47 PM
  4. Set View Position in CEditView :: MFC
    By kuphryn in forum Windows Programming
    Replies: 1
    Last Post: 05-21-2002, 09:27 PM
  5. Determining Active View :: MFC
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 04-25-2002, 07:34 PM