PDA

View Full Version : Camera/particle aim direction


Aikiman
11-10-2010, 09:11 PM
Hi guys,

Im struggling a little with this because my vector math needs improving. Essentially I want to know how I can cull particles that are facing away from the camera.
The particles aimdirection is based on goalWorldNormal0PP.

My understanding is to grab the normalized vector of camera rotation.
Subtract that from each goalWorldNormal0PP
grab the magnitude and use that as a condition to kill the particles but my vectors after subtraction run into the double digits yet both vectors are below one.

CGTalk Moderation
11-10-2010, 09:11 PM
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.