POV-Ray : Newsgroups : povray.newusers : --- Server Time
31 Oct 2024 19:30:23 EDT (-0400)
  --- (Message 1 to 3 of 3)  
From: Veggiet
Subject: ---
Date: 12 Jul 2007 18:37:35
Message: <4696ad2f@news.povray.org>
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.


Post a reply to this message

From: Alain
Subject: Re:
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

From: Warp
Subject: Re: Re:
Date: 13 Jul 2007 11:14:11
Message: <469796c3@news.povray.org>
Alain <ele### [at] netscapenet> wrote:
> A plane is very effecient.

  Not in large numbers. That's because a plane is not bound.

-- 
                                                          - Warp


Post a reply to this message

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