POV-Ray : Newsgroups : povray.newusers : image map and batch render : Re: image map and batch render Server Time
4 Jul 2022 03:08:47 EDT (-0400)
  Re: image map and batch render  
From: jr
Date: 4 Mar 2022 11:05:00
Message: <web.622237d9d7f80b35ed36e5cb6cde94f1@news.povray.org>
hi,

"Peter.bates" <Pet### [at] livecoza> wrote:
> Platfor: in 10
> Version: 3.7
>
> Hi  all!
>
> I have 1500 stl files to convert to jpg images. I used stl2inc to create the
> files and renamed the objects inside the .inc definitions to the same, to make
> the povray script easier.
>
> 1) I am using a bmp image of a piece of wood (attached) to imagemap onto a block
> for the base of the scene (.pov also attached). This results in a
> blurry/stretched image - how can this be fixed?

(guessing) make sure aspect ratio + scaling .. are in harmony.


> 2) How can I run the same .pov scene file on each .inc file? My idea is: use
> python to create .pov files by changing the #define foo.inc line for each inc
> file, creating a batch of .pov files that can then be run in Windows batch. Is
> there a better way?

you could use the command-line "constant" to supply (part of) a filename.
<https://wiki.povray.org/content/Reference:Scene_Parsing_Options>

(though you'll need to find the right combination of quotes + apostrophes around
the value(s).  sorry, not using MS Win)


regards, jr.


Post a reply to this message

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