sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Raytracer

    Scheduled Pinned Locked Moved Plugins
    60 Posts 18 Posters 60.8k Views 18 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.
    • thomthomT Offline
      thomthom
      last edited by

      hmm.... I'm not quite sure how to calculate the rays to shoot. Been all too long since I've done math like this...

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

      1 Reply Last reply Reply Quote 0
      • P Offline
        Panga
        last edited by

        My knowledge in maths are very limited...so I'll not be able to help you on that. Anyway, thanks for giving it a try !! ๐Ÿ˜‰

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          Found a solution! ๐Ÿ˜„

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

          1 Reply Last reply Reply Quote 0
          • P Offline
            Panga
            last edited by

            I had no doubt about that !! ๐Ÿ˜‰

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              When I say I I mean, someone smarter than me helped me out. ๐Ÿ˜‰

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

              1 Reply Last reply Reply Quote 0
              • P Offline
                Panga
                last edited by

                Whatever if someone helped you or not, you were the one looking for the solution...so you found it ! ๐Ÿ˜›

                1 Reply Last reply Reply Quote 0
                • A Offline
                  artupato
                  last edited by

                  sir Thomthom,
                  thank you very much for this plugin.
                  what a coincidence! This day I've been thinking of raytracing and what is its concept. I think I'll understand this once I use your plugin and of course read some notes about it. ๐Ÿ˜„

                  1 Reply Last reply Reply Quote 0
                  • thomthomT Offline
                    thomthom
                    last edited by

                    grrrr.... SU8 has even more troublesome bug with the raytest method. I'm struggling to find a workaround.
                    I got the Spray Ray working in SU7 - but SU8 is being a PITA.

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

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      Version 1.1.0

                      • Requires TT_Lib2 (v2.3.0)
                      • Trace Spray Ray.
                      • Bugfixes.

                      Note: SU8 does not process rays properly and the results are not reliable!
                      I've been unable to work out a successful workaround. ๐Ÿ˜ž

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

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        Kind-of like a cob-web... if the CLines was replaced with catenary curves...

                        cobweb.png

                        http://upload.wikimedia.org/wikipedia/en/thumb/f/fb/SpiderCatenary.jpg/180px-SpiderCatenary.jpg

                        Wiki uses cob-webs as an example for catenary curves http://en.wikipedia.org/wiki/Catenary

                        I have no idea what the usage would be, other than for Halloween... but... cool...

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

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          Panga
                          last edited by

                          Thanks Thomthom, I'll try it. Hope you can find a way to make it work under SU8 later.

                          EDIT :

                          Hi Thomthom,

                          I made a Test under SU8, and it Works pretty well. Until now, I test it with a max of 10 000 rays, and it takes about 15 seconds to calculate, so It's pretty fast. The only thing is it seems that some directions are ignored by rays, see on the picture below :

                          Test-raytracer.png

                          Whatever, It's already a really good tool for me. I'm thinking of other options, but I'll do some tests before talking about...See u and thanks again.

                          1 Reply Last reply Reply Quote 0
                          • pilouP Offline
                            pilou
                            last edited by

                            Damned I have missed this hidden collection under a falacious title ๐Ÿ˜ฒ
                            ๐Ÿ’š

                            Frenchy Pilou
                            Is beautiful that please without concept!
                            My Little site :)

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by

                              @panga said:

                              EDIT :

                              Hi Thomthom,

                              I made a Test under SU8, and it Works pretty well. Until now, I test it with a max of 10 000 rays, and it takes about 15 seconds to calculate, so It's pretty fast. The only thing is it seems that some directions are ignored by rays, see on the picture below :

                              Sorry for the last reply - but I never noticed this edit. (Don't think edits marks the topic as unread.)
                              As mentioned in the first post, SU8 has a nasty bug in the raytracer. Only thing one can do is wait for Google to fix it and release a new version.

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

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                davidlouis
                                last edited by

                                Hi Thom

                                I am getting a few weird results with the drop component option...
                                I thought I would try an test with a series of cars on a slope to simulate a parking lot scenrio.

                                ??? ๐Ÿ˜ฎ There are some non conformers

                                Test file attached.

                                Cheers

                                Dave


                                DROP COMPONENTS.jpg


                                DROP COMPONENTS.skp

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by

                                  Drop by Bounds, right?

                                  I see the car crashes as well... ๐Ÿ˜•

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

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    davidlouis
                                    last edited by

                                    Yup...

                                    Maybe Magneto is in the area...

                                    1 Reply Last reply Reply Quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by

                                      Version 1.1.1

                                      • Fixed a bug in Drop by Bounds that caused chaos when objects where dropped.

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

                                      1 Reply Last reply Reply Quote 0
                                      • mitcorbM Offline
                                        mitcorb
                                        last edited by

                                        Thank you, ThomThom:
                                        I will test this out. You are very talented, relentless in the pursuit of excellence. I salute you. ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘

                                        I take the slow, deliberate approach in my aimless wandering.

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

                                          Just fantastic !
                                          thanks

                                          1 Reply Last reply Reply Quote 0
                                          • pilouP Offline
                                            pilou
                                            last edited by

                                            Any chance to have something for have this result when I select the 3 up objects ?
                                            I can use SketchyPhysics but...

                                            raytracer.jpg

                                            Frenchy Pilou
                                            Is beautiful that please without concept!
                                            My Little site :)

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

                                            Advertisement