ScriptSpot home

Rock Generator

Downloads

3ds Max compatibility
Unknown
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.0
Author’s update date
Legacy votes
265
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

alelink

Credited author: Alessandro Ardolino

More by this author

aa_rockGen 1.0 - maxscript procedural rock generator for production and real time environments.

Additional Info

aa_rockGen 1.0 - maxscript

procedural rock generator for production and real time environments.

-rock presets
-tweak-able parameters
-automatic low poly mesh generation, with bake-ready UVs
-normal and AO map generation

the script is now available for download.
tha script can be used for both personal and commercial purpose,
I you like it and found it useful, just let me know and let me see
some results :)

inspired by a tutorial of Sasha Henrichs published on Autodesk AREA.
you can find the original tutorial here: http://saschahenrichs.blogspot.com/2010/03/3dsmax-environment-modeling-1…

Videos
Comments (51)

Comment policy

Eduardo

Code

It works with newer versions of max but if you need to tweak it, you can use this code.
https://pastebin.com/wNgPZU54

aa_rockgenerator1x0.ms

lukx

Doesnt work in max 2018

Can someone make it compatible for max 2018 please.

Reply to lukx
savas cetin

2018 compatibility

The script is encyrpted. I do not think Alessandro will allow meddling with the script. You should try to contact with him.

Asfandayr

Directx_Manager Error

I am getting this error every time i try to bake the texture,i don't remember but i have solved this problem before, i have no idea what i have had done, does any body know how to handle this error?

Max 2012 64 bit

yomogi_k

Fix problem

Sorry, i can't english very well.

I think this script has problem to localize.

I had some error in japanese version 3dsMax, but this script completely runnning in english ver 3dsMax.
Please try use english ver 3dsMax.

Thanks.

Mark Beckitt

Taking it further

would you think about taking it further, like maybe a cliff or natural rock wall scenes creator, there is nothing out there close to yours.

Thanks for the script, brilliant

George Rogers

Really cool script

Works ok for me.. good job :)

We sell telephone systems...

Ernst

This is just fake.
Your scripts are full of errors and won't load. Nomatter what version.
Don't borther downloading, its worthless crap.

Reply to Ernst
John

That's a harsh statement. I've used this script several times in 3dsmax 2012 64bit, and it worked fine for me, so that can't be the case.

Reply to Ernst
kevin77

I just tried it, the first time it did not work, the second time it did, not sure why because the second time I did not do anything different.

Thank you

Carlo

button in 2014

cannt create the button in 3ds max 2014

stobarticus

2011 x64

Hey

Thanks for this awesome rock making piece of magic! Really useful and quick.

Just thought I'd mention that it outputs to myDocuments/3dmax/sceneAssets/images as well as the output folder I specify.

It's no biggy, an easy delete, just thought you might like to know :)

Thanks again

yones

AO

i cant bake AO , plz help me, when i bake AO this massege open:
texture baking not support by the renderer
i use it in iray, mentalray, vray but no one work correct
why?

kuniojp

Unknown property: "iterations" in undefined

It stop after turbo smooth and i get error:

Unknown property: "iterations" in undefined

Max 2011

Yamit Aroya

unknown property:"type" in undefined error

is there anything i need to do in order to fix this problem?
i'm using 3dsmax design 2013

Thanks

Bluntie

Completely awesome script!
I am sadly getting the same DirectX_manager error as others in here. A solution would be greatly appreciated. :)

JokerMartini

Super useful script.
Saves a lot of redundant setup time. Thanks

onyxlee

--Unknown property: "DirectX_manager" in Standardmaterial:Standa

Same error like others, but it doesn't bother me because it still works fine.

Thank you!

Killian

ERROR Unknown property

Hi, I encounter the same problem as spirobg.

--Unknown property: "DirectX_manager" in Standardmaterial:Standard

Do you have a solution? 🙂

Greetz

max script

max script

3ds max le gerçekten mukemmel yapımış bunu max script le yapabilirmiyiz.

miroslav

Problem

High poly rock works perfect and create low poly works but when i try to bake a normal map for the low poly and max says

MAXScript rollout Handler Exception

--Unknown property: "DirectX_manager" in Standardmaterial:Standart

using max 2012 x64

KONSTANTINOS PAPADOPOULOS

Rocks become pixelated when resized/scaled

Hello,

Your script is really great. However, when I am trying to resize the stones to fit my scene (I make them quite smaller), they become pixelated when rendering. In viewports they look ok. The same happen with or without any optimiser. Any idea?

spooner04

Seems to be working fine in Max 2012. One thing that might be a nice feature to ad is some buttons for changing out the FFD modifier. So we could set it to a 4x4x4 or whatever. Maybe even make it an ffd box modifier with the ability to change the number of points. Great Script! Thanks for your work!!

langineer

max9:

highpoly creates just fine, but attempt to create lowpoly gives me
--Runtime error: No such macro-script: Smooth

jamesman

Max 8 Compatibility?

This script looks incredible. I have good ol' Max 8 and for simplicity sake let's just say I am unable to update. Is there any way this'll work in Max 8? Right now when I try and run it, I get the following error:

MAXScript FileIn Exception
---------------------------
-- Syntax error: at bad, expected
-- In line: 
---------------------------
OK
---------------------------

Thanks for your help!

Reply to jamesman
alelink

hello :)
sorry but I have not access to max 2008 or 2009 in these days...
I'm working on a 2.0 release of both my stone scripts condensed in a new one, with some useful features.
For this release I'll try to debug the script on older max versions too, please be patience :)

thanks,
Alessandro

kenhennen

2009 issue

Alessandro, this is a very useful script. Thank you!

3dsmax 2009:
hipoly creates just fine, but attempt to create lowpoly gives me
--Runtime error: No such macro-script: Smooth

3dsmax 2010: all fine

haven't tried 2011, but by the comment i figure it's fine there

question is, are you planning to release the script which works for 2008/2009?

thank you again. well-thought and useful implementation

ossosso

Great Stuff

Thank you very much, really good script.

Just a problem: when I click on "Create" for the "low poly rock" section I receive an error message "Unknown system exception" and it doesn't work; for the "high poly rock" section no problem.

Thanks a lot.

gorillamilk

How do I make your script a button?

cecofuli

Same problem here:

When I hit the bake button it just gives me a very dark/diffuse black texture on the low poly rock. And no normal map generation, in any directory. I am using Max 2011 x64.

Reply to cecofuli
alelink

hi,
you need to set an output path for the textures, don't use the default one.

coldy

First off, great script looks awesome in high poly. But I can't seem to get the low poly with baked textures to work.

When I hit the bake button it just gives me a dark black texture on the low poly rock. I am using Max 2011 x64.

Reply to coldy
alelink

have you choose an output path before baking the maps?

nomanrahid

Thanks, i solved my problem.
sir its awesome.

trixian

I have not renamed anything. I hit create and then bake. Am I the only one that gets this error? It works fine on the stone placement tool.

aphexx

great script! thank you alessandro!

alelink

@mahreeooce:
thanks for the detailed explaination you gave to dreamco.

I've developed the script and tested it only in 3dsMax 2011, maybe it's changed the way the smooth normal modifier is called from max 2009 :)

Reply to alelink
trixian

Having problems with baking maps. Hitting the Bake button throws an error "--No ""select"" function for undefined" and disables any further interaction with the script ui (needs to be closed and restarted).

This happens regardless of what renderer i have assigned, or wether ihave the rock selected or not.

This in using max2011 64bit on xp64.

Reply to trixian
alelink

hello,
the script uses the object's name to performs all the tasks.

So, have you changed the name of the rock? should be rock001 if I'm not wrong...please let me know.

this error does not depends by the current renderer.
Maxscript does not perform any operation after an error, so you need to restart the script...

mahreeooce

@dreamco

Copy the script (the .mse file) in your 3ds max/ui/macroscripts directory. Then make a new text file in the same directory and paste this in (down to the final bracket):

macroScript RockGenerator category:"aa_stoneworks" buttonText:"RockGenerator" toolTip:"Rock Generator" silenterrors:true
(
on execute do(
filein ((getDir #UI) + "\\MacroScripts\\aa_rockgenerator1x0.mse")
)

)

Save the text file and change it's extension from .txt to .mcr
After this, restart max (in case you had it open), right-click on a toolbar, choose customize (you should already be on the toolbars tab) and find the category "aa_stoneworks" - in that category you should find the script which you can drag onto a toolbar for quick access.

Oh, and thanks, alelink, for this great script. On a side not - it gives an error in max 2009 when trying to generate the low-poly mesh - "Runtime error: No such macro-script: Smooth". It doesn't have this problem in 2011.

Reply to mahreeooce
TimothyDel

The button was created as per your instructions and it worked when I rebooted Max Design 2011 x64 on Win x64 Ultimate. However, every time I reboot Max now an "Error in the application occurred, Max will now close..." occurs. When I delete the aa_rockgenerator1x0.mcr file, Max boots fine. I do see the button actually have black text when booting (as opposed to being gray-ed out when I delete the file).

Running the aa_rockgenerator1x0.mse directly from MaxScript works fine.

Any ideas? Also, would it be easy to have the script run from a pulldown menu?

Here's the aa_rockgenerator1x0.mcr script in the same directory as the aa_rockgenerator1x0.mse file: C:\Program Files\Autodesk\3ds Max Design 2011\ui\macroscripts
Here's the file's content:

macroScript RockGenerator category:"aa_stoneworks" buttonText:"RockGenerator" toolTip:"Rock Generator" silenterrors:true
(
on execute do(
filein ((getDir #UI) + "\\MacroScripts\\aa_rockgenerator1x0.mse")
)

)

Thank you in advance,
Timothy

Reply to TimothyDel
alelink

Hi,
as I stated in the email,
try to put the script outside the max folders.

dreamco

I can't create a UI button for it :(

tansi

i like it!