Porting RoomTiny to Jogl
Posted by
elect on
Aug 07, 2014; 7:13am
URL: https://forum.jogamp.org/Porting-RoomTiny-to-Jogl-tp4032722.html
Hi,
I am trying to port the roomTiny example from the Oculus SDK to Jogl
I already ported most of the program, but I am stuck on an annoying bug since a couple of days and I am going crazy
After a couple of days, I tried to make a new simplified copy in order to find the bug, but I experience exactly the same..
I ask if someone out there would like to help me
I can render properly only the floor or the ceiling, not both
https://github.com/elect86/JavaOculusRoomTiny/tree/master/src/roomTinySimplifiedOnly floor

Only ceiling

Both

The program is pretty simple, there is (at the moment) only one glsl program for litTextures
You add Model and in the rendering loop you update lights (in an ubo) and loop the models themselves rendering them
In the same model rendering, I initialize everything about, vbo, ibo and texture
The vbo data are 100% exact, I scanned each vertex attribute one by one..