POV-Ray : Newsgroups : povray.newusers : --- : Re: Server Time
28 Jul 2024 22:26:06 EDT (-0400)
  Re:  
From: Alain
Date: 13 Jul 2007 09:59:05
Message: <46978529@news.povray.org>
Veggiet nous apporta ses lumieres en ce 2007/07/12 19:40:
> I was using a difference of a plane and a box, but then I realized that for 
> what I wanted to do I could just use a plane with an image_pattern with the 
> once keyword, but I was wondering what is the most memory efficient or speed 
> efficient method, CSG difference or intersection, plane + image_pattern + 
> once, or the polygon or mesh? the work that I've been doing latelly has used 
> flat images almost exclusivelly (and transparency), so any speed saving 
> technique would be much appreciated. 
> 
> 
A plane is very effecient. If your scene contains any media or fog, then, you 
must also use the hollow keyword if you want it to apears behind your image.
A 2 triangles mesh is also quite effecient, especialy if you need 10's or 100's 
of copies of it. This is due to instancing of identical meshes, that can be 
individualy scaled, translated and rotated.
A polygon is less optimised. Fast but taking slightly more memory.
A difference or intersection is less effecient both in speed and memory use, but 
only slightly in a simple case.

-- 
Alain
-------------------------------------------------
EVERYTHING HAS A GENDER

You may not know this but many nonliving things have a gender...

An Hourglass is Female, because over time, the weight shifts to the bottom.


Post a reply to this message

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