Collision Map Generator.

27 votes
Version: 
1.0
Date Updated: 
06/30/2007
Author Name: 
Mohamed Samir

This script generates maps based on the collision of an object with another object...i've included a pdf help file with it.

Imagin a dirty character hand touches the wall it will leave some dirt on it...or may be a character walking on sand his feet will leave marks on the ground...you can use it in many things.

Additional Info: 

Simply run the script from maxscript menu.

Help File Included.

You can watch this demonstration video

http://rapidshare.com/files/40284475/C_Map_Gen.avi.html

Version Requirement: 
9
Other Software Required: 
3dsmax 9 or higher.
Video URL: 
AttachmentSize
Collision_Map_Generator.zip83.78 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
focus-gfx's picture

mad: thanks for the tutorial,

mad:
thanks for the tutorial, I'll implement it when I have time.

mad's picture

hi this is really great

hi
this is really great stuff!!
but can you please implement .net backgroundworker to prevent freezing?
here is tutorial http://lonerobot.net/?p=50

focus-gfx's picture

thanks guys, and wicq08..yes

thanks guys, and wicq08..yes I know that I can run it using a macroscipted button, but thanks for your effort.

wicq08's picture

Hi focus-gfx, nice script,

Hi focus-gfx, nice script, but since theres no other way to open it except like in you do it in you video or drag it to the viewport, which are both ways kind of annoying, I make a buttom so we can run the script in a second.
First You have to create a .mcr file which is a macroscript file that calls the .mse file
1. create in the notepad the next text and save it as "Collision Map Generator.mcr" and place it in C:\..\Autodesk\3ds Max 2008\ui\macroscripts (dont create a folder just drop it in the macroscript folfer)

Macroscript text below:

macroScript CMG
category:"CMG"
tooltip:"Collision Map Generator"
buttonText:"CMG"
(on execute do fileIn "$scripts\\Collision Map Generator.mse")

2. copy the "Collision Map Generator.mse" file in C:\..\Autodesk\3ds Max 2008\Scripts (again dont create a folder just drop it in the script folder)

3. run 3ds max
4. GO to Customize/Customize User Interface /click the Toolbars tab/ Category(open the drop down list)/CMG/click on NEW button and give it a name/ hit ok and a button will pop up in any place in the viewport/Drag the text"Collision Map Generator (which you can see in the big space below action) to the new buttom already created/ voila

you have a button that will open the script everytime you hit it. you can place the button below the main toolbar of 3d max so everytime you run 3d max the buttom is lock to the tools and not flying around

Hani Tiby's picture

Nice tool, keep it up Samir.

Nice tool, keep it up Samir.

capcaverna's picture

Your script is awsome, i

Your script is awsome, i like this, sound is goog. i gonna try it. Ty.

The life is Good

focus-gfx's picture

thanks " noel_d3" I checked

thanks " noel_d3" I checked the first one "bobo's" and it does not use object polygon's to detect collisions and other links are dead, but thanks..

When I have more time I'll work on it, Now I'm writing a NES wmulator :D

noel_d3's picture

To make your script better

To make your script better you can see :

http://www.scriptspot.com/bobo/mxs2/penpal/

and

http://www.d3coy.com/

and why not also

http://www.scriptspot.com/3ds-max/touch-texture-maker

Best regards,

leon

focus-gfx's picture

Anubis Thanks for your

Anubis

Thanks for your ideas, you can change both colors [BG or brush] to any color and you can take the maps to any compositing software and add blur to it.

 

Anubis's picture

2 simple ideas from me -- 1.

2 simple ideas from me --
1. Will be nice to have some grey scale for the maps for better effect.
2. Motion blur or somthing to make trail more solid, not so tear to pieces.

cheers

my recent MAXScripts RSS (archive here)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.