POV-Ray : Newsgroups : povray.general : [3.8] User defined camera : Re: [3.8] User defined camera Server Time
26 Apr 2024 19:19:05 EDT (-0400)
  Re: [3.8] User defined camera  
From: Alain
Date: 19 Jan 2019 12:13:02
Message: <5c435a9e$1@news.povray.org>
Le 19-01-19 à 09:57, ingo a écrit :
> When I set the user defined camera / projection to
> direction {
>    function { 0 }
>    function { 0 }
>    function { 0 }
> }
> it 'traces to nowhere' and renders black, which makes sense. But now I ran
> into one where it doesn't.
> I'm creating a tile rendering camera for displaying images with
> leaflet.js. Tiles are 256x256, but the aspect ratio of the image/ camera
> settings may be different, thus creating black borders.
> Is it possible and does it make sense to have POV-Ray to render a
> transparant pixel instead of black when an output file format is used that
> supports transparancy?
> 
> ingo
> 
Have you tried using background{rgbt 1} ?


Obviously, you also need to specify an output with transparency. Use +ua 
on the command line and output to PNG, TGA or EXR (high dynamic range 
format)


Post a reply to this message

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