|
|
> Alain <ele### [at] netscapenet> wrote:
>
>> Try puting all spheres representing the same element in an union, and assigh the
>> pigment to that union. That mean about 4 unions for most organic molecules:
>> carbon, hydrogen, oxygen and nitrogen.
>> If all, or most, spheres use the same finish, set that finish as the default
>> finish. Do the same for the proeminent pigment like:
>> #default texture{pigment{Carbon}finish{Your_finish}}
>
> True. Most of my files have a max of about 5 elements.
>
>
> Here's a snippet; as other previous posters indicated maybe this is helpful in
> detecting inefficiencies in the code. As I indicated, I'm only trying to to
> tweak it to coax a better performance out of it. The person who originally
> wrote it probably did not have performance as a criterion at all. So its very
> very likely that we are doing a lot of stuff in an inefficient manner! I'd be
> open to any suggestions people can throw at me! Thanks!
Removing area_light would surely improve speed.
Post a reply to this message
|
|