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

    Any SU render engines that renders distorted textures?

    Scheduled Pinned Locked Moved Developers' Forum
    97 Posts 17 Posters 16.5k Views 17 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.
    • S Offline
      sepo
      last edited by

      Can you give an example SU file. I will it try it for you in Podium and LUp.

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

        Here's a skippy and a screenshot how it looks like in SU.


        UVMappingTest.png


        UVMappingTest.skp

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

        1 Reply Last reply Reply Quote 0
        • S Offline
          sepo
          last edited by

          Tried Podium. All of those render but distorted. However by making it unique it renders no problem.


          distorted.jpg

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

            @sepo said:

            Tried Podium. All of those render but distorted. However by making it unique it renders no problem.

            Yea, Make Unique generates a new texture and gives the face new UV co-ordinates.

            What I'm trying to find out though, if there is any renderers that actually handles this. More importantly, I'm interesting in how they handle it.

            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

              hm...

              @unknownuser said:

              This problem is rooted in the fact that SketchUp does not provide correct UV coordinates for distorted textures. Try rendering that scene in Podium (or another rendering engine) and you will see the same problem. AFAIK, the only renderer that supports rendering of distorted textures is Kerkythea.

              http://www.indigorenderer.com/forum/viewtopic.php?p=83270&sid=3da5562f1dbd93eb983b000d3eb0da12#p83270

              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
                dedmin
                last edited by

                HyperShot

                UVMappingTest.29.jpg

                Twilight

                twilight.jpg

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

                  Ok. so far: Kerkythea and HyperShot.

                  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
                    dedmin
                    last edited by

                    Only Hypershot - the image from the Twilight is distorted. Hypershot converts everything to obj before rendering.

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

                      I saw Twilight was wrong. Though Whaat mentioned in his post whic I quoted that Kerkythea rendered correctly.

                      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

                        @aerilius said:

                        This example renders really well in Kerkythea, even with projected textures.

                        Actually, in that image, the distorted is not rendered correct.

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

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          sepo
                          last edited by

                          Kerkythea does not render correctly same as Podium or Twilight.
                          I will try LUp later.

                          1 Reply Last reply Reply Quote 0
                          • soloS Offline
                            solo
                            last edited by

                            Vue.


                            distorted.jpg

                            http://www.solos-art.com

                            If you see a toilet in your dreams do not use it.

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

                              How does Vue work with SU?

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

                              1 Reply Last reply Reply Quote 0
                              • soloS Offline
                                solo
                                last edited by

                                Export to .3ds, open in Vue, hit render.

                                http://www.solos-art.com

                                If you see a toilet in your dreams do not use it.

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

                                  I see. So Vue doesn't read the Su data directly...

                                  What does Hypershot do?

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

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

                                    I have not used Podium or Twilight yet, but some days ago I read in the forum that they are based on the Kerkythea engine (???).
                                    This example renders really well in Kerkythea, even with projected textures.
                                    Kerkythea.jpg
                                    But I have experienced many times that distorted textures look strange and it's always an annoyance when everything is fine in SU and you have no idea what to correct:
                                    render5.jpg
                                    Also some distorted textures can appear resized to ca. 10px width (then replace by original texture and it's ok).

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      Chris_at_Twilight
                                      last edited by

                                      This is definitely a curious problem. Here's some thoughts on it.

                                      tex_distort.jpg

                                      This is an image from Twilight with the edge line drawn where Twilight triangulates the quad. It's quite obvious that the distortion moves in different direction on either side of the split. But what's important to notice is that the exact corners are not 'wrong'. As I'm sure you know, texture is mapped via UV, and those UV coordinates exist only where there are geometric vertices. They are basically anchor points for the texture, and here, the anchor points are correct. What is wrong is how the texture is interpolated between anchor points.

                                      I think the difference is that SU uses a kind of 'quad' interpolation for textures, using four anchor points (even when the face is 3 or 5 or whatever sides), whereas Twilight, and probably many other applications, interpolates textures using only 3 anchor points because the math is fast (which makes for faster renders!). If so, this makes it a fairly fundamental difference that will be difficult to correct for.

                                      What surprises me the most is the SU exports, at least in .3ds, in such a way that it's interpreted correctly in Vue. Is it Vue, or is it the export process? I'd be curious to see an export to .3ds and rendered in another app, like Kerkythea.

                                      Anyway, I could be mistaken about the whole thing, but it seems a possible scenario.

                                      http://www.TwilightRender.com

                                      1 Reply Last reply Reply Quote 0
                                      • jeff hammondJ Offline
                                        jeff hammond
                                        last edited by

                                        interesting....

                                        Indigo:

                                        open skp and push render:
                                        indy.jpg

                                        export as 3ds.. import 3ds and push render:
                                        indy3ds.jpg

                                        these are the settings i used for the 3ds export (i didn't try any other variations.. i set it like this first try and it worked)
                                        screen 1.jpg

                                        dotdotdot

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          Chris_at_Twilight
                                          last edited by

                                          Huh. The .3ds format only supports triangles (I think), so there is a way to represent the texture interpolation used by SU using only 3 UV coordinates (and the .3ds export knows it! )

                                          http://www.TwilightRender.com

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            Chris_at_Twilight
                                            last edited by

                                            I just tried an export with Collada and was amazed that, despite the fact that the UV coordinates were very simple, it somehow was distorting it correctly. 😲
                                            Well, turns out, the export produces an output texture that is "pre-distorted" 😒
                                            Is that what the .3ds export does? That may be the only way to do it, to distort the texture image rather than have the render app try to reproduce the mapping technique...

                                            http://www.TwilightRender.com

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

                                            Advertisement