POV-Ray : Newsgroups : povray.general : Mega-Pov or V3.5? : Re: Mega-Pov or V3.5? Server Time
7 Aug 2024 03:23:08 EDT (-0400)
  Re: Mega-Pov or V3.5?  
From: Warp
Date: 29 Jan 2002 07:41:50
Message: <3c56988d@news.povray.org>
Zeger Knaepen <zeg### [at] studentkuleuvenacbe> wrote:
:>   Like pattern functions, fractal patterns with exponents >4, transmit
: Aren't pattern functions part of MegaPov?

  There are only pigment functions, which is a bit different beast.

  Note that you can also use pigment functions in pov3.5, but it's more
versatile: You can not only get the gray value of the pigment as its value,
but also any of the color channels or even a hf value.

  I also forgot to mention that in megapov you can only have 3 parameters to
functions, while in pov3.5 you can have any number of parameters from 1 to
some bigger value (which I don't remember). This means that you can do things
like, for example:

#declare MyFunction = function(x,y,z,s) { s*(sin(x)*sin(y)*sin(z))^2 }

and then use it like for example:

  pigment
  { function { MyFunction(x,y,z,(x+y)^2) }
    color_map { [0 rgb 0][.5 rgb x][1 rgb 1] }
  }

:> behaviour outside the range 0-1,
: they have changed the transmit behaviour outside the range 0-1 ???
: :(
: I liked it the way it was...

  Really? Do you know how it was previously? It was pretty illogical and didn't
make much sense.

:> support for reading JPEG and TIFF,
: useful, but not reason enough to use 3.5 instead of MegaPov.  Not for me at least.

  If you are ever going to use imported 3DS files, you'll probably appreciate
the JPEG support, as 3DS textures are often given in JPEG format.

  Other big advantages include the new windows editor, which is much nicer,
the greatly improved documentation and the greatly improved include files.

-- 
#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

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