Compare commits
7 Commits
9da2ca1d29
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17e72ea61c | ||
|
|
35db5eb9e2 | ||
|
|
faff740ab3 | ||
|
|
cc62cb88b7 | ||
|
|
852160ec6f | ||
|
|
b5aea0e10e | ||
|
|
82ff0c7765 |
4
Makefile
4
Makefile
@@ -1,11 +1,11 @@
|
|||||||
#--------------------------------------------------------
|
#--------------------------------------------------------
|
||||||
|
|
||||||
PETIT = +w800 +h600
|
PETIT = +w800 +h600
|
||||||
MOYEN = +w1280 +h1024
|
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
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ camera
|
|||||||
angle ANGLE_CAM
|
angle ANGLE_CAM
|
||||||
}
|
}
|
||||||
|
|
||||||
light_source { <550, 725, -900> color Gray60 }
|
// light_source { <550, 725, -900> color Gray60 }
|
||||||
light_source { <600, 700, -850> color Gray50 }
|
light_source { <600, 700, -850> color Gray50 }
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
BIN
data/tintin_talking.ttf
Normal file
BIN
data/tintin_talking.ttf
Normal file
Binary file not shown.
11
essai.pov
11
essai.pov
@@ -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 }
|
||||||
|
|||||||
@@ -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 }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
@@ -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> }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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 }
|
||||||
|
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ camera
|
|||||||
angle ANGLE_CAM
|
angle ANGLE_CAM
|
||||||
}
|
}
|
||||||
|
|
||||||
light_source { <-50, 120, -330> color Gray50 }
|
// light_source { <-50, 120, -330> color Gray50 }
|
||||||
light_source { <190, 498, -250> color White }
|
// light_source { <190, 498, -250> color White }
|
||||||
light_source { <160, 99, -450> color Yellow }
|
light_source { <160, 99, -450> color Yellow }
|
||||||
|
|
||||||
/*------------------------------------------------------------------*/
|
/*------------------------------------------------------------------*/
|
||||||
|
|||||||
Reference in New Issue
Block a user