POV-Ray : Newsgroups : povray.general : 3.5 update in p.a.f-a-q Server Time
1 Nov 2024 06:18:15 EDT (-0400)
  3.5 update in p.a.f-a-q (Message 1 to 8 of 8)  
From: ryan constantine
Subject: 3.5 update in p.a.f-a-q
Date: 3 Sep 2000 10:21:15
Message: <39B25E63.FA669BE2@yahoo.com>
did you all see it?  of the maybe features, the one i'll be happiest
about if it is included is solid triangle mesh since i've used it as a
main feature of my models.


Post a reply to this message

From: Rune
Subject: Re: 3.5 update in p.a.f-a-q
Date: 3 Sep 2000 15:42:59
Message: <39b2a9c3@news.povray.org>
I wonder what this means (in the NO list):

"Reset children (deprecated - use pigment_pattern)"

How can a pigment_pattern be used instead of the reset_children warp?
I can't figure it out myself right now.

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated July 23)
/ Also visit http://www.povrayusers.org


Post a reply to this message

From: Tony[B]
Subject: Re: 3.5 update in p.a.f-a-q
Date: 3 Sep 2000 15:58:32
Message: <39b2ad68@news.povray.org>
> How can a pigment_pattern be used instead of the reset_children warp?
> I can't figure it out myself right now.

Say you used to have this:

pigment
{
 bozo turbulence 1
 pigment_map
 {
  [0 bozo]
  [1 granite]
 }
 reset_children
}

Now you use:

pigment
{
 pigment_pattern {bozo turbulence 1}
 pigment_map
 {
  [0 bozo]
  [1 granite]
 }
}


Post a reply to this message

From: Rune
Subject: Re: 3.5 update in p.a.f-a-q
Date: 3 Sep 2000 16:41:57
Message: <39b2b795@news.povray.org>
"Tony[B]" wrote:
> "Rune" wrote:
> > How can a pigment_pattern be used instead of the
> > reset_children warp?
> > I can't figure it out myself right now.
>
> Say you used to have this:
>
> pigment {
>  bozo turbulence 1
>  reset_children
> }
>
> Now you use:
>
> pigment {
>  pigment_pattern {bozo turbulence 1}
> }

Aha, ok, but wouldn't you have to make sure the color_map goes from black to
white? Like for example using spotted instead of bozo. And isn't this method
slower? It's like having a pattern, and base a pigment on that pattern, and
then converting the pigment back into a pattern.

Greetings,

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated July 23)
/ Also visit http://www.povrayusers.org


Post a reply to this message

From: Christoph Hormann
Subject: Re: 3.5 update in p.a.f-a-q
Date: 3 Sep 2000 16:44:02
Message: <39B2B849.B2BB8F03@schunter.etc.tu-bs.de>
ryan constantine wrote:
> 
> did you all see it?  of the maybe features, the one i'll be happiest
> about if it is included is solid triangle mesh since i've used it as a
> main feature of my models.

I wonder whether GIF support will be removed as in megapov. There is nothing
about it in the list, but it says, that there will be TIFF file support and IIRC
several TIFF subformats use the LZW algorithm just like GIF.  

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Fabien Mosen
Subject: Re: 3.5 update in p.a.f-a-q
Date: 3 Sep 2000 17:16:36
Message: <39B2BEA7.BD73C875@skynet.be>
Christoph Hormann wrote:
> 
> ryan constantine wrote:
> >
> > did you all see it?  of the maybe features, the one i'll be happiest
> > about if it is included is solid triangle mesh since i've used it as a
> > main feature of my models.
> 
> I wonder whether GIF support will be removed as in megapov. There is nothing
> about it in the list, but it says, that there will be TIFF file support and IIRC
> several TIFF subformats use the LZW algorithm just like GIF.

It will, because of the Unisys issue.  As of TIFF, it's just the 
compressed format who use lzw, and it's rarely used in graphics...

Fabien.


Post a reply to this message

From: Tony[B]
Subject: Re: 3.5 update in p.a.f-a-q
Date: 3 Sep 2000 18:05:49
Message: <39b2cb3d@news.povray.org>
> Aha, ok, but wouldn't you have to make sure the color_map goes from black
to
> white?

Yes, I believe so.

> And isn't this method
> slower? It's like having a pattern, and base a pigment on that pattern,
and
> then converting the pigment back into a pattern.

I dunno. You've got me. :)


Post a reply to this message

From: Nathan Kopp
Subject: Re: 3.5 update in p.a.f-a-q
Date: 4 Sep 2000 16:45:17
Message: <39b409dd$1@news.povray.org>
"Rune" <run### [at] inamecom> wrote...

> Aha, ok, but wouldn't you have to make sure the color_map goes from black
to
> white?

Yes.

> And isn't this method
> slower? It's like having a pattern, and base a pigment on that pattern,
and
> then converting the pigment back into a pattern.

Possibly, but the speed difference isn't as much as you might think.  This
technique uses 11 multiplications and 6 additions to do the conversions: 8
"extra" multiplications and 4 "extra" additions to do blend the color_map
entries, plus 3 mulitplications and 2 additions to convert to grey-scale.
(This is based on blending a single-component pattern value, as opposed to a
5-component color value, using 2 multiplications and 1 addition.)

Interestingly enough, though, using this instead of reset_children will
often eliminate the need to apply some warps to the child textures, which
could mean fewer matrix transformations.

-Nathan


Post a reply to this message

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