POV-Ray : Newsgroups : povray.newusers : Animate Text Around a Sphere : Re: Animate Text Around a Sphere Server Time
4 Jul 2024 13:40:22 EDT (-0400)
  Re: Animate Text Around a Sphere  
From: Alain
Date: 10 May 2011 15:42:21
Message: <4dc9951d$1@news.povray.org>

> Am 09.04.2011 10:48, schrieb Stephen:
>
>> I can't say that I agree with either you or StephenS. Machine written
>> code is never elegant, from the little I've seen. So what difference
>> does an extra line or two make?
>
> Speed and memory consumption.
>
> Using a union for a single object will add unnecessary overhead, roughly
> duplicating the memory required per letter; it also /will/ impact render
> time, if ever so slightly.

Even if I had NO idea that it would greatly increase the memory use, it 
comfirm my gut feeling of it been a prety BAD practice.
If you uselessly use an union for a mesh, especialy if it's a big one, 
you're going to burn your memory...

Just DON'T use a construct if it's not needed.


Alain


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.