LeprovostQuentin / mt4j

Automatically exported from code.google.com/p/mt4j
GNU General Public License v2.0
0 stars 0 forks source link

MTStencilPolygons are not clipped correctly in a MTClipRectangle #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a MTStencilPolygon
2. Add it as a child of a MTClipRectangle, but out of the clip

What is the expected output? What do you see instead?
the MTStencilPolygon should not be visible but kind of is

What version of the product are you using? On what operating system?
last repository version

Please provide any additional information below.

Original issue reported on code.google.com by mattsl...@gmail.com on 11 Oct 2010 at 9:21

GoogleCodeExporter commented 8 years ago
very though to fix because both the cliprectangle and the stencil polygon are 
using the stencil buffer but in different ways..

Original comment by sirhc.f...@gmail.com on 11 Oct 2010 at 5:59

GoogleCodeExporter commented 8 years ago
I wanted to use a MTStencilPolygon because my polygons are not convex, but I 
found a workaround: use a MTPolygon and render it with processing 
(polygon.setUseDirectGL(false)).

Original comment by mattsl...@gmail.com on 20 Oct 2010 at 12:45