nutannivate / andar

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

Drawing non Augmented Reality stuff in customRenderer #70

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Drawing in the method draw(GL10 gl) of customRenderer of the AndARSampleProject 
example produces a white screen.
I've tried many things and the result is the same : a white screen.
For example I have a class that draws square (please find attached) and I try 
to draw one in the draw method of customRenderer with
gl.glLoadIdentity();
cadre.draw(gl);
Where cadre is a square.

What is the expected output? What do you see instead?
The expected output is a white square, what I see is a fullscreen square. 
Whenever I change the positions of my vertices it remains a fullscreen square.

What version of the product are you using? On what operating system?
Last version on snow leopard (10.6.7) with Eclipse 3.6.2. The build target is 
2.1

Please provide any additional information below.

Original issue reported on code.google.com by patrick....@gmail.com on 19 Jun 2011 at 9:12

Attachments:

GoogleCodeExporter commented 8 years ago
Actually, even if I draw a single point, all the screen is white. It's not a 
problem of a square with a wrong size of something else.

Original comment by patrick....@gmail.com on 20 Jun 2011 at 6:18

GoogleCodeExporter commented 8 years ago
Sorry, forgot to mention that I've got it.
Actually I've forget to set my lights. And now everything I draw appears.

Original comment by patrick....@gmail.com on 31 Jul 2011 at 4:44