POV-Ray : Newsgroups : povray.programming : Where in the code does the output file get written? : Re: Where in the code does the output file get written? Server Time
25 Apr 2024 22:38:22 EDT (-0400)
  Re: Where in the code does the output file get written?  
From: clipka
Date: 31 Jul 2013 04:28:05
Message: <51f8ca95$1@news.povray.org>
Am 31.07.2013 09:46, schrieb scott:
> Been looking for 20 mins now through the source and can't find it!

That would be the file-format-specific code in source/base/image, such 
as png.cpp, jpeg.cpp, openexr.cpp, etc. (more precisely, the Write() 
functions defined therein...

> What
> I want to do is modify the output filename to attach the current date
> and time automatically. This way whilst I'm developing a scene it will
> automatically keep all test renders.

... but what you're probably /really/ looking for is the place where the 
output file /name/ is determined. That would be 
ImageProcessing::GetOutputFilename() in source/backend/imageprocessing.cpp.


Post a reply to this message

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