sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Face-specific Shadow Info

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 1 Posters 349 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      talig
      last edited by

      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!
      Tali

      P.S. I'm really sorry if there's already an answer for this in the forum, I looked but I didn't find one...

      Avatar: all rights reserved to Bryan Eppihimer

      1 Reply Last reply Reply Quote 0
      • T Offline
        talig
        last edited by

        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

        Avatar: all rights reserved to Bryan Eppihimer

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement