It is currently Thu Sep 02, 2010 9:59 pm

Registration
Login Help

Advertise Here

[Plugin] Polyreducer 0.1

FAQMembersRegisterLogin

[Plugin] Polyreducer 0.1

Postby Whaat on Sat May 17, 2008 4:29 am

Hi all,

I want to release this script so I can get on to other things. It's not perfect but it works pretty well. I don't know if I will work on this script any more. Anyone is free to take over where I left off.

If anyone is interested, I have also attached the reference material for the algorithm that the plugin is based on. (Thanks to Stan Melax for the article)

Usage:

1) Select the faces that you want to perform the reduction on.
2) Right click and select 'Polyreduce' from the context menu.
3) Input the percentage reduction. For example, select 20 to reduce the number of vertices by 20%.
4) A recommended workflow is to perform several reductions using a smaller percentage (50% or less). Then, use the 'undo' and 'redo' commands to cycle through the reduction operations to choose the level of detail you are most satisfied with.

Issues:

1) It is highly recommended not to use this plugin on faces that have free edges. It will likely not work as expected.
2) The plugin must triangulate all faces that are connected to the selected faces prior to performing the reduction.
3) The plugin is quite slow and may cause SketchUp to hang. It is usuallly successful in completing the reduction if given enough time.
4) Material assignment is maintained but UVs (texture position) are not.
You do not have the required permissions to view the files attached to this post.
Whaat
 
Posts: 618
Joined: Wed Nov 14, 2007 9:51 pm
Location: Saskatchewan, Canada
Name: Dale Martens
Operating system: MS Vista, OSX 10.5.6
SketchUp version: Google SU7 Pro

Re: [Plugin] Polyreducer 0.1

Postby Boofredlay on Sat May 17, 2008 5:10 am

Thanks Dale. This should prove very useful indeed.
I just got your Subdivide and Smooth tonight... starting to play.
Form Fonts Artist
Please visit my blog
User avatar
Boofredlay
Latest Challenge Winner
 
Posts: 6208
Joined: Mon Oct 22, 2007 1:50 pm
Location: Huntsville/Madison Alabama
Name: Eric Lay
Operating system: Win XP Pro SP 3
SketchUp version: Black Ops

Re: [Plugin] Polyreducer 0.1

Postby lewiswadsworth on Sat May 17, 2008 6:03 am

Thank you, Dale.

I had an interesting conversation with John Bacus and several other Google people about your recent scripts at the AIA convention today (or rather yesterday). I'll summarize sometime tomorrow (its 1:30 AM, and I've been grading assignments for the past few hours) in your subdivide and smooth thread, because that was the item that dominated our talk.
User avatar
lewiswadsworth
 
Posts: 722
Joined: Wed Jan 30, 2008 4:09 pm
Location: Boston
Name: Lewis Wadsworth
Operating system: Win7 64-bit, Ubuntu Linux
SketchUp version: ha!

Re: [Plugin] Polyreducer 0.1

Postby remus on Sat May 17, 2008 7:38 am

Cheers whaat, another useful plugin to add to the arsenal.

(perhaps i should setup a shortcut key for saying that ^ , it seems to be a recurring thing :P )
User avatar
remus
Global Moderator
 
Posts: 7995
Joined: Fri Nov 30, 2007 8:48 am
Location: UK
Name: remus
Operating system: vista
SketchUp version: 7.whatever

Re: [Plugin] Polyreducer 0.1

Postby watkins on Sat May 17, 2008 7:56 am

Dear Dale,

I too would like to add my thanks for a very useful script.

I have been playing around with a new bathroom design (for myself), and so I will try your script on some of the high poly models of basins and toilets I have found on the web.

Kind regards,
Bob
watkins
 
Posts: 1059
Joined: Wed Nov 14, 2007 5:47 pm

Re: [Plugin] Polyreducer 0.1

Postby pichuneke on Sat May 17, 2008 10:12 am

:o


You could have earned some money! You know it. If you had developed the rb a bit more, you could have done a new plugin like subsmooth rb...

Thanks a lot. I don't have enough words.
Forgive my spanglish...
User avatar
pichuneke
 
Posts: 274
Joined: Thu Dec 06, 2007 10:14 pm
Location: Spain
SketchUp version: 6 - Free

Re: [Plugin] Polyreducer 0.1

Postby Jon on Sat May 17, 2008 10:28 am

Thanks so much, Dale. Very useful. :D
And thanks again for making it free. :D :D
You do not have the required permissions to view the files attached to this post.
Jon
KT Team member
User avatar
Jon
 
Posts: 262
Joined: Fri Nov 16, 2007 12:56 pm
Location: Ontario, Canada
Operating system: Windows Vista
SketchUp version: 7

Re: [Plugin] Polyreducer 0.1

Postby solo on Sat May 17, 2008 10:47 am

Dang! another excellent addition.

Image

Thanks mate.

We gonna have to start naming this software 'Whaats-up' soon.
My Portfolio:
http://solosplace.com/default.aspx

The average user never reads user guides and tutorials, that's why they are only average.
User avatar
solo
Global Moderator
 
Posts: 6660
Joined: Mon Nov 12, 2007 1:46 pm
Location: Dallas, Texas
Name: Pete Stoppel
Operating system: Vista
SketchUp version: classified

Re: [Plugin] Polyreducer 0.1

Postby ilay7k on Sat May 17, 2008 11:02 am

Thank you!

Pete, you need assembly sketchup - whaat edition :)... don't forget other talented ruby-writers of our community ;)...
ilay7k
 
Posts: 304
Joined: Wed Nov 14, 2007 3:49 pm
Location: Shymkent, Kazakhstan
Name: Ilya Shpilkin
Operating system: WinXp Pro 32(sp2)
SketchUp version: 6.4.112 (Pro)

Re: [Plugin] Polyreducer 0.1

Postby Juju on Sat May 17, 2008 11:36 am

Sweet man, thanks!
Save the Earth, it's the only planet with chocolate.

Image

Keeping things organised is not a sin. ;)
User avatar
Juju
 
Posts: 1125
Joined: Mon Oct 22, 2007 1:45 pm
Location: Durbanville, Cape Town, South Africa.
Name: Julian Smith
Operating system: XP SP3 / OS X / Vista SP1 / Win 7 RC1
SketchUp version: SU 7.0.10274 (Pro)

Re: [Plugin] Polyreducer 0.1

Postby kwistenbiebel on Sat May 17, 2008 11:43 am

Thank you Whaat.
A great contribution again to the SU community!
:thumb: :thumb: :thumb:
kwistenbiebel
 
Posts: 2625
Joined: Thu Nov 22, 2007 6:13 pm

Re: [Plugin] Polyreducer 0.1

Postby Mike Lucey on Sat May 17, 2008 11:51 am

Thanks Dale,

Again a most generous ccontribution that is truly appreciated by the Community.

Mike

PS: Will you be at 3DBC, I'd like to buy you a drink!
"Reality is merely an illusion, albeit a very persistent one." - Albert Einstein
User avatar
Mike Lucey
Mayor
 
Posts: 4949
Joined: Mon Oct 22, 2007 1:22 pm
Location: West of Ireland
Operating system: Mac OSX
SketchUp version: SU Pro V7.1

Re: [Plugin] Polyreducer 0.1

Postby johnsenior1973 on Sat May 17, 2008 12:00 pm

I've only done some quick tests, but so far I'm struggling to find any reason for this plugin. Following on from Solo, I pulled a model of Bender from the 3DW. I tried a poly reduction of 30% on it, it messed up the model slightly and actually increased the file size from 1500 kb to 1639 kb.
User avatar
johnsenior1973
 
Posts: 521
Joined: Fri Dec 07, 2007 4:36 pm
Location: Elizabethtown, Kentucky, USA
Operating system: Vista
SketchUp version: 7 .1..6807 free

Re: [Plugin] Polyreducer 0.1

Postby remus on Sat May 17, 2008 12:31 pm

File size isnt really very important unless your creating absolutely monstorous files. What does matter however is face count. You can have a 100mb file open easily if its got 50,000 faces, but if its got more than 200,000 faces your in for a hard time.

So basically face count is more important than file size pretty much all the time.
User avatar
remus
Global Moderator
 
Posts: 7995
Joined: Fri Nov 30, 2007 8:48 am
Location: UK
Name: remus
Operating system: vista
SketchUp version: 7.whatever

Re: [Plugin] Polyreducer 0.1

Postby ilay7k on Sat May 17, 2008 1:04 pm

ehhh...can you(Whaat) add real-time trigger as at standard smoothing tool?
ilay7k
 
Posts: 304
Joined: Wed Nov 14, 2007 3:49 pm
Location: Shymkent, Kazakhstan
Name: Ilya Shpilkin
Operating system: WinXp Pro 32(sp2)
SketchUp version: 6.4.112 (Pro)

SketchUcation One-Liner Adverts

by Ad Machine on 5 minutes ago

ICEvision - Spread serious fun
Ad Machine
Robot
 
Posts: 2010

Next

 

Advertise Here

Who is online

Users browsing this forum: Google Adsense Bot and 4 guests