SketchUcation Plugin Store

 

 

[Plugin] Goldilocks v2.0

[Plugin] Goldilocks v2.0

Postby AdamB » Thu Oct 21, 2010 8:44 pm

I keep coming across models with parts that are totally out of kilter detail-wise with the rest of the model.

Having consistent texture density is important to give a sense of realism but sometimes models carry insanely large textures. Goldilocks can, for a given viewpoint, identify textures that are too large for your usage of them. You will gain nothing but file size by keeping the textures that Goldilocks identifies. It certainly won't help your raytracing etc.

The original Goldilocks is here viewtopic.php?f=323&t=22658

Goldilocks v2.0 adds Geometry analysis. Its not just texture resolution that needs to be consistent, its also a useful sanity check to have consistent "Content Density" in your model. ie your model is built with a consistent amount of detail. Before you say it, yes I know sometimes you have a reason for having more detail in one area than another.

However, I keep finding models running slowly that turns out an espresso cup with a zillion faces in the corner of the room. So "Content Density" is a measure of "geometry per unit of space".

Goldilocks v2.0 adds another menu item that shows all your Groups/Component Instances ranked with respect to the whole models "Content Density". Basically, if you run it on a model and see a Group/Component waay out in front - so the amount of geometry per unit of space for that Component is far higher than the rest of the model - you might want to have a quick look to make sure thats what you really want.

Here what a report for geometry looks like. You can see a Group called "plate" has a much higher Content Density than everything else. Thats because that 1 plate has 38000 faces.. :-)
SketchUpScreenSnapz058.png


Adam
Please, register (free) to access all the attachments on the forums.
Last edited by Gaieus on Tue Nov 02, 2010 11:02 am, edited 1 time in total.
Reason: Edited subject as in the lack of the [Plugins] tag, it was not listed in the index.
Developer of LightUp http://www.light-up.co.uk
User avatar
AdamB
LightUp
 
Posts: 751
Joined: Wed Dec 12, 2007 10:49 am
Location: Brighton, UK
Name: AdamB

Re: Goldilocks v2.0

Postby thomthom » Thu Oct 21, 2010 8:57 pm

:thumb:

Sounds cool.

Wonder what it'll say about my models... :roll:
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17621
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Goldilocks v2.0

Postby EarthMover » Thu Oct 21, 2010 9:01 pm

This will be useful for me. Thanks! :thumb:
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
User avatar
EarthMover
Top SketchUcator
 
Posts: 1792
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails

Re: Goldilocks v2.0

Postby honoluludesktop » Thu Oct 21, 2010 9:35 pm

Very handy, Adam. The next step is to semi-automatically "reduce-texture", "poly-reduce" or "un-smooth" select problem areas. Who said "we can't ask for everything".:-) Just kidding.
User avatar
honoluludesktop
In Remembrance
 
Posts: 2219
Joined: Fri Sep 12, 2008 12:08 am
Location: Hawaii

Re: Goldilocks v2.0

Postby Pixero » Fri Oct 22, 2010 3:33 pm

Thanks for the update Adam, I know I have "sinned" before. ;)
Would it be possible to have the plugin recrop and/or resize an image?
I have used some models, like framed pictures, from 3d warehouse that upon inspection consisted of one huge image that was applied to several frames with even more of the image outside the frames. doing it manually would take a lot of time so would it be possible?
User avatar
Pixero
Premium Member
Premium Member
 
Posts: 1285
Joined: Wed Nov 14, 2007 2:58 pm
Location: Halmstad, Sweden
Name: Jan Sandström
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Goldilocks v2.0

Postby Ben Ritter » Fri Oct 22, 2010 4:08 pm

Adam, thank you.
Ben Ritter
 
Posts: 353
Joined: Wed Nov 14, 2007 4:55 pm
Location: Malta, Illinois

Re: [Plugin] Goldilocks v2.0

Postby richhaas » Wed Apr 13, 2011 11:03 pm

Great Plugin Adam! I ran this on the "723 SPRING STREET" Sketchup file and I couldn't believe how large the percentages were for the VELUX window components! Lesson learned. If you're importing anything into your drawings run this to see if you haven't imported a jillion faces.
I don't want manufacturers cutting down on detail but how about a second component line that is just visible faces...
richhaas
 
Posts: 5
Joined: Tue Feb 15, 2011 5:40 pm

Re: [Plugin] Goldilocks v2.0

Postby JPMays » Thu Mar 08, 2012 4:38 pm

Adam, thanks for this plugin. I think it will prove helpful in reducing my file sizes. I do have a question about the output, however. Can you explain to me what the higlighted numbers below mean? You interpreted the below graphic to mean that the plate had 38,000 faces - how did you know that? Did you just open that component and select them? Or do those numbers relate to that?



Thanks.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
JPMays
 
Posts: 34
Joined: Thu Jan 14, 2010 8:55 pm
Name: JPMays

Re: [Plugin] Goldilocks v2.0

Postby August » Thu May 31, 2012 5:17 am

My guess, without a reply from Adam, is that the 38,000 number is half of the number shown. The math works between what is shown and what Adam said. But why half? Well, if he is counting the number of edges of each face, most edges are going to be counted twice. It would only be ALL edges counted twice if the object was a "manifold", closed 3D shape with no floating bits of faces anywhere.

That's my guess,
August
“An idea, like a ghost, must be spoken to a little before it will explain itself.”
-- Charles Dickens
August
 
Posts: 229
Joined: Thu Mar 27, 2008 1:48 am
Location: Boulder Creek, California
Name: August Mohr

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Keyframe Animation plugin - animate your SketchUp model by adding movement to any object.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

Who is online

Users browsing this forum: danl, entity66, ephi, mitcorb, peter2525 and 16 guests