sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Slender - Baking textures in Sketchup with Blender

    Scheduled Pinned Locked Moved Developers' Forum
    29 Posts 7 Posters 13.6k Views 7 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.
    • filibisF Offline
      filibis
      last edited by

      Well, i got home and i tried on my laptop, it worked like a charm!
      I will see tomorrow what causes problem in the office computer (only difference is that's Windows 7 64-bit).


      Then i created my own scene, it worked pretty well too.
      Except when i tried to experiment with some interior scenes. See attachment for faulty result. It's completely dark inside (with some light artifacts).


      Original Model vs Baked Result


      baked_result_comparison_v2013.skp

      1 Reply Last reply Reply Quote 0
      • Q Offline
        qpik
        last edited by

        Simple triangulation issue in slender.rb (you should see HOLES NOT SUPPORTED in Blender console).

        triangulated_faces => true
        

        Fixed and reuploaded whole package. Result:

        baked_result_comparison_v2013_qpik.jpg
        baked_result_comparison_v2013_qpik.skp
        After tweaking slender.blend scene (Environment Lighting Raytrace -> Approximate) which you can try with your own settings:
        baked_result_comparison_v2013_qpik_1.jpg
        baked_result_comparison_v2013_qpik_1.skp

        1 Reply Last reply Reply Quote 0
        • filibisF Offline
          filibis
          last edited by

          Hmm, i see now better.
          So, can we say it's not that suitable for interior stuff? Or is it possible to add other light types in addition to sun into baking process?

          1 Reply Last reply Reply Quote 0
          • Q Offline
            qpik
            last edited by

            @filibis said:

            Hmm, i see now better.
            So, can we say it's not that suitable for interior stuff? Or is it possible to add other light types in addition to sun into baking process?

            It's all a matter of translating objects from SU to Blender, then everything is possible.

            1 Reply Last reply Reply Quote 0
            • JQLJ Offline
              JQL
              last edited by

              qpik, you're using cycles or is this blender internal?

              www.casca.pt
              Visit us on facebook!

              1 Reply Last reply Reply Quote 0
              • Rich O BrienR Offline
                Rich O Brien Moderator
                last edited by

                @qp

                fantastic idea. Can't get it going yet so subscribing so I can flag updates

                Download the free D'oh Book for SketchUp πŸ“–

                1 Reply Last reply Reply Quote 0
                • Q Offline
                  qpik
                  last edited by

                  @jql said:

                  qpik, you're using cycles or is this blender internal?

                  So far internal, why do you ask?

                  1 Reply Last reply Reply Quote 0
                  • JQLJ Offline
                    JQL
                    last edited by

                    Out of curiosity. I've seen great things coming from cycles and heard it's improving very fast.

                    Who knows where this plugin will lead so, maybe cycles would be a good bet.

                    www.casca.pt
                    Visit us on facebook!

                    1 Reply Last reply Reply Quote 0
                    • filibisF Offline
                      filibis
                      last edited by

                      @filibis said:

                      I will see tomorrow what causes problem in the office computer

                      I tried again in the office today, i noticed this code was missing in slender.bat

                      %~dp0\slender.blend
                      

                      (see attachment) I don't remember deleting it, maybe downloaded the .zip yesterday before you update or something idk 🀣
                      So i downloaded .zip again today, it worked fine. πŸ‘


                      slender_blend_missing.jpeg

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

                        A couple of question.

                        How does the geometry look when imported back into SketchUp?
                        Is it grouped the same?
                        Are the components intact?
                        Is the geometry triangulated or as it was originally in SU?

                        1 Reply Last reply Reply Quote 0
                        • filibisF Offline
                          filibis
                          last edited by

                          @pixero said:

                          How does the geometry look when imported back into SketchUp?
                          Is it grouped the same?
                          Are the components intact?
                          Is the geometry triangulated or as it was originally in SU?

                          Seems it imports one component that contains the whole geometry and everything inside exploded. Also triple clicking only select ones that shares the same material. See below for gif demonstrations.

                          Triangulation and other export features are optional (see attachment). (But making "preserve_instancing => true" doesn't seem to be working)

                          https://gifyu.com/images/slender_demonstration.gif

                          https://gifyu.com/images/slender_demonstration_tripleclick.gif


                          export_collada.JPG

                          1 Reply Last reply Reply Quote 0
                          • Q Offline
                            qpik
                            last edited by

                            Unless I'm missing something there's no combination of COLLADA import/export settings in SU and Blender that would keep components. It's just how those exporters/importers work.

                            Triangulation solves issue with holes in faces, which are not supported, as far as I learned, in Blender.

                            The real question is whether keeping component structure is really necessary, I doubt it.

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              n8phu
                              last edited by

                              I am getting the same result as qpik, I put the pause i nthe bat file and this is the error it is giving me:
                              TypeError: Converting py args to operator properties: : keyword "include_material_textures" unrecognized

                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                n8phu
                                last edited by

                                I should have also included I am using win 10, blender 2.79c, sketchup 17

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

                                Advertisement