[Radiance-general] Re: limited number of materials?
Greg Ward
gward at lmi.net
Thu Nov 15 07:33:08 PST 2007
For the record, there is no fixed limit to the number of materials,
but if you are defining a different material per face, you'll save a
bit of time and memory by reusing the same material name. This is
what gensurf does when it defines a texture per face. It avoids
having a lot of names inserted into the hash table, and is more
efficient.
Setting a palette is an excellent suggestion if that works for you.
-G
> From: "jelle feringa" <jelleferinga at gmail.com>
> Date: November 15, 2007 4:12:45 AM PST
>
> The palette is certainly an interesting suggestion Lars.
> Probably that would be a nice workaround for my problem.
> Its probably the thing that will make my brute-force approach
> actually work!
> Thanks for the suggestion.
>
> -jelle
>
> While I cannot answer the max number of materials question, there
> should
> be actually no problem if you define a limited "palette" - I guess not
> EVERY of the faces needs a different color? What about a 256- or
> 512-color "palette", thus 256 or 512 materials? Or are you subdividing
> the faces to get a smooth transition to work around the interpolation?
More information about the Radiance-general
mailing list