Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualTommato

Posted 12 March 2013 - 07:02 AM

Hi All
 
In glOrtho I'm drawing a line with  2 points (x, y, z)
 
(434, 500, 400)
(1190, 500, -1152)
 
But the line is not displayed. However if I change z in debugger (from -1152 to 400), then all is Ok, a horizontal line appears. Same results with glDrawArrays, glDrawArrays and just glBegin/glEnd
 
Any advice?
 
Thanks
Tom

#1Tommato

Posted 12 March 2013 - 07:01 AM

Hi All
 
In glOrtho I'm drawing a line with  2 points (x, y, z)
 
(434, 500, 400)
(1190, 500, -1152)
 
But the line is not displayed. However if I change z in debugger (from
-1152 to 400), then all is Ok, a horizontal line appears. Same results
with glDrawArrays, glDrawArrays and just glBegin/glEnd
 
Any advice?
 
Thanks
Tom

PARTNERS