|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I present, for your enjoyment, the single dumbest method of creating a
rounded cube.
isosurface {
function {
z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z +
y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y +
x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x }
threshold 100000000000
[etc..]
}
(Do isosurfaces support the pow(A,B) function? I tried, and it didn't
work)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <385BEF15.38346E0D@istar.ca>, sde### [at] istarca wrote:
> (Do isosurfaces support the pow(A,B) function? I tried, and it didn't
> work)
They support the ^ operator, which does the same thing(use A^B instead
of pow(A,B)). I thought they supported the pow() function, but they
don't seem to anymore, and I can't find anywhere in my scenes where I
used that function. I like the ^ operator better, though, I even wrote a
little patch which allows it in ordinary expressions.
--
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Chris Huff wrote:
> In article <385BEF15.38346E0D@istar.ca>, sde### [at] istarca wrote:
>
> > (Do isosurfaces support the pow(A,B) function? I tried, and it didn't
> > work)
>
> They support the ^ operator, which does the same thing(use A^B instead
> of pow(A,B)). I thought they supported the pow() function, but they
> don't seem to anymore, and I can't find anywhere in my scenes where I
> used that function. I like the ^ operator better, though, I even wrote a
> little patch which allows it in ordinary expressions.
Yeah.. but my technique is dumber :)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Simon de Vet wrote:
>
> I present, for your enjoyment, the single dumbest method of creating a
> rounded cube.
Dumb is as dumb does...
This gives a little larger corner/edge radius -
isosurface {
function { sin(x^30)+sin(y^30)+sin(z^30) }
threshold 1
}
--
Wishing you Seasons Greetings, A Merry Christmas, and A Happy New Year !
Ken Tyler - 1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|