sketchucation logo sketchucation
    • 登入
    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!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] RayTrace & RaySpray

    已排程 已置頂 已鎖定 已移動 Plugins
    46 貼文 23 Posters 76.7k 瀏覽 23 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • M 離線
      mus257
      最後由 編輯

      Hi TIG,

      I got back to playing with the rayspray last night and was using it for a noise study at my apartment. (We have a Kragen parking lot next to the patio.) 😞 Anyway, I tried using the spray and deleting coverage that wasn't helpful. Then I realized it was much easier to just put a dome over the spray and adjust that to coverage that I cared about. i.e., I'm not looking at the noise flying up into the sky. Worked pretty well, an example is attached. It's a great tool, thanks. Though if you ever figure out how to aim a controlled spray or, say, 2 rays with a specific degree spread between them, this would be even more powerful for sound and light coverage.

      Thanks again
      Joe


      Rayspray.skp

      1 條回覆 最後回覆 回覆 引用 0
      • L 離線
        Lobster
        最後由 編輯

        Thanks Tig,

        Will be useful to me i am sure.

        Regards

        Sam

        1 條回覆 最後回覆 回覆 引用 0
        • TIGT 線上
          TIG Moderator
          最後由 編輯

          In v8 the 'raytest' method is flaky and it is used by these tools... BUT a fix is promised for MR1...

          TIG

          1 條回覆 最後回覆 回覆 引用 0
          • F 離線
            flowheimer
            最後由 編輯

            I just discovered RayTrace/Spray today; I was searching for a plugin with just this sort of functionality and this appears to be the only one of its kind.

            If I may offer some feedback:

            I'm using it in Sketchup 8.0.3117 and am encountering some odd behaviour.
            For some reason, using RayTrace, sometimes a ray will bounce, and sometimes it just stops short of the next plane, even within a fully enclosed volume. As far as I can tell there is no consistency to this behaviour and thus no telling how many bounces (if any) a ray will perform before abruptly terminating mid-flight.

            Any ideas?

            1 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              Does it happen in SU7?
              There is a bug in the raytracing function in SU8.

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 條回覆 最後回覆 回覆 引用 0
              • F 離線
                flowheimer
                最後由 編輯

                @thomthom said:

                Does it happen in SU7?
                There is a bug in the raytracing function in SU8.

                It seems to work in SU7.
                Guess I'll use 7 till it works in 8.

                Thanks!

                fH

                1 條回覆 最後回覆 回覆 引用 0
                • TIGT 線上
                  TIG Moderator
                  最後由 編輯

                  An impending maintenance release for v8 might help with ray-tracing...

                  TIG

                  1 條回覆 最後回覆 回覆 引用 0
                  • M 離線
                    mjm6x9
                    最後由 編輯

                    This is just the plugin I've been looking for!
                    I work for a dedicated acoustic consultancy firm and this is incredibly useful for small room acoustics projects.
                    I've several ideas on improvements, but just want to know if you are going to be developing this further in the near future?
                    Or what would be the possibility of buying the existing code from you and looking to develop it further ourselves??

                    The things I'd like to see developed are:

                    1. Specification of number of reflections in RaySpray (1st, 2nd, 3rd order etc)
                    2. Different coloured lines to display reflection order (e.g. 1st reflection blue, 2nd reflection green)
                    3. limit RaySpray to particular rotation angle, i.e. currently it runs through 360 degrees but could it be set to only run through 90 degrees)
                    4. Would it be possibly to highlight the reflecting surface when using RayTrace in order to easily establish which surface you are reflecting off (this is difficult to visualise currently)
                    5. Possible option of setting specific reflecting surface (maybe using Layers) so that reflections only occurred off these surfaces when using RaySpray

                    Look forward to hearing from you

                    1 條回覆 最後回覆 回覆 引用 0
                    • B 離線
                      BrooksL
                      最後由 編輯

                      Wow TIG - I've been looking all over for a tool like this for a couple weeks! [I avoided the keywords ray trace because it turns up lots of results for rendering]

                      I need such to tool to look at angles of reflection and reflected angles for laser beam vision systems with mirrors - because figuring the angles manually can get quite tedious! Thanks!

                      A few bug/issues I'm finding with V1.2 20100326 - using in SketchUp 8 Pro 8.0.11752 -
                      Sometimes a ray will not reflect; the second point selection was an intersection of guidelines on a plane, but it wasn't reflecting from that point until I deleted the existing guides and guidepoints in that area and re-drew them (the original guides and points were indeed on the plane).
                      I don't see the magenta preview ray.
                      Seems to use a lot of CPU resources to during point selection - noticeable lag in following the mouse, but maybe that's just the SketchUp api.

                      With RaySpray;
                      The cursor inference point indicator is not showing up.
                      Some of the rays do reflect -- and stop when they hit an original sprayed ray -- and original rays stop when they hit a reflected ray. (sample file attached)

                      Still, this is a REALLY helpful plugin! Thanks, TIG!

                      [to help others find these helpful plugins, some additional keywords: Reflected Angle, Reflected Ray, Angle of Reflection, Beam Reflection, Beam Reflect, Reflection Guide ]


                      RaySpray V1.2 erratic in SketchUp 8.0.11752

                      1 條回覆 最後回覆 回覆 引用 0
                      • L 離線
                        lydfa
                        最後由 編輯

                        Great plugin!
                        Thank you very much.

                        Cheers,
                        Dennis

                        1 條回覆 最後回覆 回覆 引用 0
                        • Z 離線
                          zlitalien
                          最後由 編輯

                          TIG, this has been a great tool to use! I'm wondering if there's a way to make the ray auto adjust in real time if you move the object its reflecting off of?

                          1 條回覆 最後回覆 回覆 引用 0
                          • 1
                          • 2
                          • 3
                          • 2 / 3
                          • 第一個貼文
                            最後的貼文
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement