Hi Matthias and all..
Thx for you reply and your input.. much appreciated..!
Sorry for this long post.. its not at all as much as it seems.. =)
I have tested with Alpha and it works (as shown below), but want to use own
channels so I can have more of them ! =)
As follow
I am going to use it with Zaug's lovely RangeZ script..
(its so great for setting thing for tons of objects, that you really dont
want to do manually..=)
ex..to show abit what I want from it..
Level
Mapping(MyMaterial)
LevelWithTonsOfOjbects
Object1
Object2
End of list of Tons of Objects.. =)
MyMaterial simple looks like this.. (Just to show want I mean..)
Surface Illumination Shader
Illumination+=Specular(Alpha)
Then I use RangeZ to apply ranges of Alpha values the way I want, to the
tons of objects (not needing to set them by hand to each..)
Now I get different specular look to each of them...
If I could use a Custom User Channel instead... I could set that up inside
RangeZ..
MyChannel
For example to set up channels this way to use one channel to set one effect
and the other for another..
1. As above but set Specular(MyChannel)
2. Apply MyChannel values to the objects for the Specular fx with RangeZ.
3. Duplicate MyChannel and rename it to MySpec -> RS ask if wanting to
update references... Yes
(Specular(MySpec) is set by RS)(Now MyChannel is free to use again for next
use of it..)
4. Set another thing you want done this way.. like Color=Curve(MyChannel)
(Use the VSL Gradient curve to make a Gradient lets say from MyChannel
0 ->Green, MyChannel 1 -> Red, or more complex gradient =)
5. Do Step 2
(Now you have different Specular and different Color on each of the tons of
objects..=)
6. Do Step 3 IF wanting to add more fx, and/or if wanting a suiting name of
the channel for the 2nd effect..
Hope it makes sense...
Hopefully there is a way to access Custom User Channels in JS....
Take Care
Best Regards
Stefan Gustafsson ( Beg-inner )
A Proud Owner and User of Real3D and Realsoft3D..
Hi Stefan,
if I'm right, then that's not possible :-(
But if there is a solution, I'm very interested, to :-)
If you try to animate objects via userdef channel:
Have in mind that maybe the scene (objects) must be
ready, before the userdef comes in....
and from which pixel you need the info ;-)
Another chance is the field evaluator, maybe the
best solution to get some info.....
or if ypu need a "color", then use a color tag
and map the channel to the color :-?
Matthias
Hi all...
RS channels like Alpha, Fade and so on.. is accessed by GetAlpha() and
SetAlpha() and so on.....
But how do I access for example an ownmade channel "MyChannel" in the
'Channels' Tab of the 'Select' Window in JS ?
TIA
Take Care
Best Regards
Stefan Gustafsson ( Beg-inner )
A Proud Owner and User of Real3D and Realsoft3D..