Default OpenGL renderer is inconsistent with colours and textures

Report crashes, strange behaviour, or apparent bugs
Post Reply
Phlogiston90
Posts: 5
Joined: 12 Jun 2019, 16:37

Default OpenGL renderer is inconsistent with colours and textures

Post 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

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Default OpenGL renderer is inconsistent with colours and textures

Post 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

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Default OpenGL renderer is inconsistent with colours and textures

Post by coppelia »

Ok, you have a workaround by setting variable oglCompatibilityTweak1 to true in file system/usrset.txt

Cheers


Post Reply