Un très très vieux projet POVray qui revient dans le triste monde de 2021
http://la.buvette.org/POV/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.0 KiB
45 lines
1.0 KiB
/*
|
|
* contexte.inc
|
|
*/
|
|
|
|
global_settings { assumed_gamma 1.0 }
|
|
|
|
/*------------------------------------------------------------------*/
|
|
/*
|
|
* essential system includes
|
|
*/
|
|
#include "colors.inc"
|
|
#include "metals.inc"
|
|
#include "textures.inc"
|
|
|
|
/*------------------------------------------------------------------*/
|
|
|
|
#declare ANGLE_CAM = 33;
|
|
|
|
//---------------------------------------
|
|
/*
|
|
* deux macros pour des variations plus 'touchy'
|
|
*/
|
|
#macro Cos_01( X )
|
|
(0.5-0.5*cos( 3.141592654 * X))
|
|
#end
|
|
#macro Cos_010( X )
|
|
(0.5-0.5*cos( 2 * 3.141592654 * X))
|
|
#end
|
|
//---------------------------------------
|
|
|
|
/*------------------------------------------------------------------*/
|
|
/*
|
|
* outils de mise au point (smart tools)
|
|
*/
|
|
#declare Repere = object
|
|
{
|
|
#local DA = 5;
|
|
#local DB = DA * 5;
|
|
union {
|
|
cylinder { <-DA, 0, 0>, <100, 0, 0>, 0.1 pigment { color Red } }
|
|
cylinder { <0, -DA, 0>, <0, 100, 0>, 0.1 pigment { color Green } }
|
|
cylinder { <0, 0, -DA>, <0, 0, 100>, 0.1 pigment { color Blue } }
|
|
}
|
|
}
|
|
/*------------------------------------------------------------------*/
|
|
|