[Radiance-general] One question on colordata
Greg Ward
gregoryjward at gmail.com
Mon Dec 10 16:34:42 PST 2012
Hi Simin,
The color won't be different if all three of your data files are the same. You could just use brightdata in that case. Without knowing what is in "rang.cal", it's difficult to even guess what this will do.
The real parameters to colordata are optional, and used by your .cal file for whatever purpose suits you.
-Greg
> From: Simin Wang <sw629 at cornell.edu>
> Date: December 7, 2012 5:27:40 AM PST
>
> I was trying to use colordata manipulate material's color based on the incident angle of light. But there was something wrong with my script. Can you help me check with that?
>
> void colordata Try
> 8 noop noop noop rdatafile.dat gdatafile.dat bdatafile.dat rang.cal rang
> 0
> 1 0.2 #What is the meaning of those parameters in colordata? How many of those I need?
>
> Try plastic a
> 0
> 0
> 5 0.35 0.35 0.35 0 0
>
> r/g/bdatafile.dat are all looks like this:
>
> 1
>
> 0 90 10
>
> 0
> .1
> .2
> .3
> .4
> .5
> .6
> .7
> .8
> .9
>
> Thank you so much for your help in advance!
>
> --
> Simin Wang
More information about the Radiance-general
mailing list