|
|
Hi,
I wonder if I need to change my PC. It is a Pentium II notebook,
with 256MB memory runing NT4 at ??unknown MHz??
It took me about 20 hours to render the following code.
Any one to check with a more recent machine?
#include "colors.inc"
#include "metals.inc"
#include "functions.inc"
light_source
{
<10, 10, 10>
color rgb 1.0
}
light_source
{
<-5, -5, -10>
color rgb 1.0
}
camera
{
location <0.0 , 5.0 ,-7.0>
look_at <0.0 , 0.0 , 0.0>
right x*image_width/image_height
}
// function(x,y,z) { -(sin(5*sqrt(x*x + z*z)+0.00001))/(5*sqrt(x*x +
z*z)+0.00001) + y } // onde
// function {
f_spiral(sin(3*atan2(z,x)),y,-3+sqrt(x^2+z^2),0.3,0.1,3,1,1,1.5) } //
disque avec 6 spirales
isosurface {
function {
f_spiral(sin(3*atan2(z,x)),-3+sqrt(x^2+z^2+y^2),y,0.3,0.1,3,1,1,1.5) }
// alternative declared function
contained_by { sphere { 0, 3.2 } } // container shape
//threshold 0.0 // optional threshold value for
isosurface [0.0]
accuracy 0.001 // accuracy of calculation
[0.001]
max_gradient 11 // maximum gradient the
function can have [1.1]
//evaluate 1, 1.2, 0.99 // evaluate the maximum gradient
//max_trace 1 // maybe increase for use in CSG
[1]
texture {
bozo
texture_map {
[0 T_Gold_3C]
[0.25 T_Gold_3E]
[0.5 T_Chrome_3E]
[0.75 T_Chrome_3E]
[1 T_Gold_3C]
}
}
}
with this ini file:
[1024x768, AA 0.3]
Width=1024
Height=768
Antialias=On
Antialias_Threshold=0.3
Post a reply to this message
Attachments:
Download 'essai_iso2.jpg' (62 KB)
Preview of image 'essai_iso2.jpg'
|
|