[Radiance-general] DF for a polygon

Greg Ward gward at lmi.net
Wed May 27 08:37:32 PDT 2009


Hi Per,

It's a bit non-standard, but you make a duplicate copy of the  
falsecolor script and customize the new one by altering some lines in  
there relating to the color scale.  Change the line:

	def_redp(i):select(i,0.18848,0.05468174,
to:
	def_redp(i):select(i,0,0.05468174,

Similarly, change:

	def_grnp(i):select(i,0.0009766,2.35501e-05,
to:
	def_grnp(i):select(i,0,2.35501e-05,

and:

	def_blup(i):select(i,0.2666,0.3638662,0.4770437,
to:
	def_blup(i):select(i,0,0.3638662,0.4770437,

I'm thinking this should make the darkest values come out black.

Best,
-Greg

> From: Per Haugaard <perhaugaard at yahoo.dk>
> Date: May 27, 2009 12:23:07 AM PDT
>
> Hey Andrew,
>
> Thank you for your help. I actually tried that after posting the  
> message yesterday and it worked well.. I got daylight factor equal  
> to zero and a nice picture.
>
> I am hoping to illustrate DF=0 with a black color instead of  
> purple. Can I change the puple color (DF=0) to black and how can  
> this be done?
>
> Best regards
>
> Per Haugaard,



More information about the Radiance-general mailing list