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  
  a problem in drawing a 2D triangle  (Read 513 times)
0 Members and 1 Guest are viewing this topic.
Offline future0906

JGO n00b
*

Posts: 5



« on: 2006-03-18 02:11:51 »

hi all,i am newbie of jogl and opengl,i draw a triangle use this three point  vertex3f(0,1,0)   vertex3f(-1,-1,0)  vertex3f(1,-1,0).It work but the triangle is too big ,it fiexd the full screen ,but i just want a small triangle.Is there any thing i need to set?
Offline operator

JGO n00b
*

Posts: 40



« Reply #1 on: 2006-03-18 02:43:20 »

have a look here http://nehe.gamedev.net/ and try to understand the opengl basics explained in the first lessons.
Offline future0906

JGO n00b
*

Posts: 5



« Reply #2 on: 2006-03-18 20:14:14 »

have a look here http://nehe.gamedev.net/ and try to understand the opengl basics explained in the first lessons.

thanks for your help

i am learning the tutorial Grin
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.071 seconds with 21 queries.