POV-Ray : Newsgroups : povray.unofficial.patches : Why copying a CSG doesn't work as copying a mesh? : Re: Why copying a CSG doesn't work as copying a mesh? Server Time
2 Sep 2024 04:12:32 EDT (-0400)
  Re: Why copying a CSG doesn't work as copying a mesh?  
From: Geoff Wedig
Date: 5 Oct 2000 10:37:50
Message: <39dc923d@news.povray.org>
Nathan Kopp <Nat### [at] koppcom> wrote:

> For some objects, such as meshes, transformations are stored in a
> transformation matrix, leaving the base object untouched.  For a ray
> intersection, the ray must be transformed (a rather time-consuming
> calculation) into object space and then intersected with the base object.
> Then, the intersection point and normal must be transformed back into world
> space for the lighting calculation.

Hmm, if it's so expensive, why is a mesh so fast relative ot other objects
that don't need this transformation?  Is it simply because the mesh is all
triangles, which are easy to work with mathematically?

Geoff


Post a reply to this message

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