Login  Register

Re: Problem with displaying the line segments

Posted by philjord on Apr 25, 2017; 11:20pm
URL: https://forum.jogamp.org/Problem-with-displaying-the-line-segments-tp4037890p4037895.html

world,
Excellent example, thanks for that.

I've got it going and I see exactly the output you've shown.

In testing this I've put it into the 1.7.0 version (which uses shaders) and I get one of 2 outputs depending on the render pass that the lines are rendered in.
Either in the non transparent pass:

Or the transparent pass:


Just before I go on with testing I wanted to make sure your expected output was in the transparent path, as you have set the lines to be anti aliased.

Can you please confirm, and also tell me if these images match the 1.5.2 output you were getting?

Note the above images don't have lighting calcs in the shaders I've attached.

Thanks,
Phil.