pyovr icon indicating copy to clipboard operation
pyovr copied to clipboard

Problem with pygame example

Open Manusisko opened this issue 6 years ago • 0 comments

Hello! First of all, thanks for all you've done!

I'm trying to run the pygame example but I'm getting the following error, I don't know what could be the problem, so if anyone has any clue I'd greatly appreciate it.

Demo.py GL Version: 4.5.0 NVIDIA 372.90 GL Shader Language Version: 4.50 NVIDIA GL Vendor: NVIDIA Corporation GL Renderer: GeForce GTX 960/PCIe/SSE2 Traceback (most recent call last): File "RiftDemo.py", line 183, in RiftDemo().run(); File "C:\Users\Biomodelos\Desktop\InVesalius3 Source\pyovr\examples\pygame\Rif tApp.py", line 182, in run self.init_gl() File "RiftDemo.py", line 126, in init_gl RiftApp.init_gl(self) File "C:\Users\Biomodelos\Desktop\InVesalius3 Source\pyovr\examples\pygame\Rif tApp.py", line 125, in init_gl self.framebuffer = RiftSwapFramebuffer(self.rift, self.bufferSize) File "C:\Users\Biomodelos\Desktop\InVesalius3 Source\pyovr\examples\pygame\Rif tApp.py", line 14, in init self.build() File "C:\Users\Biomodelos\Desktop\InVesalius3 Source\pyovr\examples\pygame\Rif tApp.py", line 17, in build self.pTextureSet = self.rift.create_swap_texture(self.size) File "C:\Python27\Lib\site-packages\ovr\rift.py", line 62, in create_swap_text ure result = ovr.createTextureSwapChainGL(self.session, textureSwapChainDesc) File "C:\Python27\Lib\site-packages\ovr_ovr1160.py", line 3578, in createText ureSwapChainGL _checkResult(result, "createTextureSwapChainGL") File "C:\Python27\Lib\site-packages\ovr_ovr1160.py", line 109, in _checkResul t raise OculusFunctionError(msg) ovr._ovr1160.OculusFunctionError: Call to function ovr.createTextureSwapChainGL( ) failed. Error code -1005. Texture dimensions have an area of 0. Width: 0, Heig ht: 0 (-1005)

Manusisko avatar May 07 '18 13:05 Manusisko