[Plugin] Random Painter (Updated March 9th, 09)
-
Another thing!
That will be very useful too to apply the colors pallet without randomize!
By Orgelf -
You absolutely right that work fine!!!
Just inverse faces and all works like a charm for any drawing surfaces!!!
Todd is defeatedYou are brutal with him
-
Man that is very fun!
Using Zorro2 is perfect!!!Now you must permit to choose between colors paletts!
Because it's very painful to enter by hand some colors!Ruby technical state is ended, now artistic step begin
Phone Todd to stop his script!
-
Wow, thank you, Chris!
In a minute I'll show you what I wanted this for... -
@unknownuser said:
Todd is defeated! You are brutal with him
No, its not like that. Todd's script does a lot more thinking than mine. His works so that every other face is painted to create a checkerboard pattern. Mine will do no such thing. Mine just randomly paints the faces. Both have their uses.
I know of a ruby add-on that gives a color wheel thing. I'm going to try and see if I can figure out how to get it to work with this plugin so you can use a color wheel to pick the colors instead of typing them all in by hand. I make no promises on this one though,
Chris
-
Here are a few more views:
And here's the thread that inspired this exercise:
http://www.sketchucation.com/forums/scf/viewtopic.php?f=72&t=15785 -
@unknownuser said:
Phone Todd to stop his script!
Both scripts are very different, each serves a different purpose. I am already thinking of a couple of creative uses for Todd's script, both related to Greeble... You have to see beyond mere colors and into the selection possibilities of these tools.
And Pilou, you don't need to worry about entering precise values when using "Random Painter". Just click on the Red box and input "1", hit Enter, then "2", hit Enter, then "3", until you have the number of colors/materials you want. And then replace those "placeholder colors" with Any Colour You Like, one by one, with the Bucket tool + Shift.
Almost forgot: Here's the SketchUp file of "Greeble City":
-
Awsome, the way you do it Chris
.
Ecuadorian, i like very much this city view ;thanks for the trick
Pilou, tu es un beta testeur de classe Alpha
MALAISE
-
Thanks everyone! And wow!, that is a great usage for the script Ecuadorian! Maybe I'll play around with seeing if there is a way to use a folder of jpgs as the random materials instead of random colors. THen you could put all the building materials into a folder and just choose the folder and off it goes! But that might be over my head, I don't know.
But what I wanted to say was that I updated the script!
NEW!
Now there's a color palette for you to choose your colors from. It also lets you enter RGB values if you'd like. It does not allow for hex numbers though Frenchy, so no copy and paste still. This version requires WxSU plugin. So please install it and then install my plugin and see how it goes, hope you like the improvements. Also, I just added a prompt asking if you want to paint the backside of faces too. If your version doesn't ask that, then redwonload my plugin. It looked like a few people downlaoded the version that did not have that implemented yet.
Chris
-
great script, thanks
-
New York rebirth
WxSU Ruby is 2 649 742 size ?
(as 2,6 Gigas?)
Seems not reasonable loading -
As 2.6 Megas.
-
Amazing stuff, Chris.
This plugin comes in handy for an architecture project I am working on.
Thank you very much ! -
@ecuadorian said:
This exercise was inspired by a $4,000 program for "parametric" generation of cities I saw on the web. I just wanted to prove that you can "random generate" cities in SketchUp, too. Thank you a lot, Chris, for delivering the missing link to make this possible.
I saw that software as well. Played around with rubies to quickly generate some simple buildings.
With all these various plugins, it should be possible to make a City Generator script which automates the process you just did. What would be more interesting is if there was a script to generate streets in a non-rectangular pattern. Seeing how nearly every city is more organic laid out.
-
@unknownuser said:
As 2.6 Megas.
Many Thx!
Seems more reasonable
I had asked that because loading was not working till yet for me
Edit : works -
This is how I am using the plugin.
-
Very more confortable for the color choice!
About the greeble, there is now a message between each new generations: is that normal?
-
@thomthom said:
With all these various plugins, it should be possible to make a City Generator script which automates the process you just did. What would be more interesting is if there was a script to generate streets in a non-rectangular pattern. Seeing how nearly every city is more organic laid out.
THat's precisely what my plan is Thom. My decision to get into scripting came immediately after a marathon weekend of modeling the entire city of San Jose (in California). I thought there needs to be a better way to make filler buildings. Thats why I started with the greeble script. I'm hoping to grow it into more of a building generator.
But I had not considered using the colors like this. Its really quite nice. I'm impressed with how everyone is using it! I wish I could get the custom colors to remember what they were set at. But that seems impossible at the moment.
@Frenchy - sorry aboutt he greeble popping up a number message everytime you greeble. That was part of my testing and I thought I clread it out before uploading. So I uploaded another version of it to get rid of that annoying pop up if you'd like. Thanks for your patience!
Chris
-
@chris fullmer said:
THat's precisely what my plan is Thom. My decision to get into scripting came immediately after a marathon weekend of modeling the entire city of San Jose (in California). I thought there needs to be a better way to make filler buildings. Thats why I started with the greeble script. I'm hoping to grow it into more of a building generator.
I'm in particular interested in working out an algorithm to generate a streetmap. I'm thinking that a script would take a face and generate streets represented by single lines. Now it should be possible for the greeble script to split up the faces in between the streets and construct buildings. I hope to find some resources on the internet on creating procedural formulas, which a person without a math doctor degree can understand.
-
@thomthom said:
I hope to find some resources on the internet on creating procedural formulas, which a person without a math doctor degree can understand.
Thats the key, isn't it?! I'm surprised at how complex some things are to do.
Chris
Advertisement