Morgantao
Can't script

|
Is there a way to plug a green output into a gray input?
Let me rephrase that: Is there a way to get, say, the brightness from a component, and transform\calculate it into a gray input of another component?
For example, let's take an Assemble HSB component. I want the B channel of it to control the Strech node of a Perlin Noise component. How do I go about converting the green output to a gray input?
|
Posted: June 27, 2012 4:11 pm |
Details
E-Mail
|
Mongoose King
Mongoose King

|
Green is map, gray is just like single value. As far as I know, only controls can be plugged into greys.
I think they should have a script type that can output a grey control, like there's map script, and curve script, there should be a single value script too. Release the Mongoose!
|
Posted: June 28, 2012 6:31 am |
Details
E-Mail
|
Morgantao
Can't script

|
Yeah, that what I was hoping for... A way to script a gray output.
|
Posted: June 28, 2012 7:08 am |
Details
E-Mail
|
Mongoose King
Mongoose King

|
They really only need 2 very simple components to plug into grey inputs.
A 'curve to grey' and a 'map to grey'.
Curve to grey would just have a curve input and a 0-1 slider and it just takes the height of the curve at the point the slider says.
Map to gray would have 1 sliders for co-ordinates and it just takes brightness at that point.
They would probably also need checkboxes to switch between floating point or integer, and would be nice to have remapping like with controls, in fact they'd probably need remapping so they can plug into the dropdown box type inputs, which have a limited number of inputs or checkbox inputs that only have 2 options. Release the Mongoose!
|
Posted: June 28, 2012 7:53 am |
Details
E-Mail
|
Morgantao
Can't script

|
That settles it then. See to it
|
Posted: June 28, 2012 10:07 am |
Details
E-Mail
|
Carl
c r v a

|
that would be great if it possible
|
Posted: June 28, 2012 10:34 pm |
Details
E-Mail
|
Morgantao
Can't script

|
In theory, all the FF components are Lua scripts hardcoded into the software, right?
That means, again, in theory, one could script his own perlin noise node with a gray input for stretch, for example, right?
I guess the only work around available right now is having multiple perlin components with different stretch values, and switching between them...
|
Posted: June 29, 2012 5:34 am |
Details
E-Mail
|
ThreeDee
Lost in Space

|
Taking your example of assemble HSB to Perlin noise stretch, the question becomes how do you create the B channel. If you were to create the B channel with a slider, you could plug the same slider into the Perlin noise stretch input.
|
Posted: June 30, 2012 2:35 am |
Details
E-Mail
|
Indigo Ray
Adam

|
How about a "remap script"? In other words, input gray slider(s), do some math, and output a scalar (gray).
Mongoose, you're talking about a gray "lookup" component. That might be useful, too.
|
Posted: June 30, 2012 8:15 am |
Details
E-Mail
|
Morgantao
Can't script

|
ThreeDee, I want to use all kinds of math on the input slider, then feed it to components. The stretch on the perlin was just an example for a gray input.
Right now there doesn't seem to be a way to manipulate the slider values.
Just as an example, suppose I have an IntSlider with a range of 1 to 100. I want to be able to take it's value, call it X, and run it through ((((X+1)^2) / 2) + 1) and then use the result as a gray node input.
|
Posted: June 30, 2012 12:11 pm |
Details
E-Mail
|
ThreeDee
Lost in Space

|
Okay, that's a bit tricky, until we get a "conversion" component of some kind. I guess it would be possible have a component that takes the gray value of an image and turns it into a number.
Since there isn't such a thing, have to work around it by other means, like stretching the output with the offset component rather than with the built-in stretch, etc.
|
Posted: July 1, 2012 3:21 am |
Details
E-Mail
|
Morgantao
Can't script

|
I still have much to learn ThreeDee, so some of these work arounds are new to me. I will have to dig into the wiki and some snippets.
Anyway, it's cool that we have all those RGB math components, I just wish there was a Value Math set too.
|
Posted: July 1, 2012 6:43 am |
Details
E-Mail
|