 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I have a white background "background { color White }" I want to make it
transparent, I have trayed with this: "background { rgb <1, 1, 1> }" but I
doesn't turn transparent. I have found it on the help file but I couldn't
see nothing of the kind. Any ideas?
Thanks in advance,
Oleguer
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Wed, 18 Aug 2004 09:22:06 +0200, "Oleguer Vilella"
<ole### [at] infonegocio com> wrote:
> I have a white background "background { color White }" I want to make it
> transparent, I have trayed with this: "background { rgb <1, 1, 1> }"
color White is equal to rgb <1,1,1>
> but I
> doesn't turn transparent. I have found it on the help file but I couldn't
> see nothing of the kind. Any ideas?
You have to turn transparency of background with option passed in command
line. This is described in manual in subchapter named "Output File Type". If
there would be anything you still do not understand, feel free to ask.
BTW: please use something useful for the subject in the future. Thanks in
advance.
ABX
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Oleguer Vilella <ole### [at] infonegocio com> wrote:
> I have a white background "background { color White }" I want to make it
> transparent
Transparent background is not specified in the scene file but in
the command-line options, using the option +ua (ie. "use alpha").
This can be written in the command-line text field in the windows
version or a proper .ini file (or if you are using a command-line
version of POV-Ray, then of course right in the command line).
Note that in order for POV-Ray to be able to save the alpha channel
to the image file, you have to use a format which supports alpha channel,
such as for example PNG.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Yes I'm sorry I have forgotten the subject.
I have read the "output_file_type" it looks like difficult. Where I have to
put this, in the background? "background { ??? }" I only want a transparent
background not configure my graphic target.
"ABX" <abx### [at] abx art pl> escribió en el mensaje
news:ml26i0dc5ldd2ila67fa1s1nqn9mifb87q@4ax.com...
> On Wed, 18 Aug 2004 09:22:06 +0200, "Oleguer Vilella"
> <ole### [at] infonegocio com> wrote:
> > I have a white background "background { color White }" I want to make it
> > transparent, I have trayed with this: "background { rgb <1, 1, 1> }"
>
> color White is equal to rgb <1,1,1>
>
> > but I
> > doesn't turn transparent. I have found it on the help file but I
couldn't
> > see nothing of the kind. Any ideas?
>
> You have to turn transparency of background with option passed in command
> line. This is described in manual in subchapter named "Output File Type".
If
> there would be anything you still do not understand, feel free to ask.
>
> BTW: please use something useful for the subject in the future. Thanks in
> advance.
>
> ABX
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Wed, 18 Aug 2004 10:19:44 +0200, "Oleguer Vilella"
<ole### [at] infonegocio com> wrote:
> Where I have to
> put this, in the background? "background { ??? }"
Mentioned subchapter is enclosed in chapter about POV-Ray options. Those
options can be located in command line when POV-Ray is launched and/or in
ini-file readed prior parsing/rendering your scene and/or in platform specific
place like command-line in toolbar in Windows port.
Try to browse manual, this is way to wide subject to be explained in simple
post.
> I only want a transparent
> background not configure my graphic target.
I do not know what do you mean as "graphic target", but you cannot have
transparent background if you do not have transparency/aplha support in file
format you are rendering into.
ABX
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"You may turn this option on with Output_Alpha=on or +UA. The default is off
or -UA."
I don't understand where I have to activate it.
=====================================
background { White }
camera {location <170, -11, -110>look_at <180, -15, -16>}
light_source { <170, -30, -100> color White}
=====================================
I'm sorry.
"Warp" <war### [at] tag povray org> escribió en el mensaje
news:41230fdb@news.povray.org...
> Oleguer Vilella <ole### [at] infonegocio com> wrote:
> > I have a white background "background { color White }" I want to make it
> > transparent
>
> Transparent background is not specified in the scene file but in
> the command-line options, using the option +ua (ie. "use alpha").
> This can be written in the command-line text field in the windows
> version or a proper .ini file (or if you are using a command-line
> version of POV-Ray, then of course right in the command line).
>
> Note that in order for POV-Ray to be able to save the alpha channel
> to the image file, you have to use a format which supports alpha channel,
> such as for example PNG.
>
> --
> #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb
x]
> [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
> -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// -
Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> "You may turn this option on with Output_Alpha=on or +UA. The default is
off
> or -UA."
> I don't understand where I have to activate it.
Not in your .pov file. I assume you're running POV-Ray for Windows, in which
the correct place to put "+UA" is the textbox next to the drop down on the
upper left of the program. This should also be to the left of the "POV-Win"
toolbar button.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Oh, yes, in the textbox wich is placed after the resolution box.
Thank you, best regards,
Oleguer
http://www.infonegocio.com/oleguervm
"Slime" <fak### [at] email address> escribió en el mensaje
news:41231d19@news.povray.org...
> > "You may turn this option on with Output_Alpha=on or +UA. The default is
> off
> > or -UA."
> > I don't understand where I have to activate it.
>
> Not in your .pov file. I assume you're running POV-Ray for Windows, in
which
> the correct place to put "+UA" is the textbox next to the drop down on the
> upper left of the program. This should also be to the left of the
"POV-Win"
> toolbar button.
>
> - Slime
> [ http://www.slimeland.com/ ]
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Wed, 18 Aug 2004 12:18:46 +0200, "Oleguer Vilella"
<ole### [at] infonegocio com> wrote:
> Oh, yes, in the textbox wich is placed after the resolution box.
click on this box so caret appears there and hit F1. Chapter about its
functionality should appear.
ABX
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Yes, Ok. It appears the help file.
Thank you ABX
"ABX" <abx### [at] abx art pl> escribió en el mensaje
news:9qb6i0p3u83ocf4tnfdqecdfmijis2a8sj@4ax.com...
> On Wed, 18 Aug 2004 12:18:46 +0200, "Oleguer Vilella"
> <ole### [at] infonegocio com> wrote:
> > Oh, yes, in the textbox wich is placed after the resolution box.
>
> click on this box so caret appears there and hit F1. Chapter about its
> functionality should appear.
>
> ABX
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Oleguer Vilella <ole### [at] infonegocio com> wrote:
> I don't understand where I have to activate it.
Did you read what I wrote?
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Warp" <war### [at] tag povray org> wrote in message
news:41230fdb@news.povray.org...
> Oleguer Vilella <ole### [at] infonegocio com> wrote:
> > I have a white background "background { color White }" I want to make it
> > transparent
>
> Transparent background is not specified in the scene file but in
> the command-line options, using the option +ua (ie. "use alpha").
> This can be written in the command-line text field in the windows
> version or a proper .ini file (or if you are using a command-line
> version of POV-Ray, then of course right in the command line).
>
> Note that in order for POV-Ray to be able to save the alpha channel
> to the image file, you have to use a format which supports alpha channel,
> such as for example PNG.
wow, i had no idea this was possible in povray. call me a slacker for not
knowing... i deserve it.
as penitence, i'll go render 10 scenes of chrome spheres over checker planes
with +ua.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ross <rli### [at] everestkc net> wrote:
> as penitence, i'll go render 10 scenes of chrome spheres over checker planes
> with +ua.
The real fun begins when you render several images of different objects
against a transparent background and then open the images in an image
manipulation program (such as gimp or photoshop) to different layers
and move them around.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Yes, of course Warp I've read it.
"Warp" <war### [at] tag povray org> escribió en el mensaje
news:41236bf6@news.povray.org...
> Oleguer Vilella <ole### [at] infonegocio com> wrote:
> > I don't understand where I have to activate it.
>
> Did you read what I wrote?
>
> --
> #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb
x]
> [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
> -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// -
Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Well, I've put the +UA in the box, in the Pov-Ray i can see the background
transparent, but when I see the BMP file in the CorelDraw the background it
isn't transparent, it's black.
Ross's says:
" Note that in order for POV-Ray to be able to save the alpha channel to the
image file, you have to use a format which supports alpha channel, such as
for example PNG."
Maybe that's my problem. I'm going to read the help file again, Warp.
Best regards,
Oleguer
"Warp" <war### [at] tag povray org> escribió en el mensaje
news:4123a44f@news.povray.org...
> Ross <rli### [at] everestkc net> wrote:
> > as penitence, i'll go render 10 scenes of chrome spheres over checker
planes
> > with +ua.
>
> The real fun begins when you render several images of different objects
> against a transparent background and then open the images in an image
> manipulation program (such as gimp or photoshop) to different layers
> and move them around.
>
> --
> #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb
x]
> [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
> -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// -
Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I think the problem is with the output file.
==============================
Input_File_Name=myinput.pov
Output_File_Name=myoutput.tga
==============================
Well, I don't undersant how can I convert the files. In the Pov-Ray windows
code?
I have read this: "In addition to support for variable bit-depths, alpha
channel, and grayscale formats, PNG files also store the Display_Gamma value
so the image displays properly on all systems (see section "Display Hardware
Settings"). The hf_gray_16 global setting, as described in section
"HF_Gray_16" will also affect the type of data written to the output file."
I think I have to convert my file .pov to a .png
What do you think?
In the text box I put "+ua" and in the Pov code:
====================================
background { White }
camera {location <170, 11, -110>look_at <180, -15, -16>}
light_source { <170, -30, -100> color White}
======================================
Thank you very much,
Oleguer
"Oleguer Vilella" <ole### [at] infonegocio com> escribió en el mensaje
news:4123ba55@news.povray.org...
> Well, I've put the +UA in the box, in the Pov-Ray i can see the background
> transparent, but when I see the BMP file in the CorelDraw the background
it
> isn't transparent, it's black.
> Ross's says:
> " Note that in order for POV-Ray to be able to save the alpha channel to
the
> image file, you have to use a format which supports alpha channel, such as
> for example PNG."
> Maybe that's my problem. I'm going to read the help file again, Warp.
>
> Best regards,
> Oleguer
>
>
> "Warp" <war### [at] tag povray org> escribió en el mensaje
> news:4123a44f@news.povray.org...
> > Ross <rli### [at] everestkc net> wrote:
> > > as penitence, i'll go render 10 scenes of chrome spheres over checker
> planes
> > > with +ua.
> >
> > The real fun begins when you render several images of different
objects
> > against a transparent background and then open the images in an image
> > manipulation program (such as gimp or photoshop) to different layers
> > and move them around.
> >
> > --
> > #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N
color_map{[0rgb
> x]
> > [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
> > -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// -
> Warp -
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Oleguer Vilella <ole### [at] infonegocio com> wrote:
> In the text box I put "+ua"
Just put "+fn" in addition to "+ua" to save as a png file (and you don't
need to specify the name of an output file; POV-Ray will automatically
save it to a png with a proper name).
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Yes, I didn't say it, I've did it. I've put in the text box "+ua +fs". Where
can I find the .png file? In the folder that the Pov-Ray save my files it
doesn't appear. Well, anyway, I'm goig to tray it again.
Best regards,
Oleguer
"Warp" <war### [at] tag povray org> escribió en el mensaje
news:4123d832@news.povray.org...
> Oleguer Vilella <ole### [at] infonegocio com> wrote:
> > In the text box I put "+ua"
>
> Just put "+fn" in addition to "+ua" to save as a png file (and you don't
> need to specify the name of an output file; POV-Ray will automatically
> save it to a png with a proper name).
>
> --
> plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
> sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
> density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
> <1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I've solved my problem. Thanks Warp and the other partners.
Best regards,
Oleguer Vilella
http://www.infonegocio.com/oleguervm
"Oleguer Vilella" <ole### [at] infonegocio com> escribió en el mensaje
news:4124468f$1@news.povray.org...
> Yes, I didn't say it, I've did it. I've put in the text box "+ua +fs".
Where
> can I find the .png file? In the folder that the Pov-Ray save my files it
> doesn't appear. Well, anyway, I'm goig to tray it again.
>
> Best regards,
> Oleguer
>
> "Warp" <war### [at] tag povray org> escribió en el mensaje
> news:4123d832@news.povray.org...
> > Oleguer Vilella <ole### [at] infonegocio com> wrote:
> > > In the text box I put "+ua"
> >
> > Just put "+fn" in addition to "+ua" to save as a png file (and you
don't
> > need to specify the name of an output file; POV-Ray will automatically
> > save it to a png with a proper name).
> >
> > --
> > plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
> > sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
> > density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
> > <1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Oleguer Vilella" <ole### [at] infonegocio com> wrote:
> I have a white background "background { color White }" I want to make it
> transparent, I have trayed with this: "background { rgb <1, 1, 1> }" but I
> doesn't turn transparent. I have found it on the help file but I couldn't
> see nothing of the kind. Any ideas?
>
> Thanks in advance,
> Oleguer
Sorry for being O.T. but I only have access to the web view.
It seems to me that this thread is a good example of the cooperation between
members of the Pov-Ray community. Gone is the dreaded RTFM, it has been
replaced with patience, good manners and knowledge transfer at a suitable
level.
Here’s to another Ten Years of Pov-Ray. Congratulations and thank you.
Stephen
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Oleguer Vilella <ole### [at] infonegocio com> wrote:
> I've put in the text box "+ua +fs".
> > Just put "+fn" in addition to "+ua"
Can you spot a difference in these two sentences? ;)
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
What sentences? I only see a sentence. Well, anyway, I have put +ua +fn and
that's correct. That was the matter ;)
Best regards,
Oleguer
"Warp" <war### [at] tag povray org> escribió en el mensaje
news:41247712@news.povray.org...
> Oleguer Vilella <ole### [at] infonegocio com> wrote:
> > I've put in the text box "+ua +fs".
>
> > > Just put "+fn" in addition to "+ua"
>
> Can you spot a difference in these two sentences? ;)
>
> --
> #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb
x]
> [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
> -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// -
Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |