ScriptSpot home

Collision Map Generator.

Downloads

3ds Max compatibility
See original listing claims
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.0
From original requirements
9
Original version requirement
9
Other software required
3dsmax 9 or higher.
Author’s update date
Legacy votes
27
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

focus-gfx

Credited author: Mohamed Samir

More by this author

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.

Setup & notes

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

Comments (20)
focus-gfx

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

Martin Frodl

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

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

wicq08

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

Nice tool, keep it up Samir.

capcaverna

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

focus-gfx

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

focus-gfx

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.

 

Panayot Karabakalov

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

focus-gfx

Bobo's Penpal is using the

Bobo's Penpal is using the object pivot to generate maps but not the polygons itself..and the second one looks similar to mine..but I didn't have the time to try it actually.

focus-gfx

Thank you, please if you make anything cool with it inform me.

Brittnell Anderson

Looks VERY promising for quite a few situations I can imagine...  Thanks!

focus-gfx

Yeah that's why I recommend

Yeah that's why I recommend using proxy meshes, but you can wait a few minutes to generate your maps ;)..remember what you can do with these maps..you can animate a pen writing something, make spots based rain drops and may be a gun shots...many many things.

zwick

works well, but render/processing times can take a while on slightly more complicated meshes.

Stokes

This is a pretty cool idea!

The site hosting the video has run out of bandwidth... you should post the video on YouTube.

 

David "Stokes" Stokes
Technical Artist, Blue Fang Games

fferro

great!

Could it be modified to do skidmarks?

You know, detect contact between a wheel and a ground plane and only there draw into the map file.

thanks

Fernando

Reply to fferro
focus-gfx

Ofcourse you can do this with it...just select the faces of the tire that will collide with the ground and assign an id to them, then use the "ID" option with your faces ID

Mir Vadim
  • Cool script, never saw anything similar. Thanks.