Change polygon color when collision detected

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2013   #1
Change polygon color when collision detected

Hi, this may be extremely complicated,maybe not!

I've looked into Xpresso solutions but I seem to be spinning my wheels.

Essentially I'm trying to visualize interference detection. When an object passes through another object, I want just the intersecting polygons to change color (not the whole object). The movement would be animated via timeline (not gravity).

It seems like a ghost tag should be involved? I can't seem to connect the dots.

Any ideas?

Thanks in advance.
__________________
Matthew Spencer | Jeff Koons Studio
 
Old 02 February 2013   #2
Have you tried using the Collision node in "Object" mode and inserting selection-tags?
Attached Files
File Type: zip example.zip (63.3 KB, 56 views)
__________________
Cinema 4D Plugin Developer
niklasrosenstein.com/ | Freebies | Plugins
 
Old 02 February 2013   #3
Niklas, that's PERFECT.

If you feel like explaining, would you mind giving a breakdown of what you did? I understand the structure of the Xpresso, but I don't quite understand how it knows which material to assign.
__________________
Matthew Spencer | Jeff Koons Studio
 
Old 02 February 2013   #4
Select the Collision Node and in the Attribute Manager,
right click a relevant parameter -> Show Help.
There it is fully documented

Cheers
Lennart
__________________
MSA | OSX | xfiles ...Cinema4D Tools
 
Old 02 February 2013   #5
The proximal shader shader might be useful too.
 
Old 02 February 2013   #6
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:12 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.