Last visit was: It is currently Sun Dec 09, 2018 11:12 pm


All times are UTC-05:00




Post new topic  Reply to topic  [ 19 posts ] 
Author Message
 Post subject: Re: Writing a Java game, want to use a 3D map... so...
PostPosted: Sun Aug 16, 2009 6:46 am 
User avatar
 

Joined: Tue Aug 11, 2009 11:20 am
Posts: 44
cool when are you going to run this php code on a server
Code:
<? shutdown >
:) yes I know php xhtml html dhtml and javascript as well. :)

happy learning java. err well relearning

_________________
A programmer with dev cd. knows a lot of programming langs and can 3d model.


Top
Offline   
 Post subject: Re: 2D Objects on a 3D map
PostPosted: Sun Aug 16, 2009 9:09 pm 
User avatar
 

Joined: Sun Feb 12, 2006 8:56 pm
Posts: 1019
Website: http://eddieringle.com
Location: Detroit, MI
Changed the focus of this topic, because of JOGL's horrible lack of documentation. Already have a basic program written with OpenGL, SDL, and CrissCross (in C/C++). Here are my questions as of now:
  • How will I create the map in the first place (what software is recommended)?
    I want 3D buildings eventually, so keep this in mind.
    How do I set a viewport to the point where it is always centered on the player? (ala Runescape)
Implementing the 3D world will take some time, so here's a simpler question (I hope):
I want to get a basic full 2D game setup but with an isometric view. Here's my current OpenGL setup code:
Code:
glClearColor(0,0,0,0); glMatrixMode(GL_PROJECTION); glLoadIdentity(); glOrtho(0,width,height,0,-1,1); glMatrixMode(GL_MODELVIEW); glLoadIdentity();
I read online that in order to make it isometric, I would change the arguments of glOrtho(). Now, if I wanted a tile system, would I use this code above and draw the tiles out first, then switch to isometric view for the sprites?

_________________
-- Eddie Ringle

Check out Elysian Shadows and consider backing us on Kickstarter!

====================================

Image


Top
Offline   
 Post subject: Re: 2D Objects on a 3D map
PostPosted: Mon Aug 17, 2009 4:44 pm 
Connoisseur of the Godawful
User avatar
 

Joined: Tue Mar 01, 2005 9:00 am
Posts: 456
ICQ: 286315965
Website: http://rabidtinker.mine.nu/
Yahoo Messenger: alistair_lynn
AOL: Agent_Vast@mac.com
Location: 127.0.0.1
Just draw everything top-down. Using an isometric coordinate system doesn't mean you have to adjust for that in OpenGL - in fact it will make life more difficult for you.

_________________
Alastair Lynn / Alumnus / Onlink Team


Top
Offline   
 Post subject: Re: 2D Objects on a 3D map
PostPosted: Mon Aug 17, 2009 4:47 pm 
User avatar
 

Joined: Sun Feb 12, 2006 8:56 pm
Posts: 1019
Website: http://eddieringle.com
Location: Detroit, MI
So draw top-down, then change the camera angle?

_________________
-- Eddie Ringle

Check out Elysian Shadows and consider backing us on Kickstarter!

====================================

Image


Top
Offline   
Display posts from previous:  Sort by  
Post new topic  Reply to topic

All times are UTC-05:00


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created by Miah with assistance from hyprnova