Hello guys,
I'm trying to control an active value node using color point coming from a paint node. I'd like to divide active and passive objects using the painted points. I used a paint node after a voronoi fracture to paint white color on some of the faces of a torus. Now I would like to access the color values inside the “Active” parameter of the active value node but I can't figure out the correct syntax to achieve this. The tutorial I'm following (Digital Tutors controlling fracture) is about H12 and I think something has changed in syntax because many things don't work. Anyone can help ?
Thank you
Ray
Controlling active value with paint colors
3480 1 1- madrenderman
- Member
- 129 posts
- Joined: June 2016
- Offline
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
if(@Cd.r < 0.5, 1, 0)
have a look here, too, please:
http://forums.odforce.net/topic/21501-set-fractured-rbd-activation-based-on-point-attribute/ [forums.odforce.net]
rbd_activation.hip stolen there ^^^^^^^^^^^^^^^^^^^^^^
Edited by matthias_k - July 9, 2016 16:50:30
English is not my native language, sorry in advance for any misunderstanding :-)
-
- Quick Links