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!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin] Heightmap from model

    Scheduled Pinned Locked Moved Plugins
    63 Posts 28 Posters 69.4k Views 29 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.
    • Didier BurD
      Didier Bur
      last edited by

      @TIG:

      I'm on SU v7.0.8657
      Do you know of any change in the API for 7.1. ?

      DB

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

        @didier bur said:

        @TIG:

        I'm on SU v7.0.8657
        Do you know of any change in the API for 7.1. ?

        Model.number_faces

        only additions AFIK

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

        1 Reply Last reply
        Reply Quote 0
        • TIGT
          TIG Moderator
          last edited by

          @didier bur said:

          @TIG:
          I'm on SU v7.0.8657
          Do you know of any change in the API for 7.1. ?

          • arccurve.is_polygon?
          • adding entities to groups initially seems less bugsplatty but it's not documented...
            so none that should affect this...

          TIG

          1 Reply Last reply
          Reply Quote 0
          • TIGT
            TIG Moderator
            last edited by

            Have you modified any 'built-in' methods that might clash with others mods ?

            TIG

            1 Reply Last reply
            Reply Quote 0
            • Didier BurD
              Didier Bur
              last edited by

              @TIG: No, I never do that !

              DB

              1 Reply Last reply
              Reply Quote 0
              • Didier BurD
                Didier Bur
                last edited by

                @TIG: No, I never do that !

                DB

                1 Reply Last reply
                Reply Quote 0
                • A
                  AcesHigh
                  last edited by

                  awesome Didier! I had asked for such a plugin some months ago! It will be great to create some bumpmaps (or displacement maps) to use with VRAY!

                  1 Reply Last reply
                  Reply Quote 0
                  • EarthMoverE
                    EarthMover
                    last edited by

                    Didier I extracted the plugin to the plugins folder and it causes SU to crash upon opening. I removed the plugin and SU opened fine.

                    3D Artist at Clearstory 3D Imaging
                    Guide Tool at Winning With Sketchup
                    Content Creator at Skapeup

                    1 Reply Last reply
                    Reply Quote 0
                    • Didier BurD
                      Didier Bur
                      last edited by

                      It seems that crappy Vista is causing the problem (as usual).
                      Since the script writes binary BMP or RAW files, ensure you have the right to do this (be logged as admin ?)
                      Any other clue anyone ?

                      DB

                      1 Reply Last reply
                      Reply Quote 0
                      • PixeroP
                        Pixero
                        last edited by

                        Well...I had the same problems on XP at work, so... it can't be just Vista.

                        1 Reply Last reply
                        Reply Quote 0
                        • N
                          notareal
                          last edited by

                          👍 Nice tool. Wonder if hdr or exr would be possible as file options.

                          Welcome to try Thea Render, Thea support | kerkythea.net -team member

                          1 Reply Last reply
                          Reply Quote 0
                          • TIGT
                            TIG Moderator
                            last edited by

                            @didier bur said:

                            It seems that crappy Vista is causing the problem (as usual).
                            Since the script writes binary BMP or RAW files, ensure you have the right to do this (be logged as admin ?)
                            Any other clue anyone ?

                            Where does it write these to?
                            I am an admin so it shouldn't matter.
                            Also it crashes SUp BEFORE you try to do anything - just by loading it you get the problem.

                            TIG

                            1 Reply Last reply
                            Reply Quote 0
                            • charly2008C
                              charly2008
                              last edited by

                              Hi TIG,

                              i have the same problem with XP. SU7 was just by loading and then came a Bugsplat.

                              Karlheinz

                              He who makes no mistakes, makes nothing

                              1 Reply Last reply
                              Reply Quote 0
                              • Didier BurD
                                Didier Bur
                                last edited by

                                @unknownuser said:

                                Where does it write these to?

                                It writes images at the same location than the SKP is.

                                @unknownuser said:

                                it crashes SUp BEFORE you try to do anything - just by loading it

                                That's what is really strange. I don't overwrite built-in methods, don't do any 'require' or something that involve other files.

                                Would you please test this version and tell me if the problem persists ? 🎉


                                mesh2HeightMap.zip

                                DB

                                1 Reply Last reply
                                Reply Quote 0
                                • PixeroP
                                  Pixero
                                  last edited by

                                  Still crashes instantly while loading SU. Now on Windows 7 64bit. SU 7.1.

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • charly2008C
                                    charly2008
                                    last edited by

                                    it still crashes while loading SU.

                                    Karlheinz

                                    He who makes no mistakes, makes nothing

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • TIGT
                                      TIG Moderator
                                      last edited by

                                      Test file = instant Bugsplat.
                                      Didier - why not PM or email the 'uncompiled' script to one of us for debugging - you can trust me 😉 ...
                                      You know that I hack into your encrypted rb files all of the time, but the rbs ones are a bit harder... just easier if you supply it unencrypted...
                                      It must be simple to fix...

                                      TIG

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • G
                                        georglorenz
                                        last edited by

                                        Slightly off topic here: Is there a plugin that does the exact opposite of this one? That is creating a terrain from an greyscale image (.jpg or anything else)? Thank you. G

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • Chris FullmerC
                                          Chris Fullmer
                                          last edited by

                                          There is, Didier wrote a script that imports a heightmap image into SU. I forget what its called, but it was written by didier bur and should be posted here on the forum somewhere....

                                          Chris

                                          Lately you've been tan, suspicious for the winter.
                                          All my Plugins I've written

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • N
                                            notareal
                                            last edited by

                                            Nice work!

                                            Welcome to try Thea Render, Thea support | kerkythea.net -team member

                                            1 Reply Last reply
                                            Reply Quote 0

                                            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 Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement