Max size open gl for image ?
-
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
-
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.
-
yes i neeed to import in sketchup
i need import create floor plan
Thank best regard
-
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.
-
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
-
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.
-
@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
-
@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
-
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.
-
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 -
thanks taff! thats a good utility program. I'll do some more testing around
-
I didn't get any difference either; even with restarting my computer. weird...
-
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.
-
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
-
@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
-
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.
Advertisement