rinf.tech
rinf.tech
Greetings @maartenbreddels ! We are working on adding Lighting(Ambiental, Directional, Spot, Point, Hemisphere) support for ipyvolume rendering. Below we are describing how we are planning to go about it. Similar...
We are concentrating on this until the end of March 2020. So we would appreciate any feedback as soon as possible. Thank you!
Thank you for your answer! So you propose not to add classes Light(widgets.Widget) (python) and LightView, LightModel (ts)? In order to specify the scene in which the a light is...
I'm really grateful for your prompt answers! I investigated the code more and you are right. Creating a separate Light widget would be an nonoptimal way to go about it....
@maartenbreddels Please excuse the long list of questions. Let me reduce them to just one: Is there a way to access the main three.js scene (scatter) from python code? (pylab,...
Thank you :) I almost finished the implementation for adding all types of lights + shadow support(if available).
Yes :) https://imgur.com/a/wLsmg9x
Thank you! We will open a PR as soon as possible!
Hello Thank you for your feedback! The main reason for not adding lights on python side is because I wasn't able to access the scatter scene.
https://github.com/maartenbreddels/ipyvolume/pull/341 Integrated changes into branch feat_lighting_merge. Removed light widget. Encountered scaling issues not introduced by my code. This PR can be closed.