-
Notifications
You must be signed in to change notification settings - Fork 698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plane rendering #3
Comments
Hi Denis, |
Thanks for hint about normals :) But RajawaliTutorial with Plane instead of Sphere still doesn't work, even with setDoubleSided(true). |
The problem here is that the plane is lying flat, face up. The camera's y position is 0, so you don't see the plane. |
You right! I should better look at Plane creation code. Thanks for your help! :) |
Signed-off-by: Jared Woolston <Jared.Woolston@gmail.com>
I was trying to add a plane from Blender:
o Plane
v -0.000001 -1.000000 -1.000000
v -0.000001 -1.000000 1.000000
v 0.000001 1.000000 1.000000
v 0.000001 1.000000 -1.000000
f 1 4 3
f 1 3 2
But I couldn't draw it on screen. Then I downloaded RajawaliTutorial1 project and replaced Sphere to Plane and still I see no plane on screen. Maybe I'm doing something wrong or there is a bug in rendering?
The text was updated successfully, but these errors were encountered: