Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  "Correct" perspective settings?  (Read 1185 times)
0 Members and 2 Guests are viewing this topic.
Offline quintesse

Full Member
**

Posts: 124


Java games rock!


« on: 2003-09-25 07:24:04 »

I've got this problem where I use the following GL call glu.gluPerspective(45.0f, h, 1.0, 600.0) to set my perspective.  But 1x1x1 cubes look like pizza boxes instead of cubes! (well, actually their height seem to be more or less half their width/depth)

So is there anything I can do to correct this?

(edited because of wrong information)
Offline quintesse

Full Member
**

Posts: 124


Java games rock!


« Reply #1 on: 2003-09-25 07:49:49 »

Ok, forget this, the example code I used as a basis for my code had h set to heigth/width instead of width/height
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.063 seconds with 20 queries.