Hello!
Thanks for all help!
But I can't get this right.
This is so strange cause I have 2 different images like:
1.
-------
| I |
| I--|
| |
-------
2.
-------
| I |
|--I |
| |
-------
Image 1 appears OK but image 2 appaers upsidedown like:
-------
| |
| I--|
| I |
-------
The code for this is the same (sameobject) and looks like:
The TextureCoordinates:
Point2f point2f = new Point2f(0.0f, 0.0f);
quadArray.setTextureCoordinate(0, point2f);
point2f.set(1.0f, 0.0f);
quadArray.setTextureCoordinate(1, point2f);
point2f.set(1.0f, 1.0f);
quadArray.setTextureCoordinate(2, point2f);
point2f.set(0.0f, 1.0f);
quadArray.setTextureCoordinate(3, point2f);
And the ImageComponent2D:
imageComponent2D.setYUp(false);
So if someone understand what I'm doing wrong please let me know!
Best regards
Fredrik Andersson
==========================================================================To
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".