POV-Ray : Newsgroups : povray.advanced-users : Does no_image and no_reflection cause texture calculations to be skipped? : Does no_image and no_reflection cause texture calculations to be skipped? Server Time
28 Jul 2024 20:30:36 EDT (-0400)
  Does no_image and no_reflection cause texture calculations to be skipped?  
From: Scott Gammans
Date: 10 Feb 2004 17:41:43
Message: <40295e27$1@news.povray.org>
I am trying to figure out a way to speed up rendering of a complicated scene
that contains two heavily-detailed and textured objects, and I think I've
come up with a solution but have a question for the experts.

My scene consists of two major objects, "A" and "B". "A" is surrounded by
"B", so the light source for the scene causes "B" to cast shadows on "A".
"B" is in the shape of a hollow cylinder, and from the vantage point of the
camera "A" obscures parts of "B", but not vice-versa.

On one computer, I turn PNG alpha output on and have declared object "B" as
"no_image" and "no_reflection" so that when rendered all the camera sees is
object "A" + the shadows cast onto it by object "B".

On a second computer I've done just the opposite: I again turn PNG alpha
output on but this time I have declared object "A" as "no_image" and
"no_reflection" so that when rendered all the camera sees is object "B" +
the shadows cast onto it by object "A".

I take the two images and layer them together in Photoshop, and voila! "A"
seems to be inside of "B", shadows and all, but the net time it took to
render the scene is cut by more than half.

Here's my question: Should I be able to speed up things even more by
deleting the texture declarations from the object that is "no_image" and
"no_reflection"? The thing is, I've tried doing that and timed the output,
but my results have been inconclusive. It *seems* to be slightly faster, but
not by much. So, does declaring an object to be "no_image" and
"no_reflection" cause texture and material calculations to be skipped, or
not?

thanks.


Post a reply to this message

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