Compare commits

..

No commits in common. "752e11c226889dba3da9f90fea66f890b3f5bb14" and "46defccb32f086441c1bfa255d7d1fc29a9ecc83" have entirely different histories.

12 changed files with 76 additions and 50 deletions

View File

@ -3,9 +3,10 @@
MOYEN=+w1280 +h1024
GRAND=+w1600 +h1200
PETIT=+w800 +h600
DIMS=$(PETIT)
DIMS=$(MOYEN)
OPTS = +a +q9 -d
LOWR = -a +q5 -d
POVRAY=povray
@ -21,11 +22,10 @@ all: loco.png parking.png corail.png train.png essai.png \
ridelles.png rotonde.png grue.png \
citerne.png
GLOBDEPS=${INCS}/train.inc ${INCS}/poteaux.inc \
${INCS}/rails.inc ${INCS}/grue.inc ${INCS}/ridelles.inc \
${INCS}/citerne.inc \
GLOBDEPS=${INCS}/train.inc plancher.inc ${INCS}/poteaux.inc \
${INCS}/rails.inc ${INCS}/grue.inc \
${INCS}/constantes.inc \
contexte.inc monde.inc
contexte.inc
#--------------------------------------------------------

View File

@ -1,7 +1,3 @@
# PovJouets
Un très très vieux projet POVray qui revient dans le triste monde de 2021.
http://la.buvette.org/POV/jouets/
https://git.tetalab.org/tTh/PovJouets
Un très très vieux projet POVray qui revient dans le triste monde de 2021

View File

@ -25,7 +25,24 @@ object { Wagon_Benne translate y*2 }
/*------------------------------------------------------------------*/
#include "monde.inc"
#include "plancher.inc"
object { Plancher_0 scale <.5, 1, .5> }
sky_sphere {
pigment
{
gradient y
color_map
{
[0 color Green]
[0.33 color Gray50 ]
[1 color Blue]
}
}
scale 0.33333333
rotate <10, 0, 10>
translate -1
}
camera
{

View File

@ -6,16 +6,27 @@
#version 3.7;
global_settings {
assumed_gamma 1.0 /* pour povray 3.7 */
}
#include "colors.inc"
#include "metals.inc"
global_settings {
ambient_light Gray15
assumed_gamma 1.0 /* pour povray 3.7 */
}
/*------------------------------------------------------------------*/
#include "monde.inc"
background { color Gray40 }
plane {
y, 0
pigment
{
hexagon Gray55, rgb<0.55, 0.65, 0.30>, Gray75
scale 20
}
finish { reflection 0.42 }
}
#include "incs/rails.inc"
#include "incs/train.inc"
@ -31,6 +42,7 @@ union
camera
{
spherical
right x*image_width/image_height
location <11, 11.1, -54>
look_at <0, 8, -10>

View File

@ -3,7 +3,7 @@
* Une citerne de St Chinian
*/
//-----------------------------------------------------------------
#declare Diam_Citerne = 4.6;
#declare Diam_Citerne = 4.5;
#declare Epp_Cerclage = 0.233;
#declare Diam_Cerclage = (Diam_Citerne+Epp_Cerclage);
#declare Larg_Cerclage = 0.6;
@ -40,7 +40,7 @@ union {
}
}
scale <1, 0.882, 1>
translate y*10.7
translate y*10.5
texture {
pigment { color rgb <0.96, 0.25, 0.2> }
finish { phong 0.6 }

View File

@ -7,12 +7,12 @@
#declare Ridelle_Cote = object
{
union {
cylinder { <0, 4.5, -11>, <0, 4.5, 11>, 0.25 }
box { <-.25, 4, -11>, <.25, 4.5, 11> }
cylinder { <0, 4.5, -11>, <0, 4.5, 11>, 0.5 }
box { <-.5, 4, -11>, <.5, 4.5, 11> }
#declare foo=0;
#while (foo<6)
box { <-.4, 0, foo*4-10-.2>, <.4, 4, foo*4-10+.2> }
#declare foo=foo+0.5;
box { <-.4, 0, foo*4-10-.3>, <.4, 4, foo*4-10+.3> }
#declare foo=foo+1;
#end
}
texture {
@ -22,11 +22,9 @@ texture {
translate y*5.75
}
/* avant et arriere */
#declare Ridelle_Bout = object
{
box { <-4, 6.2, -0.1>, <4, 9.7, 0.1> }
box { <-4, 6.2, -0.3>, <4, 9.7, 0.3> }
texture {
pigment { color MediumWood }
finish { roughness .73 }

View File

@ -12,7 +12,7 @@
difference {
union {
cylinder { <-1, 0, 0>, <1, 0, 0>, 4 }
cylinder { <-0.5, 0, 0>, <0, 0, 0>, 4.3 }
cylinder { <-1, 0, 0>, <0, 0, 0>, 4.3 }
}
cylinder { <-1.2, 0, 0> <-0.6, 0, 0>, 2.8 }
cylinder { < 1.2, 0, 0> < 0.6, 0, 0>, 3.2 }

View File

@ -1,5 +1,5 @@
/*
* experiment for the futur
*/

View File

@ -12,7 +12,7 @@ plane {
}
rotate x*90
translate <-0.5, 0, -0.5>
scale <50, 1, 50>
scale <30, 1, 30>
}
}
@ -23,14 +23,15 @@ sky_sphere {
color_map
{
[0 color Khaki]
[0.2 color Gray20 ]
[0.1 color Gray20 ]
[0.4 color Orange]
[0.5 color Blue]
[0.87 color LightBlue ]
[.97 color LightBlue]
[1 color Khaki]
}
}
rotate 50
scale 0.05
scale 0.5
translate -1
}

View File

@ -30,14 +30,14 @@ sky_sphere {
color_map
{
[0 color Black]
[0.33 color <0.6, 0.3, 0.5> ]
[0.44 color <0.6, 0.3, 0.1> ]
[0.33 color <0.7, 0.3, 0.5> ]
[0.44 color <0.7, 0.3, 0.1> ]
[0.66 color Blue]
[1 color Black]
}
turbulence 0.92
turbulence 0.42
}
scale 0.82
scale .042
rotate 42
}
@ -96,10 +96,10 @@ union {
camera
{
location <44, 4, -110>
location <94, 24, -170>
right image_width/image_height*x
look_at <10, 1.9, 0>
angle 62
look_at <10, 0, 0>
angle 42
}
light_source { <150, 78, -250> color Gray20 }

View File

@ -30,13 +30,14 @@ object { Wagon_Ridelles translate <0, 2, 0> }
camera
{
location <40, 15, -50>
spherical
location <100, 35, -90>
right x*image_width/image_height
look_at <0, 5, 0>
angle 42
angle 20
}
light_source { <200, 70, -200> color Gray50 }
light_source { <-200, 170, -150> color White }
light_source { <20, 70, -200> color White }
light_source { <-20, 170, -150> color White }
/*------------------------------------------------------------------*/

View File

@ -18,7 +18,8 @@ global_settings { assumed_gamma 1.0 }
/*------------------------------------------------------------------*/
#include "monde.inc"
#include "plancher.inc"
object { Plancher_0 scale <.5, 1, .5> }
/*------------------------------------------------------------------*/
@ -32,19 +33,19 @@ object { Wagon_Citerne rotate y*50 translate x*16 }
#include "incs/poteaux.inc"
object { Poteau_0 }
object { Poteau_1 translate -z*12 }
object { Poteau_1 translate -z*9.34567 }
/*------------------------------------------------------------------*/
camera
{
location <12, 10, -50>
location <12, 20, -50>
right image_width/image_height*x
look_at <0, 0, 0>
angle 42
}
light_source { <-50, 120, -330> color Gray50 }
light_source { <-50, 120, -330> color White }
light_source { <190, 498, -250> color White }
light_source { <160, 99, -250> color Yellow }