In one branch, fire rays from PolygonPosition along PolygonNormal, and store the Hit value in an array using Build Array from Set.
In another branch, get NodeToPolygon, use that to look up the Hit value from the array, and finally use that to set a colour value. gray From: [email protected] [mailto:[email protected]] On Behalf Of Szabolcs Matefy Sent: Monday, October 01, 2012 04:36 AM To: [email protected] Subject: ICE questions again Hey folks, I'm creating an ICE tree. We have three geometries, a high polymodel, a low poly model, and a cage. The cage should conform the high poly model, so no penetration is allowed. I want to make an ICE tree, that fires a raycast from the cage POLYGONS outward. If it hits, the vertices around the polygon should be colored, if not, the vertices remain uncolored. I built up and easy solution that color the vertices of the highpoly, but the real solution if the polygons are colored on the cage object. What I do not know, how to color the vertices if I'm working with polygons... Huh Cheers Szabolcs ___ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Crytek GmbH - http://www.crytek.com - Grüneburgweg 16-18, 60322 Frankfurt - HRB77322 Amtsgericht Frankfurt a. Main- UST IdentNr.: DE20432461 - Geschaeftsfuehrer: Avni Yerli, Cevat Yerli, Faruk Yerli
<<attachment: winmail.dat>>

