POV-Ray : Newsgroups : povray.general : More functions, identifiers please Server Time
13 Aug 2024 17:26:00 EDT (-0400)
  More functions, identifiers please (Message 1 to 3 of 3)  
From: PoD
Subject: More functions, identifiers please
Date: 6 Jul 1998 17:29:40
Message: <35A1335E.CB3@merlin.net.au>
While 3.1 is still in beta I thought I'd suggest that the following be
added.

Noise functions
  ie. noise(V) returning a float and noise3d(V) returning a vector,
these should be easy as I've done it myself.

Bounding info
  I haven't tried these but it shouldn't be too hard to have the
bounding box functions put the current limits of the bounding box into
variables which could be read in the scene file as built in identifiers
such as bound_min and bound_max.
  They could be used like

union{
  box{
    <-1,-1,-1>,<1,1,1>
    #declare min1 = bound_min // currently = <-1,-1,-1>
    #declare max1 = bound_max // = <1,1,1>
  }
  box{
    <1,1,1>,<2,2,2>
    #declare min2 = bound_min // = <1,1,1>
    #declare max2 = bound_max // = <2,2,2>
  }
  #declare min3 = bound_min // = <-1,-1,-1>
  #declare max3 = bound_max // = <2,2,2>
}

Cheers, PoD.


Post a reply to this message

From: Ronald L  Parker
Subject: Re: More functions, identifiers please
Date: 6 Jul 1998 22:04:49
Message: <35a170ca.84384153@news.povray.org>
On Tue, 07 Jul 1998 05:58:14 +0930, PoD <pod### [at] merlinnetau> wrote:

>Bounding info
>  I haven't tried these but it shouldn't be too hard to have the
>bounding box functions put the current limits of the bounding box into
>variables which could be read in the scene file as built in identifiers
>such as bound_min and bound_max.

A 3.02 source patch for this can be found on my web page at
http://www2.fwi.com/~parkerr/traces.html .


Post a reply to this message

From: Fabien Mosen
Subject: Re: More functions, identifiers please
Date: 7 Jul 1998 13:37:42
Message: <35a24ed6.0@news.povray.org>
Keep your ideas for Pov 3.2; the team has said that the design of 3.1
was frozen by now.

Fabien.


Post a reply to this message

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