POV-Ray : Newsgroups : povray.newusers : load texture once - render multiple images : Re: load texture once - render multiple images Server Time
2 Jul 2024 11:14:26 EDT (-0400)
  Re: load texture once - render multiple images  
From: Robert McGregor
Date: 21 Apr 2011 07:40:01
Message: <web.4db016f165491c5394d713cc0@news.povray.org>
"7dgedas" <nomail@nomail> wrote:
> I am trying to render many scenes using povray. The key factor for me is speed
> (server side rendering for user requests. Am I on my way with povray?).
>
> I want to achieve this:
> 1) load some texture(s)
> 2) apply some camera transformations (transformations may depend on some
> variable, differs each iteration)
> 3) output results to file
> 4) repeat 2-3 as many times as needed, avoiding 1.
>
> The key point is to avoid loading textures, as it is relatively slow. I want to,
> say, simply rotate object and save to file without loading textures each
> time(theoretically no need for that at all).
>
> I know there is animation posibility using .ini and clock variable, but how do i
> avoid loading textures? :(

I've not tried it yet myself, but if all you need to do is camera
transformations then clockless animation might do the trick for you (since it
only parses the scene file once). Read up on 3.1.2.1.6.1 Clockless Animation.

-------------------------------------------------
www.McGregorFineArt.com


Post a reply to this message

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