View Full Version : Linking Lights inside pflow?

07 July 2010, 09:09 PM
Can we Link object,lights or anything else to a particle? Or is there a way to face instance a light or a effects like a glow or streaks? I was trying to link a Lens flare to a Shape instanced object but that doesnt work nor can I link a lights inside pflow.

Is Pflow limited to to what come with max and need to use plugins or I am missing something?

07 July 2010, 09:10 PM

07 July 2010, 01:48 AM
I wonder why you can't do it with instances..

07 July 2010, 03:55 AM
MY skills of scripting is to limited to follow this. I need to rewrite the tutorial to fit my scene. I guess plugins are the other way to go for me. Even so I dont think I will be able to keep my setup that is allready good to go =/

07 July 2010, 07:37 AM
All you have to do is to remove
My_Athmospheric_Gizmos_01[i].radius = 10 + pCont.ParticleAge*2 as lights don'thave a radius and to change
global My_Athmospheric_Gizmos_01 = $SphereGizmo*
$SphereGizmo* selects all objects that are named SphereGizmo01, SphereGizmo02, SphereGizmo03, SphereGizmo.. and so on.

So if you change it into $omni* all your light with the term 'omni' in the name will get selected.
Everything is well explained in that tutorial though.

08 August 2010, 01:49 AM
Thats great... But it refers to Sphere and atmospheric gizmo like 20 times in that script..

08 August 2010, 02:12 AM
I did that once over at

CGTalk Moderation
08 August 2010, 02:12 AM
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.