4.8.3 Script objectmods_no_reflection

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.
// Demo scene for the "no_reflection" object modifier

#include "colors.inc"
#include "thingy.inc"

camera {location <100, 100, 100> direction z*1 look_at <0, 0, 0>}

plane {y, 0 pigment {SteelBlue}}

object {Thingy
	scale .4 translate <-40, 0, 30> pigment {rgb <1, 1, .5>}
	no_reflection
}

object {Thingy
	scale .4 translate <40, 0, 30> pigment {rgb <1, .5, .5>}
}

plane {z, 0 pigment {SteelBlue} finish {reflection {.5}} normal {bumps .02 scale 5}}

text {ttf "cyrvetic", "no_reflection !", .05, 0 scale 15 rotate <0,-180, 0> translate <-10, 30, .5> pigment {rgb <1, 1, .5>} finish {ambient 1 diffuse 0}}

light_source {<400, 500, 130> White*2}

Et voici ce que nous obtenons :


Voyons les fichiers inclus :

Dans 'No_reflection' ...
4.8.3.1 Script thingy

Retour Retour