|
|
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
|
|