I *think* you can do this using a kludge I used to get ICE color info into
Redshift (but without the Redshift part of course!).
Basically:
- instead of creating one instance master point light, you make, say, 11
of them, one at 0 intensity, one at 0.1, one at 0.2, up to the last at 1.0.
(you could increase the "bit depth " of your range by scripting this to
make, say, 256 different lights. I wouldn't recommend trying to do 16-bit
lighting)
- select the lights in order of intensity (this is important) and make
them an instance group. Now their order of instance group index matches
their order of intensity.
- in your particle cloud, use rescale and a scalar-to-integer node to
get your intensity range into the corresponding integer index range (in my
example, this is 0-10).
- Set your shape instancer to use the integer range to set the group
index.
So now, when you instance the lights, all particles having an variable
value of 0 get the light instance with 0 intensity, the ones from .001 to
.1 get mapped to .1, and so forth.
Like I said, it's a kludge. But it works, and with scripting, you could
have a fair amount of intensity resolution. You can also do this with RGB
color by using 3 lights per instance.
On Wed, Jan 22, 2014 at 11:10 AM, gareth bell <[email protected]>wrote:
> ah nuts.........
>
>
> ------------------------------
> From: [email protected]
> Date: Wed, 22 Jan 2014 11:09:28 -0500
> Subject: Re: Pointcloud Point Lights
> To: [email protected]
>
>
> As far as I know... nope.
>
>
>
> On Wed, Jan 22, 2014 at 11:02 AM, gareth bell <[email protected]>wrote:
>
> Hey guys,
>
> I've got a pointcloud that shape instances a point light. Is it possible
> to drive the light intensity of each instance based on (for example) the
> particle size. If so - how do I go about it?
>
> Cheers
>
> G
>
>
>