visvis icon indicating copy to clipboard operation
visvis copied to clipboard

object shadows and reflections

Open OmarSayedMostafa opened this issue 7 years ago • 1 comments

Is there anyway to render the shadows of objects according to light position and if not where should i implement the part of shadow and reflection ?

OmarSayedMostafa avatar Mar 27 '18 14:03 OmarSayedMostafa

Visvis does not have builtin functionality for that. I am not sure how hard it would be to make it work (I have never done anything like that), but you'd probably need to work with the interbals of visvis a bit, and know your way around with OpenGL ...

almarklein avatar Mar 27 '18 18:03 almarklein

This won't ever be supported in Visvis.

Have a look at PyGfx, where we did implement it recently, see e.g. this example

almarklein avatar Dec 16 '22 10:12 almarklein