Page 1 of 1

Default OpenGL renderer is inconsistent with colours and textures

Posted: 08 Jul 2019, 16:44
by Phlogiston90
Hi Coppelia,

I am using V-Rep 3.6.2 rev 0 together with PyRep, but apparently this is not the source of error. With the default OpenGL renderer, when loading the same scene with a texture a second or more times, the textures disappears.
See also https://github.com/stepjam/PyRep/issues/10 .

Additionally I noticed today that even without textures, the colours do change: Whereas at the first start of an episode, the images look more brownish, at the second (and subsequent) starts it is more grey.

https://imgur.com/GwW8Ohy vs. https://imgur.com/HbAF0Jd.

This must be a bug in the renderer because neither of this happens if I switch to e.g. OpenGL3.

Best regards,
Mark

Re: Default OpenGL renderer is inconsistent with colours and textures

Posted: 09 Jul 2019, 05:39
by coppelia
Thanks Mark,

yes, there must be something with the textures and the default renderer, when in headless mode.
Will look into this asap.

Cheers

Re: Default OpenGL renderer is inconsistent with colours and textures

Posted: 09 Jul 2019, 07:50
by coppelia
Ok, you have a workaround by setting variable oglCompatibilityTweak1 to true in file system/usrset.txt

Cheers

Re: Default OpenGL renderer is inconsistent with colours and textures

Posted: 09 Jul 2019, 08:58
by Phlogiston90
Thanks!