Compress sketch-up file's materials
-
Hi,
I'm working on a architectural scene and each of the building images I have imported have been compressed and downscaled to what I thought was small. But now the file itself is about 50mb and when loaded into sketch up it uses about 2.5gb of ram - not a problem in itself as I have 8gb of ram but I think the problem is in the software limitations and my 256mb graphics card on my macbook.
Each image I import is about 1500px x 1500px and is about 500kb on average, some more, some less.
I have about 150 materials in the file.The problem is its crashing ever time I undo anything and try to work with it
Is this too much?
Is there a way to quickly compress it all so it runs better? maybe a script to do this?Thanks,
Luke -
Those are pretty large image sizes. SU itself won't display images that size by default, it will resample down...it's a function of OpenGL. The default maximum image size is only 1024 square. If you want it any larger you'll need to check the box on the OpenGL tab in System Preferences; in which case it will rise to 2048 square...but will hit performance even more.
Personally, I'd try to use smaller images.
-
Is there a way to do this automatically for the textures in the file?
would take me forever to put the images in again
-
You can right click on any image thumbnail in the materials browser > in model section and "edit texture image". Now resize and when you save, it will update instantly in SU (keeping the UV co-ordinates). There are plugins that would export all the images into a separate folder and where you could apply a batch resize command with certain image editors however now I cannot think of any that would batch re-import them.
You can also try to export to Collada (check the options to keep model hierarchy and texture maps) and SU will export all the materials in a separate folder. Now resize all and import the file back as collada (problem is that the current collada exporter will rename your materials but if that is not an issue, try this).
-
You could also use this plugin for batch-processing all materials
-
have a look at Texture Resizer, http://forums.sketchucation.com/viewtopic.php?t=40720#p360679 it's really fast on the mac, uses core image to scale selected or all.
I use it in conjunction with goldilocks.rb, instal that first for most benefit...
leave a message at the link so you get any update news...
john
-
That's a good solution. It seems I am getting old and cannot remember every post on the forums any more
Advertisement