Re: scalar state still working?

2015-03-19 Thread Gerbrand Nel

Thanks for all the input guys!
Got it working in the end with just a simple incidence.
On 18/03/2015 20:28, Matt Lind wrote:

Scalar state should be working just fine.

I assume you're trying to compute incidence using a dot product? Make 
sure your input vectors are unit vectors and described in the same 
coordinate space.  Also make sure your vector orientations are 
described correctly as well. Remember, the viewing vector is opposite 
what you need it to be as it points towards the subject. If you don't 
meet those criteria, all bets are off.


If all is correct, the output will be the cosine of the angle between 
the two vectors which you may or may not want to linearize for use in 
the gradient.


Matt





Date: Wed, 18 Mar 2015 18:31:45 +0200
From: Gerbrand Nel 
Subject: scalar state still working?
To: softimage@listproc.autodesk.com

Hey guys
I remember using the scalar state node, with a gradient, to create a
gradient based on incidence... this doesn't work any more??
Am I being dumb, or is it broken?
G






Re: scalar state still working?

2015-03-18 Thread Matt Lind

Scalar state should be working just fine.

I assume you're trying to compute incidence using a dot product?  Make sure 
your input vectors are unit vectors and described in the same coordinate 
space.  Also make sure your vector orientations are described correctly as 
well. Remember, the viewing vector is opposite what you need it to be as it 
points towards the subject.  If you don't meet those criteria, all bets are 
off.


If all is correct, the output will be the cosine of the angle between the 
two vectors which you may or may not want to linearize for use in the 
gradient.


Matt





Date: Wed, 18 Mar 2015 18:31:45 +0200
From: Gerbrand Nel 
Subject: scalar state still working?
To: softimage@listproc.autodesk.com

Hey guys
I remember using the scalar state node, with a gradient, to create a
gradient based on incidence... this doesn't work any more??
Am I being dumb, or is it broken?
G



RE: scalar state still working?

2015-03-18 Thread Andi Farhall
bugger, I'll never work again

...
http://www.hackneyeffects.com/https://vimeo.com/user4174293http://www.linkedin.com/pub/andi-farhall/b/496/b21

http://www.flickr.com/photos/lord_hackney/
http://spylon.tumblr.com/
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Hackney Effects Ltd.If you are not the intended recipient of 
this email, you must neither take any action based upon its contents, nor copy 
or show it to anyone.Please contact the sender if you believe you have received 
this email in error.

From: cgc...@gmail.com
Date: Wed, 18 Mar 2015 17:55:19 +
Subject: Re: scalar state still working?
To: softimage@listproc.autodesk.com

sacrilege, the scene material has been compromised ;)
On 18 March 2015 at 17:53, Andi Farhall  wrote:



or like this
  

...
http://www.hackneyeffects.com/https://vimeo.com/user4174293http://www.linkedin.com/pub/andi-farhall/b/496/b21

http://www.flickr.com/photos/lord_hackney/
http://spylon.tumblr.com/
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Hackney Effects Ltd.If you are not the intended recipient of 
this email, you must neither take any action based upon its contents, nor copy 
or show it to anyone.Please contact the sender if you believe you have received 
this email in error.

Date: Wed, 18 Mar 2015 17:27:14 +
Subject: Re: scalar state still working?
From: adammsee...@gmail.com
To: softimage@listproc.autodesk.com

If you're Arnolding then you can use the utility shader's  ndoteye as incidence.
A.

On 18 March 2015 at 17:17, Orlando Esponda  wrote:
try an incidence node connected to the input of a gradient mixer.

On Wed, Mar 18, 2015 at 10:31 AM, Gerbrand Nel  wrote:
Hey guys

I remember using the scalar state node, with a gradient, to create a gradient 
based on incidence... this doesn't work any more??

Am I being dumb, or is it broken?

G




  

  

Re: scalar state still working?

2015-03-18 Thread Cristobal Infante
sacrilege, the scene material has been compromised ;)

On 18 March 2015 at 17:53, Andi Farhall  wrote:

> or like this
>
>
>
>
>
> ...
> http://www.hackneyeffects.com/
> https://vimeo.com/user4174293
> http://www.linkedin.com/pub/andi-farhall/b/496/b21
>
>
> http://www.flickr.com/photos/lord_hackney/
> http://spylon.tumblr.com/
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Hackney Effects Ltd.
>
> If you are not the intended recipient of this email, you must neither take
> any action based upon its contents, nor copy or show it to anyone.
>
> Please contact the sender if you believe you have received this email in
> error.
> 
>
>
> ----------
> Date: Wed, 18 Mar 2015 17:27:14 +
> Subject: Re: scalar state still working?
> From: adammsee...@gmail.com
> To: softimage@listproc.autodesk.com
>
>
> If you're Arnolding then you can use the utility shader's  ndoteye as
> incidence.
>
> A.
>
>
> On 18 March 2015 at 17:17, Orlando Esponda 
> wrote:
>
> try an incidence node connected to the input of a gradient mixer.
>
> On Wed, Mar 18, 2015 at 10:31 AM, Gerbrand Nel  wrote:
>
> Hey guys
> I remember using the scalar state node, with a gradient, to create a
> gradient based on incidence... this doesn't work any more??
> Am I being dumb, or is it broken?
> G
>
>
>
>


RE: scalar state still working?

2015-03-18 Thread Andi Farhall
or like this
  

...
http://www.hackneyeffects.com/https://vimeo.com/user4174293http://www.linkedin.com/pub/andi-farhall/b/496/b21

http://www.flickr.com/photos/lord_hackney/
http://spylon.tumblr.com/
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Hackney Effects Ltd.If you are not the intended recipient of 
this email, you must neither take any action based upon its contents, nor copy 
or show it to anyone.Please contact the sender if you believe you have received 
this email in error.

Date: Wed, 18 Mar 2015 17:27:14 +
Subject: Re: scalar state still working?
From: adammsee...@gmail.com
To: softimage@listproc.autodesk.com

If you're Arnolding then you can use the utility shader's  ndoteye as incidence.
A.

On 18 March 2015 at 17:17, Orlando Esponda  wrote:
try an incidence node connected to the input of a gradient mixer.

On Wed, Mar 18, 2015 at 10:31 AM, Gerbrand Nel  wrote:
Hey guys

I remember using the scalar state node, with a gradient, to create a gradient 
based on incidence... this doesn't work any more??

Am I being dumb, or is it broken?

G




  

Re: scalar state still working?

2015-03-18 Thread Adam Seeley
If you're Arnolding then you can use the utility shader's  ndoteye as
incidence.

A.


On 18 March 2015 at 17:17, Orlando Esponda 
wrote:

> try an incidence node connected to the input of a gradient mixer.
>
> On Wed, Mar 18, 2015 at 10:31 AM, Gerbrand Nel  wrote:
>
>> Hey guys
>> I remember using the scalar state node, with a gradient, to create a
>> gradient based on incidence... this doesn't work any more??
>> Am I being dumb, or is it broken?
>> G
>>
>
>


Re: scalar state still working?

2015-03-18 Thread Orlando Esponda
try an incidence node connected to the input of a gradient mixer.

On Wed, Mar 18, 2015 at 10:31 AM, Gerbrand Nel  wrote:

> Hey guys
> I remember using the scalar state node, with a gradient, to create a
> gradient based on incidence... this doesn't work any more??
> Am I being dumb, or is it broken?
> G
>


RE: scalar state still working?

2015-03-18 Thread Andi Farhall
working here - ver 2015

...
http://www.hackneyeffects.com/https://vimeo.com/user4174293http://www.linkedin.com/pub/andi-farhall/b/496/b21

http://www.flickr.com/photos/lord_hackney/
http://spylon.tumblr.com/
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Hackney Effects Ltd.If you are not the intended recipient of 
this email, you must neither take any action based upon its contents, nor copy 
or show it to anyone.Please contact the sender if you believe you have received 
this email in error.

> Date: Wed, 18 Mar 2015 18:31:45 +0200
> From: nagv...@gmail.com
> To: softimage@listproc.autodesk.com
> Subject: scalar state still working?
> 
> Hey guys
> I remember using the scalar state node, with a gradient, to create a 
> gradient based on incidence... this doesn't work any more??
> Am I being dumb, or is it broken?
> G