|
![](/i/fill.gif) |
"Andrew Cocker" <mai### [at] mariner9 net> schrieb im Newsbeitrag
news:3d5e7cf4$1@news.povray.org...
> I created a 3d grid of blob components using nested #while loops. The
radius of each blob
> component relates to the greyscale value of a bozo pigment occupying the
same points in space,
> which I sampled by using eval_pigment().
>
> This is part of an animation (in which the bozo pigment is rotated prior
to sampling
> independently of the blob-grid's rotation).
>
> I wasn't prepared for parse time to evaluate 8000 components. Any reason
for it taking so
> long? (approx 1 minute.. not forever, I know, but I just assumed it would
be a really quick
> operation)
You really should try ABX's suggestion using functions. The way you use
(with eval_pigment) bears much overhead for what you want. You only need the
pattern and you can get that by using a function.
I like your idea and hope you'll get somewhere. However, I fear it's quite
memory intensive to have all the blades of a grass plane as extra shapes
(without copying patches), I hope, I'm wrong.
Regards,
Marc-Hendrik
Post a reply to this message
|
![](/i/fill.gif) |