Face-specific Shadow Info
-
Hi,
I'm trying to write a plugin, and part of the algorithm needs face-specific shadow information.
Even knowing which edges are shaded might do... (I need eventually to figure out which percent of the selected face is shaded.)
Alternatively, if I can programatically figure out which percent of the face is visible to the camera - that would also be good enough...
I was thinking about using rays but that seems to be rather inefficient and not so elegant, not to mention that I'm not sure that's even possible.So I was wondering if there's an elegant way to do that via the Ruby API, and if not - do you know if the SDK can help me there...
Thanks a lot!
TaliP.S. I'm really sorry if there's already an answer for this in the forum, I looked but I didn't find one...
-
I see a lot of you are looking, but no one is answering.
Can you please at least tell me if you think it can be done/seen examples/ something but don't know how or you simply don't think it's possible from within sketchup?Thanks,
- Tali
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement