[Plugin] Goldilocks
22 posts
• Page 1 of 1
[Plugin] Goldilocksaka 'Not too much, not too little'
One of the common problems I come across when speaking with people using texturing in any package, is how much resolution/detail is needed in textures. Is 256x256 pixels enough? 1024x1024? 4096x4096? Have too much texture resolution, and you slow down your system, too little and you get blurry renderings. The amount of resolution you need is "view dependent". If you're very close to a surface you need more detail in the textures than when you're far away. Goldilocks analyses your materials and model with respect to the current viewpoint and produces a bar chart showing which textures are about the right resolution (green bars), and which are too high resolution resulting in wasted space/larger filesize, or too low resolution resulting in a blurry look - both shown as red bars. Adam Developer of LightUp http://www.light-up.co.uk
Re: [Plugin] GoldilocksCool idea and well implemented, have to run it over a few of my old models and see what it thinks
one mini crit, would it be possible to have a different colour for 'too small' and 'too big', as if all your textures are one way its extra work to try and figure out whether to enlarge or shrink the texture.
Re: [Plugin] GoldilocksOK, here's an updated one with 3 color barcharts as suggested my remus. Also turns on scrolling.
Please, register (free) to access all the attachments on the forums. Developer of LightUp http://www.light-up.co.uk
Re: [Plugin] GoldilocksWorked well for me also. Although, as it is a viewport dependent report and I typically render out 5 or 6 views for a client, I don't believe it would be practical to change the image resolutions for each render. It will help to find errant resolutions on imported models that may be slowing down my scene overall though.
Thanks for all your hard work to make this tool! A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
Re: [Plugin] GoldilocksExcellent tool! Thanks. This will help me as a relatively new guy on getting that texture right.
Re: [Plugin] GoldilocksMay I suggest that you only offer one version of the plugin in the start of the thread? You'll find that people don't always scroll down to look for updates, and it can get hard to find the latest if it's hidden down in the thread.
(A screenshot gives you cookies points. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Plugin] GoldilocksThanks for this, Adam.
If I am estimating correctly, "1.0" means the texture is about the right size for a 640x480 render for the current camera, right? Then for renderings that are to be printed, I must try to get my textures around the 4.0 spot. Please, register (free) to access all the attachments on the forums.
Re: [Plugin] GoldilocksNice ruby for max use of limited resources, thanks Adam
Re: [Plugin] Goldilocks
http://en.wikipedia.org/wiki/Goldilocks_Principle
Re: [Plugin] GoldilocksHi Adam, OK... so I have a SU model sent to me that has about 12 images that are way oversized.
I can easily see the big files in Windows Explorer and resize the images manually with Pshop... but how can I easily load them back into SU? SU already has these larger material textures loaded ... it would be cool if there were a tool to quickly replace them with the newly re-sized images. some sort of "Replace all textures in scene that are in this folder" of course, even better would be to use Goldilocks, but then be able to select any image that is desired to be resized and resize it with that tool all without leaving SketchUp. If anyone knows of a tool to reload the textures in the SU file from a file folder, please let me know.
Re: [Plugin] GoldilocksIts built in since v7.0. You set your image editor in Window > Preferences > Applications.
Then right click on a face that has an image. Chose Texture > Edit Texture Image" and it will open it in your editor. Resize it, close, and SU updates it. Chris
Re: [Plugin] GoldilocksHi Chris, of course, it's easy if you only have one texture that you know of, but if you have 12 images or more in a file that need to be resized, and you are not sure which they are or names even or even where they are in the scene, you may not have created the scene (large arch. office for instance)... not so fun.
Re: [Plugin] GoldilocksAhh, I see.
Chris
Re: [Plugin] GoldilocksThanks
Re: [Plugin] GoldilocksThank you AdamB this is very useful!!
Re: [Plugin] GoldilocksFletch (or anybody) where do i find the textures of my SU file? Is there temporary folder somewhere? I tried searching but i suck...
Re: [Plugin] GoldilocksPress B to activate SletchUp's Material editor.
Select a material with Alt+Click Go to the Edit tab in the material editor and click on the striped cube with an orange arrow pointing right. This will open the material's texture in your photo editor (Photoshop, GIMP, Paint.NET, etc). If you haven't done already, you might want to first select your photo editor for SU textures in Window > Preferences > Applications.
Re: [Plugin] Goldilockspg09,
If you are using Twilight, and export to XML and choose to export the texture images and IES files, it will export them all into the folder for you... that's how I am able to quickly find the 12 big files out of the 60 image files in the scene without one-by-one checking. Although, with Goldilocks, it's now a different process!
Re: [Plugin] Goldilocksthank you guys!
it was more Fletch's answer i was looking for. Sometimes i have to work with SU files that are just chaotic (not even the purge ruby helps) so this is one more trick to see what's going on... And yes it would be a dream come through if this plugin not only would show the problematic textures but would also fix them per click )maybe offer 2-3 lower res options... That sounds complicated to program though but what do i know...
Re: [Plugin] Goldilocks
Easy enough to do but Goldilocks shows you the density for a specific viewpoint. If you change the view and zoom in closer, the texture that was too detailed before, is now OK. So probably best to just highlight potential problems. I had a model the other day from somebody which was incredibly slow - turned out 1 texture was 12000 x 10000 pixels. Just the act of Sketchup shrinking it took 1.6Gb on my Mac Adam Developer of LightUp http://www.light-up.co.uk
Re: [Plugin] GoldilocksI kept using this plugin all the time...
I wonder if you could add a "threshold" checkbox that only shows a report for textures above certain dimensions. For example: "Only show textures above 1024 pixels in the longest dimension", or something like that... perhaps a drop-down for selecting between 1024, 512 and 256. It would be really useful as then I could focus first on the biggest offenders.
SketchUcation One-Liner AdvertsNeed Authorised SketchUp Training by experts in various disciplines? Check out our Training details.
22 posts
• Page 1 of 1
|