Issue Details (XML | Word | Printable)

Key: JAVA3D-594
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: java3d-issues
Reporter: jespa
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

It is not possible to change image texture byRef more a once in immediate mode.

Created: 22/Aug/08 08:04 AM   Updated: 22/Aug/08 08:09 AM
Component/s: j3d-core
Affects Version/s: 1.5.2
Fix Version/s: not determined

Time Tracking:
Not Specified

File Attachments: 1. Java Source File (6 kB) 22/Aug/08 08:08 AM - jespa
2. Java Source File (5 kB) 22/Aug/08 08:09 AM - jespa


Operating System: Windows XP
Platform: PC

Issuezilla Id: 594
Participants: java3d-issues and jespa

 Description  « Hide

Has been discovered that on pure immediate mode rendering that
it is not possible cannot change the image with procedure setImage of texture
byRef more of once.

We don't known if this is a Bug or a feature. In retained mode works well.

We have added two sources with an example of fade out green color on a box3D by
redrawing a buffered image byRef.
One source works with RETAINED mode render and the other works in PURE IMMEDIATE
mode render that reproduces the commented problem.

It's posible that fails when realizes first execution member function swap() of
canvas3D, because always we get it
the last image writed before the swap().

It is necessary to say that, we have tried it to change the image via
ImageComponent2D.Updater to write the
pixels of bufferedimage attached to ImageComponent but we can get the same result.

jespa added a comment - 22/Aug/08 08:08 AM

Created an attachment (id=369)
Immediate Mode test that reproduces the explained problem.

jespa added a comment - 22/Aug/08 08:09 AM

Created an attachment (id=370)
Same test but in retained mode. Works well.