Page 1 of 1

OpenGL Shadows (Not using pov-ray)

Posted: 31 May 2017, 16:26
by sjames
Hi,

Im looking to get simple shadows rendered using OpenGL. I am aware of the pov-ray plugin, but I do not need such high quality images (and it is slower). Im also aware that you can hook in your own renderer.

Is there an easy way to extend the existing OpenGL rendering code used in VREP so that I can add some shadow rendering extensions? Or does this feature already exists, and I have just missed it

Thank you! :)

Re: OpenGL Shadows (Not using pov-ray)

Posted: 01 Jun 2017, 13:12
by sjames
-

Re: OpenGL Shadows (Not using pov-ray)

Posted: 01 Jun 2017, 18:39
by sjames
Another option I have is to use the 'External Renderer' and add shadowing to that code. For some reason, the image produced by the external renderer works fine on my Mac, but when I use the same version on Ubuntu, it just renders nothing (white). I am using the same file and same version of VREP on both platforms.

Re: OpenGL Shadows (Not using pov-ray)

Posted: 05 Jun 2017, 09:03
by coppelia
Hello,

we are planning to have a new rendering engine within 1 year hopefully. Until then, your best option is, as you mentioned it, to modify/rewrite the external renderer plugin.

Cheers

Re: OpenGL Shadows (Not using pov-ray)

Posted: 06 Jun 2018, 14:38
by sjames
Hi coppelia,

I was wondering if there are any updates with integrated shadow support?
I did end up implementing my own in the end (about a year ago), but it would be great to have official support!

Thanks

Re: OpenGL Shadows (Not using pov-ray)

Posted: 08 Jun 2018, 12:52
by coppelia
Hello,

unfortunately we always have more crucial things on the todo list. Out of curiosity, how did you implemnent the shadows?

Cheers