Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


#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