working on textures

This commit is contained in:
Tonton Th 2025-11-15 03:47:45 +01:00
parent f9cd36f83e
commit 572bbc9561

View File

@ -88,6 +88,9 @@ normal { dents 0.25 scale 3 }
finish { roughness 1.00 } finish { roughness 1.00 }
} }
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/*
* XXX the finish need a refactoring
*/
#declare tPlasticOrange = texture #declare tPlasticOrange = texture
{ {
pigment{rgb <2.000, 0.50, 0.0>} pigment{rgb <2.000, 0.50, 0.0>}
@ -117,17 +120,27 @@ finish { roughness 1.00 }
specular 0.3 specular 0.3
} }
} }
#declare tPlasticPrune = texture
{
pigment{rgb <1.50, 0.30, 1.50>}
finish {
ambient 0.1
diffuse 0.6
specular 0.3
}
}
/* ------------------------------------------------------------ */
/* this texture will be clock dependent XXX */ /* this texture will be clock dependent XXX */
#declare Flashy = texture { #declare Flashy = texture {
pigment { pigment {
onion onion
colour_map { colour_map {
[0.00, Red * 0.70 ] [0.00, Red * 0.70 ]
[0.33, Gray50 ] [0.33, Gray40 ]
[1.00, Blue * 0.70 ] [1.00, Blue * 0.70 ]
} }
turbulence 3.14159 turbulence 3.14159 + sin(NormClock*3.14159)
scale 0.50 scale 0.50
} }
finish { finish {
@ -135,9 +148,20 @@ finish {
} }
} }
/* new: 28 octobre 2025 */
#declare Ground_Texture = texture
{
pigment { rgb <0.51, 0.58, 0.23> }
normal { dents 0.28 scale 1.5}
finish {
ambient 0 specular 0.5 metallic roughness 0.18
reflection { 0.5 metallic }
}
}
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/* /*
* * Textures avec les six teintes "de base"
*/ */
#declare R_Texture = texture { #declare R_Texture = texture {
pigment { rgb <1.0, 0.0, 0.0> } finish { ambient 0.33 } } pigment { rgb <1.0, 0.0, 0.0> } finish { ambient 0.33 } }
@ -180,4 +204,7 @@ finish {
resultat resultat
#end #end
/* ------------------------------------------------------------ */ /* ============================================================ */
#debug "\n GLOBALS INCLUDED\n"