• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Max size open gl for image ?

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
16 Posts 7 Posters 2.5k 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.
  • B Offline
    beauphilippe
    last edited by 24 Oct 2008, 11:00

    Hello, i have a little question of size image in su for use in background

    Sketchup open gl limitaion size ?

    • 1024 ,2048 or 4096

    Can i choose a size display image ?

    best regard

    1 Reply Last reply Reply Quote 0
    • R Offline
      remus
      last edited by 24 Oct 2008, 11:25

      If you mean using an image for a watermark, then i dont know of a limit on its resolution.

      If however you mean as in importing an image in to SU to use a a texture or whatever, then the max resolution is 1024x1024.

      http://remusrendering.wordpress.com/

      1 Reply Last reply Reply Quote 0
      • B Offline
        beauphilippe
        last edited by 24 Oct 2008, 11:38

        yes i neeed to import in sketchup

        i need import create floor plan

        Thank best regard

        1 Reply Last reply Reply Quote 0
        • A Offline
          Alan Fraser
          last edited by 24 Oct 2008, 13:09

          You can import an image of any size, but you will be wasting your time with anything above 1024...it will resample in the display. If you really do need resolution better than that, you'll need to slice the image up and butt the sections together.

          3D Figures
          Were you required to walk 500 miles? Were you advised to walk 500 more?
          You could be entitled to compensation. Call the Pro Claimers now!

          1 Reply Last reply Reply Quote 0
          • T Offline
            TaffGoch
            last edited by 24 Oct 2008, 17:54

            Alan,
            I applied the registry 'hack' you described back in May...
            Maximum OpenGL resolution
            ...and it worked great!

            beauphilippe,
            If you do change the registry, keep in mind that no one else will be able to see the improvement in your model, unless they've also changed their own registry. If you need the higher resolution for your own purposes only (for example, to trace or print,) then the registry change may be of practical use to you.

            Taff

            "Information is not knowledge." -- Albert Einstein

            1 Reply Last reply Reply Quote 0
            • M Offline
              mirjman
              last edited by 24 Oct 2008, 21:02

              I tried the registry trick and tested it by applying the same image at different resolutions to two planes, they both came out looking the same in the render though.. Am I missing something here? I have also tried editing the registry entry to allow a max size of 256 just to be extreme, and I had no noticeable change in the display.


              rescheck.jpg

              1 Reply Last reply Reply Quote 0
              • T Offline
                TaffGoch
                last edited by 24 Oct 2008, 23:18

                @unknownuser said:

                ":1s57y9pz]Am I missing something here? ...I had no noticeable change in the display.

                I don't know what to tell you. The registry change makes a noticeable difference, both on my display and in printouts.

                Taff


                DELL Precision M90 / 2 GB RAM
                nVidia Quadro FX 1500M / 256 MB
                nVidia driver: Forceware 162.65


                OpenGL_test.jpg

                "Information is not knowledge." -- Albert Einstein

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TaffGoch
                  last edited by 24 Oct 2008, 23:43

                  @unknownuser said:

                  ":37r9m15m]...tested it by applying the same image at different resolutions to two planes...

                  Wait a minute, ...what?

                  To test SketchUp's ability to display a texture at two different OpenGL registry settings, you only need ONE plane. I saved a 'model' with a single plane, textured with a 2048x2048-pixel image. I saved the model with a top-view, zoomed-in to an area of interest.

                  I grabbed a screen shot, closed SketchUp, changed the registry setting, re-opened SketchUp and the model (with the top-view, as previously saved) and grabbed another screen shot. As you can see, they're obviously different. The only change I made between screen grabs was the registry setting (1024 vs. 2048).

                  When the OpenGL registry setting is "1024," the detailed 2048x2048 texture is resampled for screen display, down to 1024x1024. When the registry setting is "2048," the detailed texture is not resampled, and the extra detail is retained.


                  By comparing two different texture images, you're potentially introducing additional variables. Making a single change (i.e.; the registry setting) ensures that only one variable can possibly affect the test results.

                  Any help there?

                  Taff

                  "Information is not knowledge." -- Albert Einstein

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mirjman
                    last edited by 25 Oct 2008, 17:47

                    Hi Taff-

                    I replicated your experiment here- exporting a jpeg of a plane with a 2048x image applied using the 1024 reg setting, then closing sketchup, changing reg setting to 2048, opening SU with no computer restart, then exporting a second jpeg of the same scene. I then tried making it more extreme by changing the registry setting to 64 and exporting that. In these cases, I had no noticable difference on my screen. I am wondering if it is because of another opengl setting in SU or graphics card setting? I have fast feedback and hardware acceleration check in my options. I am using an ATI radeon x600 card.

                    Any thoughts?

                    in the previous experiment, what I tried was creating a 1024 and a 2048 version of the same image in photoshop. I them imported them into the same model and applied them to two different planes of the same size. With the 2048 reg fix, I expected there to be a difference in the pixelation between the two in the display if the 2048 image was not downsampled. Since there was no difference between the images I assumed that the larger image had been downsampled so that they appeared the same. Probably not as precise as your method, but I expected a difference nonetheless.


                    001.jpg


                    002.jpg


                    004.jpg


                    005.jpg

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TaffGoch
                      last edited by 26 Oct 2008, 02:50

                      mirjman,

                      Hmm... I know that OpenGL definitions (versions) have progressed through greater-and-greater resolutions (the latest version supports 4096!)

                      Perhaps the SketchUp OpenGL registry setting is not all that's required. Surely the graphics hardware/driver also has to support the higher resolutions. (I would first suspect the driver.)

                      You may be able to find out more information from the ATI website, regarding your current driver. It sounds like your experiments should have produced similar results to mine (i.e.; your testing method sounds valid.)


                      You might also try the realtech-vr GLview testing program.
                      When I run a GLview test of my OpenGL card/driver, "Max texture size" is included in the report:

                      %(#008000)[Renderer: Quadro FX 1500M
                      Vendor: NVIDIA Corporation
                      Memory: 256 MB
                      Version: 2.1.1
                      Max texture size: 4096 x 4096
                      ...]
                      Taff

                      "Information is not knowledge." -- Albert Einstein

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mirjman
                        last edited by 27 Oct 2008, 17:55

                        thanks taff! thats a good utility program. I'll do some more testing around

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          plot-paris
                          last edited by 28 Oct 2008, 08:55

                          I didn't get any difference either; even with restarting my computer. weird...

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            Alan Fraser
                            last edited by 28 Oct 2008, 10:20

                            Although I posted that hack, I have to admit that it doesn't work for me in Vista. I guess there are all kinds of necessary parameters at work. Suffice to say, it works for some but not for others.

                            3D Figures
                            Were you required to walk 500 miles? Were you advised to walk 500 more?
                            You could be entitled to compensation. Call the Pro Claimers now!

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              axeonalias
                              last edited by 28 Oct 2008, 10:47

                              I had this same problem trying to use high res custom textures,the reduction is horrific,I checked my reg for the "max" file,none there ๐Ÿ˜ž

                              https://sketchfab.com/Axeonalias

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TaffGoch
                                last edited by 28 Oct 2008, 17:10

                                @unknownuser said:

                                ":2qzfuidq]...I checked my reg for the "max" file,none there๐Ÿ˜ž

                                The "MaxGLSize" DWORD value does not appear in the registry by default; you have to add it to the "...\SketchUp6\Textures" key, as described in the initial post of the original discussion:

                                Maximum OpenGL resolution
                                Based on comments, it appears that all three (hardware, driver and registry setting) have to support the higher resolution.

                                Taff

                                "Information is not knowledge." -- Albert Einstein

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  axeonalias
                                  last edited by 29 Oct 2008, 07:24

                                  Thx i did go through it,just didnt get it at first,ive done it on my work pc but this old horse does not seem to support,will have to try at home.

                                  https://sketchfab.com/Axeonalias

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

                                  Advertisement