POV-Ray : Newsgroups : povray.general : Transparent PNGs Server Time
1 Jun 2024 22:54:04 EDT (-0400)
  Transparent PNGs (Message 5 to 14 of 44)  
<<< Previous 4 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Bald Eagle
Subject: Re: Transparent PNGs
Date: 9 Oct 2017 07:45:01
Message: <web.59db612ec5de9ff4c437ac910@news.povray.org>
Fine everybody just pile on at once....  :|


Here's some advice on making a composite image, if you want shadows and a
transparent background (link to .pov file too :)  )

http://news.povray.org/povray.newusers/thread/%3C45033d21@news.povray.org%3E/


Post a reply to this message

From: Lars R 
Subject: Re: Transparent PNGs
Date: 9 Oct 2017 07:57:55
Message: <59db6443$1@news.povray.org>
Am 09.10.2017 um 12:56 schrieb Sven Littkowski:
> Hi
> 
> is it possible to create a scene where the rendered items are visible
> but the entire empty background becomes transparent, if the output image
> is a PNG?

I guess you didn't know the command line parameter +ua (or
Output_Alpha=On in the INI file), did you?

Lars R.


Post a reply to this message

From: Stephen
Subject: Re: Transparent PNGs
Date: 9 Oct 2017 08:00:20
Message: <59db64d4$1@news.povray.org>
On 09/10/2017 12:38, Thomas de Groot wrote:
> It might be better to render as tga and later convert to png if necessary.

Is that one of those "Plant thy Mandrake when the moon is in Taurus and 
waning gibbous.", things? :-P


-- 

Regards
     Stephen


Post a reply to this message

From: clipka
Subject: Re: Transparent PNGs
Date: 9 Oct 2017 08:41:12
Message: <59db6e68$1@news.povray.org>
Am 09.10.2017 um 13:39 schrieb Bald Eagle:

>> is it possible to create a scene where the rendered items are visible
>> but the entire empty background becomes transparent, if the output image
>> is a PNG?
> 
> Of course.  This question has been asked loads of times, probably even by
> myself.
> 
> TdG recommends:
> background { colour srgbt <0.0, 0.0, 0.0, 1.0> }

That.

> Warp recommends activating alpha in the command line (+ua), and using no
> background whatsoever:

Those posts date back to the days of v3.6. The handling of transparency
has been overhauled since then, so don't expect that advice to work in v3.7.


Post a reply to this message

From: Sven Littkowski
Subject: Re: Transparent PNGs
Date: 9 Oct 2017 09:15:13
Message: <59db7661$1@news.povray.org>
On 09.10.2017 06:56, Sven Littkowski wrote:
> Hi
> 
> is it possible to create a scene where the rendered items are visible
> but the entire empty background becomes transparent, if the output image
> is a PNG?
> 
> ---
> Diese E-Mail wurde von AVG auf Viren geprüft.
> http://www.avg.com
> 
Biiiig thanks to everyone here! You all helped me a lot, and my problem
seems to be solved now.

No, I had indeed not know the +ua switch. Never had a need for such. But
I am reconstructing ancient Roman ships, and just their oars I want to
do in render technology. Which brings me to the next problem, how to
recreate one of the Roman-style galley oars. it is too easy just to use
a long cylinder with a flattened (thin-scaled) oval cylinder at the end.
The transition between shaft and brad area was kinda smooth.


Post a reply to this message

From: Sven Littkowski
Subject: Re: Transparent PNGs
Date: 9 Oct 2017 09:23:55
Message: <59db786b@news.povray.org>
On 09.10.2017 09:15, Sven Littkowski wrote:
> On 09.10.2017 06:56, Sven Littkowski wrote:
>> Hi
>>
>> is it possible to create a scene where the rendered items are visible
>> but the entire empty background becomes transparent, if the output image
>> is a PNG?
>>
>> ---
>> Diese E-Mail wurde von AVG auf Viren geprüft.
>> http://www.avg.com
>>
> Biiiig thanks to everyone here! You all helped me a lot, and my problem
> seems to be solved now.
> 
> No, I had indeed not know the +ua switch. Never had a need for such. But
> I am reconstructing ancient Roman ships, and just their oars I want to
> do in render technology. Which brings me to the next problem, how to
> recreate one of the Roman-style galley oars. it is too easy just to use
> a long cylinder with a flattened (thin-scaled) oval cylinder at the end.
> The transition between shaft and brad area was kinda smooth.
> 
Ships like these, in high-res. Some US book publications already showing
parts of my work in the field of maritime archaeology. But I have
something in mind about the oars, that will make them looking even more
realistic.


Post a reply to this message


Attachments:
Download 'fnr-3-03-01-svenlittkowski-20041222-11pm52.jpg' (466 KB)

Preview of image 'fnr-3-03-01-svenlittkowski-20041222-11pm52.jpg'
fnr-3-03-01-svenlittkowski-20041222-11pm52.jpg


 

From: Bald Eagle
Subject: Re: Transparent PNGs
Date: 9 Oct 2017 10:05:01
Message: <web.59db8201c5de9ff4c437ac910@news.povray.org>
Sven Littkowski <I### [at] SvenLittkowskiname> wrote:
> Which brings me to the next problem, how to
> recreate one of the Roman-style galley oars. it is too easy just to use
> a long cylinder with a flattened (thin-scaled) oval cylinder at the end.
> The transition between shaft and brad area was kinda smooth.

I'd start by posting a close-up / detailed image of what you want to do in 3D
(if you can't find an existing 3D model) and then I'm sure someone could
recommend a mesh-modeling, CSG, isosurface, or blob approach.


Post a reply to this message

From: Sven Littkowski
Subject: Re: Transparent PNGs
Date: 9 Oct 2017 14:04:27
Message: <59dbba2b@news.povray.org>
On 09.10.2017 10:04, Bald Eagle wrote:
> Sven Littkowski <I### [at] SvenLittkowskiname> wrote:
>> Which brings me to the next problem, how to
>> recreate one of the Roman-style galley oars. it is too easy just to use
>> a long cylinder with a flattened (thin-scaled) oval cylinder at the end.
>> The transition between shaft and brad area was kinda smooth.
> 
> I'd start by posting a close-up / detailed image of what you want to do in 3D
> (if you can't find an existing 3D model) and then I'm sure someone could
> recommend a mesh-modeling, CSG, isosurface, or blob approach.
> 
> 
> 
> 
The very strange thing with me is, that I find it extremely hard to
model with WYSIWYG surfaces, but I find it totally easy to write scenes
with all the coordinates by myself and understand them. This is how I
got my huge spaceships done.

Okay, here is the sample photo. These oars have no real edges, every
corner has been rounded and smoothened. And even the edge between staff
and blade is kinda smoothened a bit.


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Post a reply to this message


Attachments:
Download 'oars.jpg' (245 KB)

Preview of image 'oars.jpg'
oars.jpg


 

From: Bald Eagle
Subject: Re: Transparent PNGs
Date: 9 Oct 2017 15:10:01
Message: <web.59dbc948c5de9ff4c437ac910@news.povray.org>
Sven Littkowski <I### [at] SvenLittkowskiname> wrote:

> The very strange thing with me is, that I find it extremely hard to
> model with WYSIWYG surfaces, but I find it totally easy to write scenes
> with all the coordinates by myself and understand them. This is how I
> got my huge spaceships done.

Yep, we all have our own ways of understanding and manipulating data.

> Okay, here is the sample photo. These oars have no real edges, every
> corner has been rounded and smoothened. And even the edge between staff
> and blade is kinda smoothened a bit.

CSG:
cylinder shaft
Cone tapered from shaft to near the end
flattened cones, slices of cones, or CSG parts of narrow rectangles for blades
flattened sphere or a box for the tip of the blade

If you look through the isosurface docs, you can come up with functions for all
of those primitives, their rotations and translations, and differences, and then
blob them together to get a totally smooth surface.
It sounds hard until you give it a go, and then it doesn't seem too bad.


Use the isosurface approximation or the (I believe very similar) Paul Nylander
mesh code to make an array of smooth_triangle vertices, and you could then
generate a mesh and save it.

'cause it sounds like you want to render a fleet of Roman vessels....


Post a reply to this message

From: Sven Littkowski
Subject: Re: Transparent PNGs
Date: 9 Oct 2017 17:02:52
Message: <59dbe3fc$1@news.povray.org>
On 09.10.2017 15:08, Bald Eagle wrote:
> Sven Littkowski <I### [at] SvenLittkowskiname> wrote:
> 
>> The very strange thing with me is, that I find it extremely hard to
>> model with WYSIWYG surfaces, but I find it totally easy to write scenes
>> with all the coordinates by myself and understand them. This is how I
>> got my huge spaceships done.
> 
> Yep, we all have our own ways of understanding and manipulating data.
> 
>> Okay, here is the sample photo. These oars have no real edges, every
>> corner has been rounded and smoothened. And even the edge between staff
>> and blade is kinda smoothened a bit.
> 
> CSG:
> cylinder shaft
> Cone tapered from shaft to near the end
> flattened cones, slices of cones, or CSG parts of narrow rectangles for b
lades
> flattened sphere or a box for the tip of the blade
> 
> If you look through the isosurface docs, you can come up with functions f
or all
> of those primitives, their rotations and translations, and differences, a
nd then
> blob them together to get a totally smooth surface.
> It sounds hard until you give it a go, and then it doesn't seem too bad.
> 
> 
> Use the isosurface approximation or the (I believe very similar) Paul Nyl
ander
> mesh code to make an array of smooth_triangle vertices, and you could the
n
> generate a mesh and save it.
> 
> 'cause it sounds like you want to render a fleet of Roman vessels....
> 
> 
I wished I had the skills to render an entire ship! I have all the
maritime archaeological knowledge, but not the skill to create such
shapes in any renderer. But this is a dream for more than 10 years...

For now, the oars only.

---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Post a reply to this message

<<< Previous 4 Messages Goto Latest 10 Messages Next 10 Messages >>>

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