POV-Ray : Newsgroups : povray.programming : Image cache and decals Server Time
25 Dec 2024 11:14:52 EST (-0500)
  Image cache and decals (Message 1 to 4 of 4)  
From: Davide Libenzi
Subject: Image cache and decals
Date: 30 Apr 2000 04:57:01
Message: <390C12E6.C980567F@yahoo.com>
1) I've noted that if You've a texture image invoked in more places
inside PovRay scene
it'll be loaded more times wasting machine memory.
I've implemented an image caching system that will load images ( all
kinds ) only once.

2) Polygon decals are not handled by Povray. There are cases where
You've multiple
overlapping polygons that must decal in a given order. I've introduced
an optional "seqnr"
attribute to polygons that will be checked during intersection test
compares ( when Z
intersection equals ) to choose the correct polygon.

If You're interested I can post You the code.


\David

--
Feel free, feel Debian !


Post a reply to this message

From: Glen Berry
Subject: Re: Image cache and decals
Date: 30 Apr 2000 06:24:27
Message: <pQgMOS2UMX05YxdIQVx1Xejag2bW@4ax.com>
On Sun, 30 Apr 2000 13:03:02 +0200, Davide Libenzi
<ice### [at] yahoocom> wrote:

>If You're interested I can post You the code.

Of course we're interested. If you post the code, please post a few
example pov files that take advantage of these features, along with
any instructions you might want write for us.

Thanks,
Glen Berry

( Remove the "7" from 7no### [at] ezwvcom to email me. )


Post a reply to this message

From: Ken
Subject: Re: Image cache and decals
Date: 30 Apr 2000 06:40:37
Message: <390C0AEA.7C2A5251@pacbell.net>
Glen Berry wrote:
> 
> On Sun, 30 Apr 2000 13:03:02 +0200, Davide Libenzi
> <ice### [at] yahoocom> wrote:
> 
> >If You're interested I can post You the code.
> 
> Of course we're interested. If you post the code, please post a few

If you post the code please do so in povray.binaries.programming.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Peter J  Holzer
Subject: Re: Image cache and decals
Date: 30 Apr 2000 10:02:00
Message: <slrn8gobq9.jea.hjp-usenet@teal.h.hjp.at>
On Sun, 30 Apr 2000 13:03:02 +0200, Davide Libenzi wrote:
>1) I've noted that if You've a texture image invoked in more places
>inside PovRay scene
>it'll be loaded more times wasting machine memory.

Yes, I've noticed this, too, when I coded a szene with a few hundred
blob people :-(.

>I've implemented an image caching system that will load images ( all
>kinds ) only once.

I think this would be a valuable addition.

	hp

-- 
   _  | Peter J. Holzer    | Nicht an Tueren mangelt es,
|_|_) | Sysadmin WSR       | sondern an der Einrichtung (aka Content).
| |   | hjp### [at] wsracat      |    -- Ale### [at] univieacat
__/   | http://www.hjp.at/ |       zum Thema Portale in at.linux


Post a reply to this message

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