 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Recently (I think) there were some postings in one of the povray newsgroups
involving POV produced PNG files (with an alpha channel) and the internet
browsers that properly displayed such images. One of these postings, if my
questionable memory serves me, had a link to an example web page-->I think
it had a png image of a lit match against some sort of varied background .
Does anyone remember seeing these posts? (and if so, which newsgroup, date,
etc?) thanks.....
Quadhall
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
QuadHall <tre### [at] ww-interlink net> wrote:
: Recently (I think) there were some postings in one of the povray newsgroups
: involving POV produced PNG files (with an alpha channel) and the internet
: browsers that properly displayed such images. One of these postings, if my
: questionable memory serves me, had a link to an example web page-->I think
: it had a png image of a lit match against some sort of varied background .
: Does anyone remember seeing these posts? (and if so, which newsgroup, date,
: etc?) thanks.....
I think that post was made by me. I don't remember which thread it was,
though.
The page is this one:
http://www.cs.tut.fi/~warp/alphatest.html
If the browser supports alpha properly, it should look like this:
http://www.cs.tut.fi/~warp/alphatestsnapshot.jpg
The only browsers I know that support the alpha channel properly are
Netscape 6.x, Mozilla 0.9.x (which is practically the same thing) and
Internet Explorer 5.x for MacOS (the Windows version has no proper support).
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Does IE6 show PNG transparency properly?
--
//Mahalis
camera{location<0,0.25,-2> look_at 0.5*y} #declare T=texture{pigment{crackle
scale 0.5 rotate 90 turbulence 0.75 color_map{[0 rgb 1][0.05 rgb 1][0.1
rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}} finish{ambient 1}} #declare
c=difference{torus{0.5,0.1 rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}
merge{object{c translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
cylinder{0.5*y,0,0.1} texture{T}}
--
"Warp" <war### [at] tag povray org> wrote in message
news:3bed1c99@news.povray.org...
> QuadHall <tre### [at] ww-interlink net> wrote:
> : Recently (I think) there were some postings in one of the povray
newsgroups
> : involving POV produced PNG files (with an alpha channel) and the
internet
> : browsers that properly displayed such images. One of these postings, if
my
> : questionable memory serves me, had a link to an example web page-->I
think
> : it had a png image of a lit match against some sort of varied background
.
> : Does anyone remember seeing these posts? (and if so, which newsgroup,
date,
> : etc?) thanks.....
>
> I think that post was made by me. I don't remember which thread it was,
> though.
> The page is this one:
>
> http://www.cs.tut.fi/~warp/alphatest.html
>
> If the browser supports alpha properly, it should look like this:
>
> http://www.cs.tut.fi/~warp/alphatestsnapshot.jpg
>
> The only browsers I know that support the alpha channel properly are
> Netscape 6.x, Mozilla 0.9.x (which is practically the same thing) and
> Internet Explorer 5.x for MacOS (the Windows version has no proper
support).
>
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> I think that post was made by me. I don't remember which thread it was,
> though.
> The page is this one:
>
> http://www.cs.tut.fi/~warp/alphatest.html
>
> If the browser supports alpha properly, it should look like this:
>
> http://www.cs.tut.fi/~warp/alphatestsnapshot.jpg
>
> The only browsers I know that support the alpha channel properly are
> Netscape 6.x, Mozilla 0.9.x (which is practically the same thing) and
> Internet Explorer 5.x for MacOS (the Windows version has no proper
support).
Can someone explain how to make PNG's with an alpha channel with POV?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
ARTis wrote:
>
> Can someone explain how to make PNG's with an alpha channel with POV?
IIRC, use PNG as output format, and add the +UA switch to the
command-line. It's in the docs.
--
Adrien Beau adr### [at] free fr http://adrien.beau.free.fr/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
No, but if you work with web pages at all, and you're interested in using
transparent images in IE, there's an Active-X object that loads a PNG file
and displays it as a transparent image, basically simulating as though the
PNG were just any other image on the page. There's a script which does the
conversion from image tags to this Active-Xobject easily at
http://www.youngpup.net/?request=/snippets/sleight.xml
- Slime
[ http://www.slimeland.com/ ]
[ http://www.slimeland.com/images/ ]
"Mahalis" <don### [at] fakey com> wrote in message
news:3bed24dc$1@news.povray.org...
> Does IE6 show PNG transparency properly?
>
> --
>
> //Mahalis
> camera{location<0,0.25,-2> look_at 0.5*y} #declare
T=texture{pigment{crackle
> scale 0.5 rotate 90 turbulence 0.75 color_map{[0 rgb 1][0.05 rgb 1][0.1
> rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}} finish{ambient 1}} #declare
> c=difference{torus{0.5,0.1 rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}
> merge{object{c translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
> cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
> cylinder{0.5*y,0,0.1} texture{T}}
> --
>
>
> "Warp" <war### [at] tag povray org> wrote in message
> news:3bed1c99@news.povray.org...
> > QuadHall <tre### [at] ww-interlink net> wrote:
> > : Recently (I think) there were some postings in one of the povray
> newsgroups
> > : involving POV produced PNG files (with an alpha channel) and the
> internet
> > : browsers that properly displayed such images. One of these postings,
if
> my
> > : questionable memory serves me, had a link to an example web page-->I
> think
> > : it had a png image of a lit match against some sort of varied
background
> .
> > : Does anyone remember seeing these posts? (and if so, which newsgroup,
> date,
> > : etc?) thanks.....
> >
> > I think that post was made by me. I don't remember which thread it
was,
> > though.
> > The page is this one:
> >
> > http://www.cs.tut.fi/~warp/alphatest.html
> >
> > If the browser supports alpha properly, it should look like this:
> >
> > http://www.cs.tut.fi/~warp/alphatestsnapshot.jpg
> >
> > The only browsers I know that support the alpha channel properly are
> > Netscape 6.x, Mozilla 0.9.x (which is practically the same thing) and
> > Internet Explorer 5.x for MacOS (the Windows version has no proper
> support).
> >
> > --
> > #macro N(D,I)#if(I<6)cylinder{M()#local
D[I]=div(D[I],104);M().5,2pigment{
> > rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro
M()<mod(D[I],13)-6,mod(div(D[I
> > ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> > 7382340,3358,3900569407,970,4254934330},0)}// -
Warp -
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Thanks, that's what I was looking for. I had just downloaded IE6 and wanted
to see if it properly supported PNG alpha channels.....it doesn't. Oh
well.......anyways, thanks again,
Quadhall
"Warp" <war### [at] tag povray org> wrote in message
news:3bed1c99@news.povray.org...
> QuadHall <tre### [at] ww-interlink net> wrote:
> : Recently (I think) there were some postings in one of the povray
newsgroups
> : involving POV produced PNG files (with an alpha channel) and the
internet
> : browsers that properly displayed such images. One of these postings, if
my
> : questionable memory serves me, had a link to an example web page-->I
think
> : it had a png image of a lit match against some sort of varied background
.
> : Does anyone remember seeing these posts? (and if so, which newsgroup,
date,
> : etc?) thanks.....
>
> I think that post was made by me. I don't remember which thread it was,
> though.
> The page is this one:
>
> http://www.cs.tut.fi/~warp/alphatest.html
>
> If the browser supports alpha properly, it should look like this:
>
> http://www.cs.tut.fi/~warp/alphatestsnapshot.jpg
>
> The only browsers I know that support the alpha channel properly are
> Netscape 6.x, Mozilla 0.9.x (which is practically the same thing) and
> Internet Explorer 5.x for MacOS (the Windows version has no proper
support).
>
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Just tried the script with IE6 and Warp's example page-->works fine, now
I've got to try getting POV to make a few PNG files with alpha channels and
slap 'em into some web pages...........
Quadhall
"Slime" <noo### [at] hotmail com> wrote in message
news:3bed8e57@news.povray.org...
> No, but if you work with web pages at all, and you're interested in using
> transparent images in IE, there's an Active-X object that loads a PNG file
> and displays it as a transparent image, basically simulating as though the
> PNG were just any other image on the page. There's a script which does the
> conversion from image tags to this Active-Xobject easily at
> http://www.youngpup.net/?request=/snippets/sleight.xml
>
> - Slime
> [ http://www.slimeland.com/ ]
> [ http://www.slimeland.com/images/ ]
>
> "Mahalis" <don### [at] fakey com> wrote in message
> news:3bed24dc$1@news.povray.org...
> > Does IE6 show PNG transparency properly?
> >
> > --
> >
> > //Mahalis
> > camera{location<0,0.25,-2> look_at 0.5*y} #declare
> T=texture{pigment{crackle
> > scale 0.5 rotate 90 turbulence 0.75 color_map{[0 rgb 1][0.05 rgb 1][0.1
> > rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}} finish{ambient 1}} #declare
> > c=difference{torus{0.5,0.1
rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}
> > merge{object{c translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
> > cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
> > cylinder{0.5*y,0,0.1} texture{T}}
> > --
> >
> >
> > "Warp" <war### [at] tag povray org> wrote in message
> > news:3bed1c99@news.povray.org...
> > > QuadHall <tre### [at] ww-interlink net> wrote:
> > > : Recently (I think) there were some postings in one of the povray
> > newsgroups
> > > : involving POV produced PNG files (with an alpha channel) and the
> > internet
> > > : browsers that properly displayed such images. One of these
postings,
> if
> > my
> > > : questionable memory serves me, had a link to an example web page-->I
> > think
> > > : it had a png image of a lit match against some sort of varied
> background
> > .
> > > : Does anyone remember seeing these posts? (and if so, which
newsgroup,
> > date,
> > > : etc?) thanks.....
> > >
> > > I think that post was made by me. I don't remember which thread it
> was,
> > > though.
> > > The page is this one:
> > >
> > > http://www.cs.tut.fi/~warp/alphatest.html
> > >
> > > If the browser supports alpha properly, it should look like this:
> > >
> > > http://www.cs.tut.fi/~warp/alphatestsnapshot.jpg
> > >
> > > The only browsers I know that support the alpha channel properly are
> > > Netscape 6.x, Mozilla 0.9.x (which is practically the same thing) and
> > > Internet Explorer 5.x for MacOS (the Windows version has no proper
> > support).
> > >
> > > --
> > > #macro N(D,I)#if(I<6)cylinder{M()#local
> D[I]=div(D[I],104);M().5,2pigment{
> > > rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro
> M()<mod(D[I],13)-6,mod(div(D[I
> > > ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> > > 7382340,3358,3900569407,970,4254934330},0)}// -
> Warp -
> >
> >
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Slime <noo### [at] hotmail com> wrote:
: No, but if you work with web pages at all, and you're interested in using
: transparent images in IE, there's an Active-X object that loads a PNG file
And makes the page Windows-IE-only?
(And you could people PLEASE quote properly?)
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3bee2c61@news.povray.org> , Warp <war### [at] tag povray org> wrote:
> And makes the page Windows-IE-only?
What, the web wasn't invented by Microsoft?
Thorsten
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
The kindly Rev. overheard Warp <war### [at] tag povray org> saying on 11 Nov
2001:
> Slime <noo### [at] hotmail com> wrote:
>: No, but if you work with web pages at all, and you're interested
>: in using transparent images in IE, there's an Active-X object that
>: loads a PNG file
>
> And makes the page Windows-IE-only?
Nope, it means that Microsoft has adhered to published standards. So
has Netscape, sort of.
I'm happy to bash Microsoft for any legitimate reason, but this isn't
one of them.
--
Rev. Bob "Bob" Crispen
crispen at hiwaay dot net
A dead thing can go with a stream, only a living thing can go
against it. - G.K. Chesterton
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> IIRC, use PNG as output format, and add the +UA switch to the
> command-line. It's in the docs.
Thank you.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <Xns91562ADE035A4revbob@127.0.0.1> , revbob@the.rectory (Rev. Bob
'Bob' Crispen) wrote:
>>: No, but if you work with web pages at all, and you're interested
>>: in using transparent images in IE, there's an Active-X object that
>>: loads a PNG file
>>
>> And makes the page Windows-IE-only?
>
> Nope, it means that Microsoft has adhered to published standards. So
> has Netscape, sort of.
>
> I'm happy to bash Microsoft for any legitimate reason, but this isn't
> one of them.
Since when is ActiveX an Internet standard???
Thorsten
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Thorsten Froehlich wrote:
>
> Since when is ActiveX an Internet standard???
Perhaps he was speaking about the ability to load a PNG in
a web page?
--
Adrien Beau adr### [at] free fr http://adrien.beau.free.fr/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3BEE78D7.FE358AF4@free.fr> , Adrien Beau <adr### [at] free fr>
wrote:
>> Since when is ActiveX an Internet standard???
>
> Perhaps he was speaking about the ability to load a PNG in
> a web page?
Yes, but it doesn't make any sense in this context. At least not if you
read the message and what he replied to with it. Somehow Bob got it all the
other way around...
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> And makes the page Windows-IE-only?
Well, the Active-X object only works in IE. But the script I linked to
doesn't make the page IE only, It simply takes a page that works in all PNG
supporting browsers and *also* makes it work in IE.
Personally, I think this is just another way that MS is trying to beat out
its competition (making designers use Active-X objects rather than standard
HTML for simple stuff like this).
> (And you could people PLEASE quote properly?)
And sorry about the quoting thing, I'm not used to newsgroups, I usually
post in typical UBB forums where quoting isn't necessary (and often
considered annoying). I'll try my best. =)
- Slime
[ http://www.slimeland.com/ ]
[ http://www.slimeland.com/images/ ]
"Warp" <war### [at] tag povray org> wrote in message
news:3bee2c61@news.povray.org...
> Slime <noo### [at] hotmail com> wrote:
> : No, but if you work with web pages at all, and you're interested in
using
> : transparent images in IE, there's an Active-X object that loads a PNG
file
>
> And makes the page Windows-IE-only?
>
> (And you could people PLEASE quote properly?)
>
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Slime <noo### [at] hotmail com> wrote:
:> (And you could people PLEASE quote properly?)
: And sorry about the quoting thing, I'm not used to newsgroups, I usually
: post in typical UBB forums where quoting isn't necessary (and often
: considered annoying). I'll try my best. =)
Of course I should have said "And could you people...". I'm not perfect
either. :)
Quoting properly is rather simple. Look at this article itself as an
example of proper quoting.
Just some simple rules:
1. Quote first, answer then.
2. Remove unnecessary quotes. Quote what you are answering to, nothing else.
3. Don't leave any quote at the end of your post. It serves no-one to leave
something quoted there.
Your response should look something like this:
SomeGuy <som### [at] somewhere com> wrote:
: A statement in the original article.
A response to that statement.
: Another statement in the original article.
A response to this one.
No quotes at the end of the article.
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Warp" wrote:
> Quoting properly is rather simple. Look at this
> article itself as an example of proper quoting.
> Just some simple rules:
I think it would be nice if something like this could be posted to
povray.announce.frequently-asked-questions, perhaps even inside the AUP, but
not necessarily. The worst case is writing one new line and then quoting
100+ lines in the end of the message, which unfortunately happens quite
often...
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated Nov 5)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
The kindly Rev. overheard "Thorsten Froehlich" <tho### [at] trf de>
saying on 11 Nov 2001:
>> Perhaps he was speaking about the ability to load a PNG in a web
>> page?
>
> Yes, but it doesn't make any sense in this context. At least not
> if you read the message and what he replied to with it. Somehow
> Bob got it all the other way around...
Right you are. I thought we were still talking about MSIE 6 and
Mozilla. My bad.
--
Rev. Bob "Bob" Crispen
crispen at hiwaay dot net
What we're looking for: destinations
What we end up getting: journeys
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Rune wrote:
> I think it would be nice if something like this could be posted to
> povray.announce.frequently-asked-questions, perhaps even inside the AUP, but
> not necessarily. The worst case is writing one new line and then quoting
> 100+ lines in the end of the message, which unfortunately happens quite
> often...
People adopt quoting styles that they themselves are comfortable with.
While we have discussed the possiblity of posting something like that
it has been argued that few will comply and we would also end up looking
like a bunch of nit picking control freaks. For the most part the majority
of people around here use acceptable quoting practices. It's not nearly
as bad here as what you see on USENET.
--
Ken Tyler
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ken <tyl### [at] pacbell net> wrote:
: we would also end up looking
: like a bunch of nit picking control freaks.
I am one of those. ;)
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ken scribis news:3BF07F76.DCCF6EEF@pacbell.net:
> we would also end up
> looking like a bunch of nit picking control freaks.
> Ken Tyler
Well, I have a basket full of used nits at my house if anyone wants to pick
some, but as for controling the freaks, it will never happen on my watch.
--
Gis posta, Arto.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Ken" wrote:
> While we have discussed the possiblity of posting
> something like that it has been argued that few will
> comply and we would also end up looking like a bunch
> of nit picking control freaks.
Ok, I understand. I guess we can just have Warp tell them now and then when
it gets too bad. ;)
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated Nov 5)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Rune wrote:
>
> "Ken" wrote:
> > While we have discussed the possiblity of posting
> > something like that it has been argued that few will
> > comply and we would also end up looking like a bunch
> > of nit picking control freaks.
>
> Ok, I understand. I guess we can just have Warp tell them now and then when
> it gets too bad. ;)
I am sure Warp will not mind in the least...
--
Ken Tyler
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |