ScriptSpot

Script

Rock Maker v2.5 & Rock My World v1.6!

By lucpet59 · 2010-07-02

Version
2.5 & 1.6
Date updated
2012-04-10
Votes
109
Description

This is a script I wrote while learning Maxscript.

--------------------------------------------------------------------------------------------

Create a high poly Rock and adjust to suit your needs

Click Make Low Poly and you'll get a low poly rock based on the high

poly rock that is unwrapped ready for Render to Texture.

You can save your shapes to presets and adjust the pivot with one click.

The original and the best: :)

--------------------------------------------------------------------------------------------

It is based on a tutorial by Sascha Henrichs

http://area.autodesk.com/tutorials/3dsmax_environment_modeling_1_procedural_stone

http://area.autodesk.com/tutorials/3dsmax_environment_modeling_2_procedural_stone_mapping_and_painting-1

 

Additional Info

------------------------- NEW! ------------------------------------------------------------

Just updated Rockme and renamed it to Rock My World v1.6

Spinners update the settings in real time, so you can make

adjustments while you watch in the viewport.

Rock My World is a script that does the same thing as the

RockMaker but it will work on just about any mesh you want and 

is not limited to just making Rocks

--------------------------------------------------------------------------------------------

RockMaker v2.5 uploaded Spinners update the settings in real time.

Has the ability to save presets via ini file thanks to Miauu

-------------------------------------------------------------------------------------------

Luke

Videos
Attachments

Tags: script, rocks, ms, mcr, 3d Max 2010

Comments (39)

Great Tool

Nevil · 2013-03-12

This is great tool.

I have a suggestion for making many random rock.
I`m doing that by animate the rock made whit your script and taking snapshuts from them.

Fantastic

chakib · 2012-10-22

Rockmyworld is absolutely FANTASTIC !!!
Thank you so much for such a gift !

miauu · 2011-07-29

Thanks for the credit. :)

lucpet59 · 2011-08-01

You deserve it :)

Do'h

lucpet59 · 2011-06-09

Fixed a bug in the macroscript installer

Updated

lucpet59 · 2011-04-14

Uploaded another change to the installer

Another change

lucpet59 · 2011-04-12

I've moved the installation file to the $userscripts location ie. C:\Users\user\AppData\Local\Autodesk\3dsMax\2010 - 32bit\enu\scripts etc
see if this gets the job done.

Luke

airbrush · 2011-04-11

nice update, thanks again.

airbrush · 2011-04-11

dragging the mzp into the viewport didn't do anything for me...max 2011 x64. i've installed other mzp types before so shouldn't be an admin thing.

Makes Really Cool Rocks!

artrager · 2011-02-23

Great scripts! Works with Max 2009 x64. Easily understandable interface. The high-poly rocks are beautifully detailed and work great for my purposes. I will need some practice to figure out how to make the low-poly ones though. Anyway, thanks Luke for these awesome scripts and I wish you continued success in learning Maxscript!

Thanks ArtRanger

lucpet59 · 2011-03-12

I'm glad you like it you might also have a look at RRT a new script on scriptspot that may help. I'm going to make another video soon and hopefully it'll explain how to use the low poly and Render to Texture.

fajar · 2011-02-18

Just a little thing to say : why dont you make .mat into maxscript so it can accesed by many max version.

Ok farjar I'll look into doing that

lucpet59 · 2011-03-12

Ok I'll look into doing that

fajar · 2010-09-04

1. Instead of saving in .mat, why dont you writte .mat into max script, with that you can use those script in many 3dsMax version, as long as those script supported by 3dsMax...how about that... that only procedual mat, it shouldnt hard to writte.

2. Also how about save as presset, save it into some ini file..... that can be load many time.....

thank.

lucpet59 · 2010-09-04

Hi, thanks
Yes great ideas, in fact the saving to ini file was one of the things I said I wanted to do originally. As my scripting skills improve it will be the next addition to the script. (Must learn to walk before I can run)

Luke

fajar · 2010-09-05

hehehe....true.....
dont over do it ...or your head get even hurt...

nice site

thank

airbrush · 2010-07-21

Thanks again Luke for the great scripts...
Jeff

airbrush · 2010-09-02

Hi Luke,

The updated version 2 is giving me errors, I emailed you the error it gave me.

Jeff

lucpet59 · 2010-09-03

Ok fixed sorry my mistake I'll e-mail it to you again

lucpet59 · 2010-07-18

New video uploaded

nzxlun · 2010-07-12

not work on 3dsmax2011 x64

lucpet59 · 2010-07-09

Ok to anyone having problems with this script please download again.
I rebuilt the Rock Noise.mat file again as I believe this is where the problem was coming from.

Luke
9th July 2010

lucpet59 · 2010-07-09

I've remade the Rock.mat file gave it a new name
Changed the code to recognise the new name etc

It works for me

Luke

9/7/10 9.20pm

DOWNLOAD AGAIN IF YOU'RE HAVING PROBLEMS

wannabeartist · 2010-07-08

Thanks for the video tips,

I didn't get it to work yet, but I will debug it further.

I'm running x64 Max 2011 on Windows 7 (also x64), but I doubt that's the problem here.

lucpet59 · 2010-07-08

Ok, someone else is having the same problem it, seems 2011 will need looking into I'll ask around the forums and get back to you.

Luke

lucpet59 · 2010-07-09

Rather than answer questions here you can e-mail me directly @ petluke@gmail.com with any questions.

RE DOWNLOAD IT AS IT HAS A NEW README AND CHANGES TO THE SCRIPT

Luke

wannabeartist · 2010-07-07

Very nice to see a script made for this!

I watched the tutorial at AREA some weeks ago, but I was too lazy to try it myself, even though the rocks looked awesome!

I have one tiny problem with the script. It says this on line 105:

-- Unknown property: "diffuseMap" in undefined

I did copy the material library to the location instructed, but is there something else I need to do to get this to work?

Thanks again!

lucpet59 · 2010-07-09

What version of Max are you using?
Someone else was having the same problem with 2011 and vista

ps I don't have access to 2011, vista or Win 7......yet

I've made a few minor changes to the install instructions and the script re download it I you having problems.

tiagodmed · 2010-07-05

Very good script, it will be very useful.
Let me give a tip, you could use WinRAR to create an installer for the script, so he puts all files in the correct place, facilitating things for users, it is quite simple to do this.
I made an installer for one of my scripts, you can look at it as an example.

Installer

http://www.scriptspot.com/files/Instalador_-_Frankenstoy_ImagePlaneRef_0…

lucpet59 · 2010-07-06

Thank you,

My answer has triggered a scriptspot spam filter so my reply is on my blog

Luke

Admin · 2010-07-06

Upped your user rights so you bypass the spam filters from now on.

lucpet59 · 2010-07-06

Thanks Chris I thought it was me doing something stupid and I got frustrated (I've no patience)

lucpet59 · 2010-07-06

Thank you tiagodmed,
I was looking at http://www.scriptspot.com/3ds-max/tutorials/creating-maxscript-installer… and had used it on an old script of mine.

The 2 reasons I didn't use it for the Rock Maker was because,
1. I was unsure how Vista and 7 dealt with Max's file structure as I'm still using XP.

2. Max has a tendency to Automatically want to place scripts into the Documents and settings, [user] ,local settings, Application data, Autodesk, 3dsmax, 2010 - "32", enu, ui, and usericons usermacros.

At the time, my uncertainty about this annoying little feature made me unsure if I should include this path as well, and then that lead me back to question 1. which put my brain in a loop :).

So I said doh! and uploaded it anyway without an installer (after all, max people are all good looking Genesis) until I had researched further.

ps It was your script that lead me to create some icons as well (even tho mine suck) so thank you for the inspiration. My other script is a modelling planes (image planes) script as well and I wasn't aware that there were so many of them out there.
I stupidly thought it was a new and original idea haha until it dawned on me to search.

Luke

lucpet59 · 2010-07-02

Should I include a messagebox saying if you are making a new rock, but still have have something else selected in the scene that says "are you sure you wish to overwrite the object(s) selected"

Also the Delete rock button as it stands, will delete ANYTHING in the scene you have selected.
Should I add a filter to make sure it can only delete things named Rock_*

Luke

haavards · 2010-07-02

messagebox "You must have at least one Rock selected!" title:"Computer says no..."
:-D

Funny, I started on writing a script based on that tutorial yesterday for some friends, and now I see this script, and you have saved me some hours of work. Thanks!

If you are going to develop this further, I would suggest using custom attributes on each stone and wire them to the modifier-parameters using controllers for instant feedback on changes made to it. Just a thought though, the script is already great!

lucpet59 · 2010-07-02

Yes in fact this was my biggest problem and I had connected float controllers but I couldn't set the defaults on the controllers. I asked on cgtalk how to set defaults but it looked like it can't be done. I dabbled in custom attributes while studying and never gave anything like that a second thought. I get fixated on a problem ie. how to set defaults, and loose site of everything else.

Any and all help appreciated.

ps I included the reference to "Little Briton" because it all seems too serious at times, and needed to have a good laugh. I didn't expect everyone to get it, or even notice it.

Luke

lucpet59 · 2010-07-02

Thank you it's great just to get some acknowledgement.
I'm not sure I should have uploaded the .ms file as well as the zip file, the script uses a .mat material included in the zip file.

It's not vital, things just look better when you use it.

Luke

Michele71 · 2010-07-02

Nice and useful scrpit lucpet59!