Compare commits

...

5 Commits

Author SHA1 Message Date
Tonton Th
17e72ea61c last commits before xmas 2025-12-23 08:36:21 +01:00
Tonton Th
35db5eb9e2 tweak textures 2025-10-02 22:35:21 +02:00
Tonton Th
faff740ab3 better antialiasing 2025-10-02 22:34:47 +02:00
Tonton Th
cc62cb88b7 renaming an object 2025-09-20 16:21:59 +02:00
Tonton Th
852160ec6f add a tintin font file 2025-09-20 05:59:38 +02:00
7 changed files with 52 additions and 22 deletions

View File

@@ -5,7 +5,7 @@ MOYEN = +w1152 +h900
GRAND = +w1600 +h1200 GRAND = +w1600 +h1200
DIMS=$(MOYEN) DIMS=$(MOYEN)
OPTS = +a +q9 -d OPTS = +a0.01 +q9 -d
POVRAY = povray POVRAY = povray

BIN
data/tintin_talking.ttf Normal file

Binary file not shown.

View File

@@ -13,16 +13,17 @@
#include "incs/grue.inc" #include "incs/grue.inc"
// object { Boogie } // object { Boogie }
object { Grande_Roue } // object { Grande_Roue }
#include "incs/enseigne.inc"
object { Enseigne_Corail_texte }
camera { camera {
location <5.5, 15, 20> location <17.5, 3, 10>
right image_width/image_height*x right image_width/image_height*x
look_at <0, 3, 0> look_at <0, 0, 0>
angle ANGLE_CAM angle ANGLE_CAM
} }
object { Repere } object { Repere scale 0.5 }
light_source { <90, 131, 190> color White } light_source { <90, 131, 190> color White }
light_source { <90, 111, 250> color White } light_source { <90, 111, 250> color White }

View File

@@ -18,7 +18,7 @@
/* generateur de nombres pseudo-aleatoires. /* generateur de nombres pseudo-aleatoires.
mais comment le 'seeder' de fac,on differente a chaque run ? */ mais comment le 'seeder' de fac,on differente a chaque run ? */
#declare RND = seed(42); #declare RND = seed(1664);
#declare FADE_DIST = 2.0; #declare FADE_DIST = 2.0;
#declare FADE_POWA = 2.0; #declare FADE_POWA = 2.0;
@@ -30,28 +30,28 @@
{ {
pigment { color Orange } pigment { color Orange }
normal { dents 0.42 scale 0.042 } normal { dents 0.42 scale 0.042 }
finish { phong 0.5 } finish { phong 0.4 }
} }
#declare Jaune_Corail = texture #declare Jaune_Corail = texture
{ {
pigment { color Yellow } pigment { color Yellow }
normal { dents 0.32 scale 0.242 } normal { dents 0.32 scale 0.242 }
finish { phong 0.5 } finish { phong 0.4 }
} }
#declare Vert_Train_1 = texture #declare Vert_Train_1 = texture
{ {
// pour la benne /* pour la benne */
pigment { color Green*0.70 } pigment { color rgb <0.22, 0.77, 0.11> }
normal { bumps 0.17 rotate <10, 0, 10> scale 0.42 } normal { bumps 0.17 rotate <10, 0, 10> scale 0.31 }
finish { phong 0.5 } finish { phong 0.5 }
} }
#declare Rouge_Train_1 = texture #declare Rouge_Train_1 = texture
{ {
// pour la citerne // pour la citerne
pigment { color rgb <0.96, 0.25, 0.2> } pigment { color rgb <0.93, 0.25, 0.2> }
normal { bumps 0.33 scale 0.42 } normal { bumps 0.33 scale 0.42 }
finish { phong 0.5 } finish { phong 0.5 }
} }

View File

@@ -1,10 +1,11 @@
/*
* see 'gare.inc' for usage
*/
#include "chars.inc" #include "chars.inc"
#declare Enseigne = object /* ===========================================================*/
/*
* see 'gare.inc' for usage
*/
#declare Enseigne_Hello = object
{ {
union union
{ {
@@ -22,5 +23,33 @@ union
} }
texture { PinkAlabaster scale 3 } texture { PinkAlabaster scale 3 }
} }
/* ===========================================================*/
#declare Enseigne_Corail_plaque = object
{
box { <-0.8, -0.01, -3.5>, <0.8, 0.01, 3.5> }
pigment { color Blue }
rotate z*90
}
/* ----------------------------------------------------------- */
#declare Enseigne_Corail_texte = object
{
text { ttf "data/tintin_talking.ttf" ,
"Bourtoulots Express", 0.06, 0.0
pigment{ White }
}
translate -3.6*x
rotate -90 * y
translate <0.03, -0.19, 0.00>
}
/* ----------------------------------------------------------- */
#declare Enseigne_Corail_texte = object
{
union {
object { Enseigne_Corail_plaque }
object { Enseigne_Corail_texte }
}
}
/* ===========================================================*/
/* ===========================================================*/
/* (c) Oulala */ /* (c) Oulala 2025 */

View File

@@ -43,7 +43,7 @@ union
{ {
object { Corps_Gare } object { Corps_Gare }
object { Quai_Gare } object { Quai_Gare }
object { Enseigne scale 15 translate <0, 460, -210> } object { Enseigne_Hello scale 15 translate <0, 460, -210> }
} }
} }

View File

@@ -69,12 +69,12 @@ camera
{ {
location <260, 38, 25> location <260, 38, 25>
right image_width/image_height*x right image_width/image_height*x
look_at <0, 3, -10> look_at <0, 3, 12>
angle ANGLE_CAM angle ANGLE_CAM
} }
light_source { <150, 98, -150> color Orange } light_source { <150, 98, -150> color Orange }
light_source { <170, 88, -170> color Yellow } light_source { <170, 128, -170> color Yellow }
// light_source { <100, 100, 50> color White } // light_source { <100, 100, 50> color White }