4.7.11 Script projected_through

Utilisation : Les liens ne sont pas apparents. Pour obtenir des informations sur un mot clé, cliquez-le dans le script !

// Persistence Of Vision raytracer version 3.5 sample file.

#include "colors.inc"

camera {location <2, 3,-10> direction z*1 look_at <-2, 2, 0>}

plane {y, 0 pigment {White}}
plane {z, 0 pigment {SteelBlue} hollow on}

#declare Object1 = union {
	torus {2 .1 rotaterotate <100, 10, 0> translate z*1}
	text {ttf "cyrvetic.ttf", "projected", .1, 0}
	text {ttf "cyrvetic.ttf", "through", .1, 0 translate y*-1}
	scale .4 translate <-1, 3,-7>
}

object {Object1 pigment {YellowGreen}}

light_source {<0, 4,-10> White*2 projected_through {Object1}}
light_source {<0, 3,-9> White*1 shadowless}

Et voici ce que nous obtenons :

Retour Retour