Login  Register

Re: Porting RoomTiny to Jogl

Posted by elect on Aug 25, 2014; 8:18am
URL: https://forum.jogamp.org/Porting-RoomTiny-to-Jogl-tp4032722p4032921.html

BrickFarmer wrote
Next I had a complaint about shader 'texture2D' which a google search seemed to indicate might be deprecated?  I tried 'texture' instead and now now I get a black window appearing with the following error:
Which kind of complain?


BrickFarmer wrote
got: jogamp.opengl.gl4.GL4bc
setupOculus()
/setupOculus()
init
reshape (0, 0) (1296, 816)
Error 1282 !
reshape (0, 0) (1296, 816)
Error 1281 !
reshape (0, 0) (1296, 816)
Error 1281 !
Error 1281 !
This indicates something wrong with opengl

BrickFarmer wrote
I noticed the code uses shaders, but isn't the SDK responsible for that now?  Am I trying to get the wrong demo running with DK2?  Sorry if I'm asking basic questions, I just want to get something simple running with JOGL so that I can then tear it to bits and understand what approach I need for my own project :)
Yes, but I had problems to implement the SDK distorsion, so I did it by myself..

Dont worry, it is normal :)