Bug 1453 : Surface cuting in P3D
Last modified: 2010-02-02 14:48




Status:
RESOLVED
Resolution:
DUPLICATE of bug 1393
Priority:
P2
Severity:
normal

 

Reporter:
yelele.eu
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2010-02-02 14:23
when a part of a surface is out of the screen, surface cuting produce wrong rendering
(for exemple inverting filled surface and the rest of the screen)

version 1.0.9
version jre 1.6.0_R17
windows vista family premium

Note : it's seem to be bad after installing the new JRE release. The same code works
before.

Code :
void setup()
{
size(300,300,P3D);
}
int z = -190;

void draw()
{
background(0);
fill(255);
pushMatrix();
rotateX(PI/4);
rotateZ(PI/4);
translate(150,150,z);
rect(-250,-250,500,500);
popMatrix();
}
Additional Comment #1 From fry 2010-02-02 14:25
is this bug #1393?
Additional Comment #2 From yelele.eu 2010-02-02 14:36
I don't really know but the code with P3D works with 1.0.6 release of processing : so
it's not the JRE, but Processing update who produce the bug.


I use the code of the bug 1393 and it isn't work in 1.0.9 (and produce the same
result as mine) but it's work in 1.0.6 release :
Duplicate bug : sorry.
Additional Comment #3 From fry 2010-02-02 14:48
No problem, I wasn't sure if I understood your bug report, but it sounded
like that other bug, so I wanted to make sure.

Suffice to say, it's fixed for the next release of Processing.

*** This bug has been marked as a duplicate of 1393 ***