Hi,

  this is a wrong forum for this question. Try this one:
    http://www.javagaming.org/index.php/board,25.0.html

  Thanks,
    Dmitri

[EMAIL PROTECTED] wrote:
hi all,
i am new to jogl,
and trying to play with it.

the question is that i want to draw a rectangle,
but the question is that, it automacticely fill with some colour, which i don`t 
want it to be,
i just want to draw a rectangle without filling anything, just need to see four 
lines, and within is transparent,

can anybody tell me how to do that?, is it that i have to draw the rectangle 
line by line?

here was the code i wrote, [code]
            gl.glBegin(GL.GL_QUADS);  //draw the rectangle
            for (Point2D p : points2D) {
                gl.glVertex2d(p.x, p.y);
            }
            gl.glEnd();
[/code]
[Message sent by forum member 'shrimpy' (shrimpy)]

http://forums.java.net/jive/thread.jspa?messageID=292246

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to