Incorrect rendering of multiple transparent object layers

Report crashes, strange behaviour, or apparent bugs
Post Reply
theexalted
Posts: 1
Joined: 23 Aug 2016, 14:03

Incorrect rendering of multiple transparent object layers

Post by theexalted »

Hey,

I observed a strange rendering behavior of V-Rep in scenes with multiple transparent objects. A transparent layer of an object is able to "hide" non-transparent parts behind it. Hereby, it depends on the orientation and position of the rendered object. In some cases the content is rendered correctly, in some not.

This can be seen in the following images
Image Image
Within the first image, the right hand side of the grass is rendered incorrectly, while the left hand side is rendered correctly. This changes if the viewpoint is shifted which can be seen in the second image.

The 3d model is created by two basic planes with a transparent texture on it.
Image

I experienced a similar problem in another simulation engine based on Physx and Ogre. Here, the solution was to increase the depth buffer for alpha rendering. Does there exist a way to fix this rendering issue in V-Rep, too?

Best,
Patrick

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

Re: Incorrect rendering of multiple transparent object layer

Post by coppelia »

Hello Patrick,

you are right, there are problematic situations with transparent objects currently.
In your case, the best option would be to subdivide your object into 4 individual planar objects: this way the rendering engine can figure out the correct rendering order to avoid that kind of artifacts.

Cheers

Post Reply