1 1 1 1 1 1 1 1 1 1 1 1 do the same with your other walls that don t show up.
Making a floor in opengl.
Initially stenciling is not used so if you look by holding down the left mouse button and moving at the dinosaur from below the floor you ll see a bogus dinosaur and appreciate how the basic technique works.
I am trying to create a 3d room in opengl.
I want to create a 3d room with camera view set to certain angle and place a table and teapot in the room.
Draw reflection of object on the floor using opengl utility toolkit glut drawing reflection capture the extra realism of the object in 3d programming for example bouncing ball having its reflection on the floor can make the bouncing scenario more beautiful and realistic.
Here i will show you how you might go about doing that.
If you recall how we made our cubes we specified the four vertices that we wanted to color in and that was it.
While it is not the immediate goal for this project sometimes you may want to create a floor ground ceiling or wall in your opengl game with python.
So opengl has all the features needed to render fast high quality.
In order to fix this the floor has to be defined like this.