POV-Ray : Newsgroups : povray.programming : sphere memory : Re: sphere memory Server Time
28 Jul 2024 14:27:14 EDT (-0400)
  Re: sphere memory  
From: Nathan Kopp
Date: 4 Sep 2002 23:47:15
Message: <3d76d3c3$1@news.povray.org>
"ABX" <abx### [at] abxartpl> wrote...
> On Fri, 30 Aug 2002 03:29:33 -0400, "William F. Pokorny"
> <pok### [at] attglobalnet> wrote:
> > I believe Pov-Ray uses a 4 by 4 matrix of doubles internally for each
transform
> > of anything.
>
> Every transformation structure contains 2 matrixes: normal and inversed
one.

And, because of uv mapping, each object has two (yes, two) transformations.

The truth is that with better planning and a proper class inheritance model,
the memory usage could probably be greatly decreased for certain objects
(spheres being one type).

-Nathan


Post a reply to this message

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