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

    [Plugin] FredoTools::ThruPaint - v1.3a - 20 Oct 16

    Scheduled Pinned Locked Moved Plugins
    331 Posts 102 Posters 505.3k Views 102 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.
    • M Offline
      modavi
      last edited by

      Hi Fredo, thanks for the amazing plugins! They're indispensable!

      I am running into an issue exporting a mesh textured with ThruPaint to OBJ or FBX. Neither format preserves the UVs I've generated.

      Mesh in sketchup

      After exporting the above mesh to obj or fbx format, and then import it into another program (I've tried both maya and unity) the UVs seem to have reverted to a basic planar projection.

      Unity mesh

      Is there anything required to "bake" the UVs into the mesh before they can be exported successfully by the built in sketchup exporters? I've tried enabling triangulation in the export options, but that does not fix the issue.

      It's worth noting I'm using Sketchup 19.3.252 on OSX.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • R Offline
        rv1974
        last edited by

        Fredo, would it be possible to add 'triangulate quads* on painting option to ThruPaint?
        *- analogous to TT's Quadface Tools?

        1 Reply Last reply Reply Quote 0
        • fredo6F Offline
          fredo6
          last edited by

          @rv1974 said:

          Fredo, would it be possible to add 'triangulate quads* on painting option to ThruPaint?
          *- analogous to TT's Quadface Tools?

          What do you mean?
          In QuadMesh mode, ThruPaint works whether the quads are true quads or are triangulated.
          Do you want to force triangulation?

          1 Reply Last reply Reply Quote 0
          • R Offline
            rv1974
            last edited by

            Yes I mean 'force triangulation' option (I hope we are talking about the same things πŸ˜„
            You see, if I'd export some perverted mesh (with QuadMesh UV applied) as foreign format (3ds, fbx, obj etc) I'd get tons of independent 'materials'- (one mat for every single face). The only wayI know to avoid this plague is triangulation. TT's Triangulate command works perfectly,
            The only inconvenience it's an extra procedure. Simultaneous painting + triangulation would be just perfect.

            1 Reply Last reply Reply Quote 0
            • fredo6F Offline
              fredo6
              last edited by

              @rv1974 said:

              Yes I mean 'force triangulation' option (I hope we are talking about the same things πŸ˜„
              You see, if I'd export some perverted mesh (with QuadMesh UV applied) as foreign format (3ds, fbx, obj etc) I'd get tons of independent 'materials'- (one mat for every single face). The only wayI know to avoid this plague is triangulation. TT's Triangulate command works perfectly,
              The only inconvenience it's an extra procedure. Simultaneous painting + triangulation would be just perfect.

              OK. But then, why don't you do the triangulation once, and then call ThruPaint after.

              My problem is more to see how to fit the option in an already crowded GUI, and also keeping ThruPaint doing what it is paid for, that is, apply colors and textures, not alter the geometry.

              1 Reply Last reply Reply Quote 0
              • R Offline
                rv1974
                last edited by

                Quite often I have to deal with truly complex files (say +100k objects, +1.5M faces).
                It's simply inevitable to skip some objects (that must be triangulated).
                For instance, Profile Builder allows instant multiple paths profile creation. I suggested Whaat to add 'triangulate upon creation' option But it wasn't addressed unfortunately. And then when the moment of export comes... Houston we have a problem 😲
                Anyways.. I don't think one tiny 3x3mm Ξ” button will mess up the palette. Per contra, the benefit would be inexpressible.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Bandika
                  last edited by

                  My favourite tool! Though now I have problems in SU2019.
                  A tiny little surface, such as a chair seat lasted 1,5 hour to paint. Earlier it was cca. 5 seconds.
                  Every little surface is 1 hour to do.

                  What could happen? I am going crazy...

                  1 Reply Last reply Reply Quote 0
                  • fredo6F Offline
                    fredo6
                    last edited by

                    @bandika said:

                    My favourite tool! Though now I have problems in SU2019.
                    A tiny little surface, such as a chair seat lasted 1,5 hour to paint. Earlier it was cca. 5 seconds.
                    Every little surface is 1 hour to do.

                    That's not normal.
                    Could you post or PM me the model.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Bandika
                      last edited by

                      Dear Fredo!

                      It just has recovered!!! I deleted then istalled again the extension, and now it is working as fine as before!!! Maybe it got scared from you:)
                      Big thanks!

                      1 Reply Last reply Reply Quote 0
                      • fredo6F Offline
                        fredo6
                        last edited by

                        Good to hear.

                        Still, I wonder what was creating the performance problem...

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          Bandika
                          last edited by

                          Me too. Strange, that it did not freeze, it worked, finally it made it - just in one and a half ours. I worked in two files that time, it was exactly the same. I am happy now that it works again:)

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            rv1974
                            last edited by

                            Fredo, is it possible to add ability to assign (globally ) front face materials to corresponding back faces AND preserve front faces texture coordinates?

                            1 Reply Last reply Reply Quote 0
                            • fredo6F Offline
                              fredo6
                              last edited by

                              @rv1974 said:

                              Fredo, is it possible to add ability to assign (globally ) front face materials to corresponding back faces AND preserve front faces texture coordinates?

                              In principle, the UV are mirrored on the backface.

                              Can you first try FredoTool:ReverseOrientFace to see if this does the job with the good mirroring on the back face.

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rv1974
                                last edited by

                                @unknownuser said:

                                In principle, the UV are mirrored on the backface.

                                Can you first try FredoTool:ReverseOrientFace to see if this does the job with the good mirroring on the back face

                                In my tests your ReverseOrientFace is completely OK on transferring UV's when flipping.
                                Does it mean you potentially could add my request to ThruPaint or ReverseOrientFace?
                                Off-topic Minor issue: In ReverseOrientFace I can't make make tooltips work (they are enabled and SU restarted)

                                1 Reply Last reply Reply Quote 0
                                • fredo6F Offline
                                  fredo6
                                  last edited by

                                  Just to be sure, you want a very unusual behavior, which is that the UV on the other side of the face are different.

                                  In Sketchup, ThruPaint, etc... the flipping of faces or the painting on both sides of a face keeps the UV identical (so that if the material is transparent, you see only one texture).

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    rv1974
                                    last edited by

                                    In simple words I need singe click solution that'd take everything I see on front and apply in exact manner to the back (no matter what happens currently on the back, it will be replaced with front textures).
                                    Theoretically ThruPaint is good if you'd start from the scratch and use TruPaint exclusively all the way.

                                    1 Reply Last reply Reply Quote 0
                                    • fredo6F Offline
                                      fredo6
                                      last edited by

                                      Do you have an example. I am still not sure of what you want.

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        rv1974
                                        last edited by

                                        The same components with the same material applied, but with randomized UV's..
                                        Is it theoretically possible in current SU? Maybe some trick thru dynamic components?

                                        1 Reply Last reply Reply Quote 0
                                        • fredo6F Offline
                                          fredo6
                                          last edited by

                                          @rv1974 said:

                                          The same components with the same material applied, but with randomized UV's..
                                          Is it theoretically possible in current SU? Maybe some trick thru dynamic components?

                                          Still not clear...
                                          Component instances behave the same when you paint their elements. And there is no control of UV when you paint their instances.

                                          1 Reply Last reply Reply Quote 0
                                          • summerson1990S Offline
                                            summerson1990
                                            last edited by

                                            Why is there a limit for only 5000 faces interactively refreshed while manipulating with the texture? Sometimes it's not possible to see interactive results on high poly meshes.


                                            Screenshot_19.png


                                            Here is a GIF as an example

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 14 / 17
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement