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!
    🔌 Easy Offset | Offset selected faces in SketchUp in positive and negative offsets. Download

    [Plugin] Normal Map Maker

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

      It's distorted then - do you mean that we CAN export these already using a TW and the material's actual face front-material?
      If so, how do we 'know' a face has a 'distorted' texture as opposed to a 'skewed' or 'rotated' one ?
      Let's say I have a face with a material that has its texture distorted and some other faces use that material 'undistorted'.
      The material is exported 'undistorted' and used with most faces with the simple 3-point UV-mapping...
      I need to know how to find which face has which type of texture, then if it's distorted then export that texture as a 'variant' using the TW with the very face, and then use that image-file for that face in the exported data.
      Is this what the built-in OBJ-Exporter does when it makes distorted texture files for some faces...

      The main issue is how do I tell if a face's material's texture is 'distorted' and needs this extra step... 😕
      It would greatly improve my OBJexporter and some 3rd party tools I am involved with...

      TIG

      1 條回覆 最後回覆 回覆 引用 0
      • A 離線
        AcesHigh
        最後由 編輯

        sorry for the stupid question but...

        1 - whats the advantage of normal map over bump and displacement maps (both of which can use the same grayscale bitmap)?

        2 - VRAY doesnt use normal maps, does it?

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

          @aceshigh said:

          1 - whats the advantage of normal map over bump and displacement maps (both of which can use the same grayscale bitmap)?

          http://www.spinquad.com/forums/showthread.php?4478-Normal-maps-vs.-Bump-maps&s=157424c55a8e268f44d84e57618a04cb&p=54371&viewfull=1#post54371

          http://i192.photobucket.com/albums/z232/Z-trooper/Modelling/mappings.png

          a) is a bump map
          b) is a parallax/normal map
          c) is a relief map (normal map with self shadowing)

          @aceshigh said:

          2 - VRAY doesnt use normal maps, does it?

          Not sure what V-Ray 2 does - but the version V-Ray for SketchUp currently use doesn't.

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

          1 條回覆 最後回覆 回覆 引用 0
          • T 離線
            tomasz
            最後由 編輯

            @tig said:

            The main issue is how do I tell if a face's material's texture is 'distorted' and needs this extra step... 😕
            It would greatly improve my OBJexporter and some 3rd party tools I am involved with...

            http://forums.sketchucation.com/viewtopic.php?f=180&t=23947&hilit=distorted&start=60#p204899

            Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

            1 條回覆 最後回覆 回覆 引用 0
            • PixeroP 離線
              Pixero
              最後由 編輯

              @aceshigh said:

              1 - whats the advantage of normal map over bump and displacement maps (both of which can use the same grayscale bitmap)?

              A bumpmap is like: Hey, change your normal (surface direction) by this grayscale amount!
              A normal map is more like: Yo, use this normal instead of your old one!

              1 條回覆 最後回覆 回覆 引用 0
              • T 離線
                tspco
                最後由 編輯

                I just downloaded and installed this plugin, but it doesn't seem to work, I am sure I missed something, nothing shows up in the plugins menu. Anybody have a step by step?

                SU make 2017, /Twilight Render Hobby
                Windows 10,64 bit,16GB ram, quad core Athlon 3.6 gHz proc. Anything else you want to know, ask me.

                1 條回覆 最後回覆 回覆 引用 0
                • R 離線
                  RepulsiveBoy
                  最後由 編輯

                  @tspco said:

                  I just downloaded and installed this plugin, but it doesn't seem to work, I am sure I missed something, nothing shows up in the plugins menu. Anybody have a step by step?

                  It doesn't work for me either 😢

                  1 條回覆 最後回覆 回覆 引用 0
                  • D 離線
                    driven
                    最後由 編輯

                    hi, did you look in the right place?
                    UI.menu("File").add_item("Export normal map")
                    john

                    learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                      Didier's version says this quite clearly
                      @unknownuser said:

                      You'll find the command under the **File** menu -> Export normal map
                      😒

                      TIG

                      1 條回覆 最後回覆 回覆 引用 0
                      • T 離線
                        Tuttlet
                        最後由 編輯

                        Great to find this Normal Map script. Thanks.

                        I found that slows down if you have the Materials Windows open to "In Model" textures. So remember to have that closed.

                        Was there any way to get a bump map from this ruby? I found some threads relating to bump mapping in Sketchup, but nothing conclusive, unless I missed it
                        http://forums.sketchucation.com/viewtopic.php?f=180&t=18024&start=15
                        http://forums.sketchucation.com/viewtopic.php?f=180&t=16660&hilit=plugin

                        1 條回覆 最後回覆 回覆 引用 0
                        • GaieusG 離線
                          Gaieus
                          最後由 編輯

                          You can quite easily create bump maps from (raw) geometry if you project a greyscale image from one side and then export an image from the other side.

                          Gai...

                          1 條回覆 最後回覆 回覆 引用 0
                          • Bob JamesB 離線
                            Bob James
                            最後由 編輯

                            Just browsing through, got interested, and don't understand your reply.

                            @gaieus said:

                            You can quite easily create bump maps from (raw) geometry if you project a greyscale image from one side and then export an image from the other side.

                            project (from what onto to what?) a greyscale image from one side (of what?)

                            export an image from the other side (of what?)

                            i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                            1 條回覆 最後回覆 回覆 引用 0
                            • T 離線
                              Tuttlet
                              最後由 編輯

                              I believe this is the procedure:

                              1. Make a rectangle with a greyscale texture in the z direction, scale it to 1.001 to ensure the top face is white

                              2. Make the texture a projection
                                Bump12.jpg

                              3. Select and apply the texture to the model
                                Bump3.jpg

                              4. Set the time to noon, date to 3/21, location to near the equator (in File, Geo-location). Set light & dark to 100

                              5. With a parallel projection and no edges, the top view is your bump map
                                Bump45.jpg

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

                                You can do the same without a texture, use white Fog on black geometry.

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • T 離線
                                  Tuttlet
                                  最後由 編輯

                                  @thomthom said:

                                  You can do the same without a texture, use white Fog on black geometry.

                                  Hey, that's even easier. Thanks.

                                  But aren't white areas usually interpreted as higher than black. I seem to get the right result with black fog on white geometry.

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

                                    @tuttlet said:

                                    @thomthom said:

                                    You can do the same without a texture, use white Fog on black geometry.

                                    Hey, that's even easier. Thanks.

                                    But aren't white areas usually interpreted as higher than black. I seem to get the right result with black fog on white geometry.

                                    Ah, yea - my logic is inverted this morning! 😄 😳

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

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • sicksickisckS 離線
                                      sicksickisck
                                      最後由 編輯

                                      great plugin and real deserves to update :]

                                      ideas ;]
                                      -read well smoothing groups!
                                      -Z-grab [without the need of the selection of the polygons; works with components and groups]

                                      • AO version hehe [dream:p]
                                      1 條回覆 最後回覆 回覆 引用 0
                                      • V 離線
                                        v66995
                                        最後由 編輯

                                        May i ask if this works on Sketchup 2015(i am using window 10)?
                                        I'm a total noob to sketchup , I've tried putting the rb file into sketchup tool folder, and it shows some error when i start up my sketchup ,so i downloaded the rbz file at extension warehouse.

                                        I try to test the plugin with a simple cube. 1.jpg
                                        Then i select everything?->extension->Normal map maker-> export
                                        After its done , i went check the file , it only shows a purple square cube without the depths of other colors like the youtube tutorial shown.
                                        Normal.png

                                        I did everything i can , things like : changing to parallel view/ top view first before activiating the normal map maker or applying material and then try again.
                                        It didn't work. did i do anything wrong or ?

                                        Please help /_\ ....

                                        Thanks all..

                                        Vic.

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • pbacotP 離線
                                          pbacot
                                          最後由 編輯

                                          You need some surfaces visible from above which are NOT perpendicular to the camera view.

                                          MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • JQLJ 離線
                                            JQL
                                            最後由 編輯

                                            Yeah, what pbacot said is basically that all surfaces you have there have the same normal, therefore the same color and so you have a flat normal on the map.

                                            You should slitghtly taper your shape into truncated piramidal shapes.

                                            www.casca.pt
                                            Visit us on facebook!

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

                                            Advertisement