timothy-allan / saitoobjloader

Automatically exported from code.google.com/p/saitoobjloader
0 stars 0 forks source link

Object not show other image in #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run the file atach
2. drag with the mouse (only turn right)
3.

What is the expected output? What do you see instead?
the object. obj has glass as art, the image "input.jpg" through the object, but 
passing by, the picture is not visible. The purpose if it is transparent to 
itself.

What version of the product are you using? On what operating system?
processing: 1.5.1
OS: linux ubuntu 11.01
java: OpenJDK 1.6.0_24

Please provide any additional information below.

Original issue reported on code.google.com by mnovoa@gmail.com on 16 Aug 2012 at 12:30

Attachments:

GoogleCodeExporter commented 8 years ago
What your seeing the draw order problems when all triangles are drawn in the 
wrong order. The way around this is to ensure that a transparent model is drawn 
at the end of the frame. So move the image call to the start of the draw loop 
and that fixes the problem.

Original comment by mattdit...@gmail.com on 17 Aug 2012 at 12:36

GoogleCodeExporter commented 8 years ago
thanks "mattdit...@..", your solution worked perfectly

regards

Original comment by mnovoa@gmail.com on 20 Aug 2012 at 12:56