POV-Ray : Newsgroups : povray.general : New system!!! : Re: New system!!! Server Time
8 Aug 2024 10:23:25 EDT (-0400)
  Re: New system!!!  
From: Gail Shaw
Date: 19 Jan 2001 07:10:26
Message: <3a682eb2@news.povray.org>
Lance Birch <-> wrote in message news:3a67d118@news.povray.org...
> I'd really like to try some MegaPOV stuff some time, since I've got enough
> power now to try all the neat features :)
>

// disclamer: code below has been typed from memory, may contain errors and
probably won't look that great

#declare F_Crackle= function {pigment{crackle}}

isosurface {
 function { BaseFunction(x,y,z)-noise3d(x,0,z)*2-noise3d(x*4,0,z*4)*0.5 -
F_Crackle(x,0,z)*1.5 - F_Crackle(x*6,0,z*6)*0.25}
 threshold 0
 method 2
 eval
 contained_by {box {<-20,-15,-20>,<20,7,20>}}
 texture {
  pigment {rgbf <0.85,0.85,1,0.5>}
  finish {specular 0.7 roughness 0.01 reflection_min 0.2 reflection_max 0.5}
 }
 interior {
  fade_distance 5
  fade_power 2
 }
}

// add lighting to taste

Two or three of those types of isosurface in a scene and my machine grinds
to a halt.

Gail
--
********************************************************************
* gsh### [at] monotixcoza              * System.dat not found.         *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k  *
********************************************************************
* If at first you don't succeed, call it version 1.0               *
********************************************************************


Post a reply to this message

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