Supprimer un message
Raison de suppression du message (envoyée à l'utilisateur)

Voulez vous réellement supprimer ce message?  


max
J'utilise le résultat de ce petit calcul en raytracing:




#version 3.5;
global_settings {assumed_gamma 1.0 ambient_light 0 max_trace_level 128 adc_bailout .01}
camera {angle 75 location 0
up y
right x*image_width/image_height
look_at -y }
#declare R = sqrt(3);
#declare CV1 = <0, -1, 2*sqrt(2) >;
#declare CV2 = <sqrt(6), -1, -sqrt(2) >;
#declare CV3 = <-sqrt(6), -1, -sqrt(2) >;
#declare CV4 = <0, 3, 0>;
light_source { 0 color rgb 1 }
#declare Plane_Finish = finish {diffuse 1 reflection {1, 0} }
#declare Mirror_Finish = finish {diffuse 0 reflection {1,0.5} }
#declare TetraSpheres1 = union {
sphere { <0, 0, 0> R finish {Mirror_Finish} translate CV1}
sphere { <0, 0, 0> R finish {Mirror_Finish} translate CV2}
sphere { <0, 0, 0> R finish {Mirror_Finish} translate CV3}
sphere { <0, 0, 0> R finish {Mirror_Finish} translate CV4}
};
#declare TetraSpheres2 = union {
sphere { <0, 0, 0> R finish {Mirror_Finish} translate CV1 no_image}
sphere { <0, 0, 0> R finish {Mirror_Finish} translate CV2 no_image}
sphere { <0, 0, 0> R finish {Mirror_Finish} translate CV3 no_image}
sphere { <0, 0, 0> R finish {Mirror_Finish} translate CV4}
};
plane { <0, 1, 0>, -10 finish {Plane_Finish}no_image }
plane { <-3*sqrt(2), -sqrt(3), -sqrt(6) >, -10
pigment {color rgb x} finish {Plane_Finish}no_image }
plane { <3*sqrt(2), -sqrt(3), -sqrt(6) >, -10
pigment {color rgb y} finish {Plane_Finish} no_image }
plane { <0, -sqrt(3), 2*sqrt(6) >, -10
pigment {color rgb z} finish {Plane_Finish} no_image }
object {TetraSpheres1 no_image no_shadow}
object {TetraSpheres2 rotate <180, 0, 0> no_shadow }

Informaticien.be - © 2002-2024 AkretioSPRL  - Generated via Kelare
The Akretio Network: Akretio - Freedelity - KelCommerce - Votre publicité sur informaticien.be ?