|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
in news:5c435a9e$1@news.povray.org Alain wrote:
> Have you tried using background{rgbt 1} ?
>
Hah, that indeed works, but also requires a sky_sphere or something else
containing the scene to isolate it from the background.
Excelent,
Thanks Alain,
ingo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
in news:5c435a9e$1@news.povray.org Alain wrote:
> Have you tried using background{rgbt 1}
after a bit of fiddling only +ua has to be set to render it to
transparent, background colour is of no influence on these sections.
I.i.r.c the same for the blackness around the fishey lens.
ingo (things are comming back slowly in my old brain)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |