Summary: | Texturing with Newt and FBO flag partly corrupt | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Maik <maik.riechert> |
Component: | opengl | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED INVALID | ||
Severity: | enhancement | CC: | gouessej |
Priority: | P5 | ||
Version: | 2 | ||
Hardware: | All | ||
OS: | all | ||
Type: | --- | SCM Refs: |
4934f1801ba44d20353652f9ee3686a13323fb74
|
Workaround: | --- | ||
Attachments: |
self-contained main() test
first and second frame third frame |
Description
Maik
2013-03-22 21:06:45 CET
Created attachment 436 [details]
first and second frame
Created attachment 437 [details]
third frame
Bug 709: Testing texured demo w/ FBO, comparing w/ onscreen - No corruption. Put your demo in our unit tests, while rendering it onscreen and w/ FBO. Screenshots show now difference. Why did you mark this as invalid? Are you saying my code was partially wrong and you fixed it? Does the problem happen on your machine when you use my original class as-is? (In reply to comment #4) > Why did you mark this as invalid? Are you saying my code was partially wrong > and you fixed it? Does the problem happen on your machine when you use my > original class as-is? The only semantical GL change I did was to do a tex.bind(..) glEnable(TEX..2D) maybe this was the issue, I don't know. FBO deals w/ textures, hence texture selection should happen always. Invalid, b/c it's not a JOGL bug itself, but more a misunderstanding of usage. However, we can discuss this further, i.e. how to avoid or notify people to avoid it. Pls also note that we have tons of GLAutoDrawable test w/ on- and offscreen [fbo, pbuffer] testing this - you may check those results/code as well com.jogamp.opengl.test.junit.jogl.acore.Test*GLAutoDrawable* |