PDA

View Full Version : Linking Lights inside pflow?


Orbital101
07-27-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?

scrimski
07-27-2010, 09:10 PM
http://www.scriptspot.com/bobo/mxs5/pflow/pflow__MovingObjects.htm

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

Orbital101
07-28-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 =/

scrimski
07-28-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.

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

PsychoSilence
08-31-2010, 02:12 AM
I did that once over at orbaz.com:
http://www.orbaz.com/forum/viewtopic.php?t=631

CGTalk Moderation
08-31-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.