POV-Ray : Newsgroups : povray.general : alpha masking Server Time
23 Dec 2024 22:39:59 EST (-0500)
  alpha masking (Message 11 to 12 of 12)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Warp
Subject: Re: alpha masking
Date: 18 Mar 2003 14:33:10
Message: <3e777475@news.povray.org>
Scott Gammans <nos### [at] scottgammansspamisevilcom> wrote:
>  I still don't
> understand how that would help... when one spaceship was in front of the
> other, wouldn't the spaceships seem to dissolve together every other frame?

  What I meant was that you could render the animation in the regular
way, without any tricks (ie all objects present at each frame).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: alpha masking
Date: 18 Mar 2003 15:44:11
Message: <3e77851b@news.povray.org>
In article <3e775c35@news.povray.org> , "Scott Gammans" 
<nos### [at] scottgammansspamisevilcom> wrote:

> Thank you for your usual nasty reply, Thorsten. At least the others gave
> useful replies without the sour attitude.

Well, you asked if it makes any sense!  And several of the other replies
where incorrect.  Or assume that the textures are what is slowing you down
(which can neither be confirmed nor denied without the actual scene).  In
fact, if the sum of objects makes the whole slower than the two parts, then
your problem is insufficient memory and not POV-Ray.

Anyway, in fact, a bit of simple logical thinking gives you the answer to
your question right away...

Originally you have the following times:
Object Intersection 1 + Texture 1 + Object Intersection 2 + Texture 2
(actually less for textures assuming one object hides the other)

Your current way of rendering both separately gives the following times:
Object Intersection 1 + Texture 1 + Object Intersection 2 + Texture 2

Your suggested feature however will result in the following work being done:
Object Intersection 1 + Texture 1 + Object Intersection 2
Object Intersection 2 + Texture 2 + Object Intersection 1

As you can see, your suggestion will always take longer.  Consequently it
does not make sense.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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