Bilder mit Rahmen

So geht das: http://home.nexgo.de/arkadi/beispiel/rahmen.html

mfg Günter
http://home.nexgo.de/dz-kirov/

Mi diesen paar Zeilen lassen sich mit POVRAY gute Rahmen rendern.

//#include „testcam.inc“
global_settings { assumed_gamma 2.2 }
#include „colors.inc“
#include „textures.inc“
#include „shapes.inc“
#include „woods.inc“

camera {
location

}

plane { z, 1
pigment { color red 5 green 5 blue 5}
}

light_source { color White }
light_source { color White }

#declare frame =

blob {
threshold 0.5

cylinder { ,
, 1 ,2
}
cylinder { ,
, 1 ,2
}
cylinder { ,
, 1 ,2
}
cylinder { ,
, 1 ,2
}
}

#default {
finish {
specular 0.5
roughness 0.0025
}
}
#declare Angle = 94.9; // Rotates the textures on the X axis.

#declare Test1 =
texture {
pigment {
P_WoodGrain17A
color_map { M_Wood1A }
}
}

texture { pigment { P_WoodGrain17B color_map { M_Wood1B }}}
object { frame texture { Test1 scale 1 rotate x*Angle }}

Das sieht mit Bild dann so aus
http://www.my-japan.de/gifu/b/gifu_castle_2.jpg

Beth
http://my-japan.de