need more work...

This commit is contained in:
le vieux 2021-03-15 03:08:13 +01:00
parent 752e11c226
commit 9430b5f133
22 changed files with 141 additions and 212 deletions

View File

@ -5,12 +5,12 @@ GRAND=+w1600 +h1200
PETIT=+w800 +h600
DIMS=$(PETIT)
OPTS = +a +q9 -d
OPTS = +a0.01 +q9 -d
POVRAY=povray
# nouveau mars 2021
INCS = incs/
INCS = incs
# CJPEGOPT=-quality 88 -progressive -dct float -targa
CJPEGOPT = -progressive -dct float -quality 88
@ -22,9 +22,10 @@ all: loco.png parking.png corail.png train.png essai.png \
citerne.png
GLOBDEPS=${INCS}/train.inc ${INCS}/poteaux.inc \
${INCS}/electric.inc ${INCS}/voiture.inc \
${INCS}/rails.inc ${INCS}/grue.inc ${INCS}/ridelles.inc \
${INCS}/citerne.inc \
${INCS}/constantes.inc \
${INCS}/citerne.inc ${INCS}/benne.inc \
${INCS}/constantes.inc ${INCS}/locomotive.inc \
contexte.inc monde.inc
#--------------------------------------------------------
@ -48,17 +49,15 @@ parking.png: parking.pov Makefile $(GLOBDEPS)
loco.png: loco.pov ${GLOBDEPS} Makefile
$(POVRAY) +Iloco $(DIMS) $(OPTS) +v
train.png: train.pov ${DEPS} Makefile
train.png: train.pov ${GLOBDEPS} Makefile
$(POVRAY) +Itrain $(DIMS) $(OPTS) +v
corail.png: corail.pov Makefile $(GLOBDEPS)
$(POVRAY) +Icorail $(DIMS) $(OPTS) +v
gare.tga: gare.pov gare.inc plancher.tga plancher.inc \
enseigne.inc Makefile
$(POVRAY) +Igare +FT $(DIMS) $(OPTS) +v
gare.png: gare.pov $(GLOBDEPS) Makefile
$(POVRAY) +Igare $(DIMS) $(OPTS) +v
#-----------------------------------------------------------------------
@ -89,8 +88,8 @@ grue.png: grue.pov $(GLOBDEPS) Makefile
#--------------------------------------------------------
# les trucs en travaux
tmp/voiture.tga: voiture.inc voiture.pov $(GLOBDEPS)
$(POVRAY) +Ivoiture +FT +Otmp/ $(DIMS) $(OPTS) +v
voiture.png: voiture.pov $(GLOBDEPS) Makefile
$(POVRAY) +Ivoiture $(DIMS) $(OPTS) +v
#--------------------------------------------------------

View File

@ -6,6 +6,7 @@
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
@ -32,7 +33,7 @@ camera
location <35.5, 13, 20>
right image_width/image_height*x
look_at <0, 6, 0>
angle 51
angle ANGLE_CAM
}
light_source { <90, 131, 190> color White }

View File

@ -1,8 +1,9 @@
/*
* une citerne pour transporter le pinard
*/
#version 3.7;
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
@ -24,30 +25,14 @@ object { Wagon_Citerne translate y*2 }
/*------------------------------------------------------------------*/
#include "plancher.inc"
object { Plancher_0 scale <.5, 1, .5> }
sky_sphere {
pigment
{
gradient x
color_map
{
[0 color Green]
[0.33 color Gray30 ]
[1 color Blue]
}
}
scale 0.5
translate -1
}
#include "monde.inc"
camera
{
location <36, 13, -11>
right image_width/image_height*x
look_at <0, 5.8, 0>
angle 61
angle ANGLE_CAM
}
light_source { <290, 131, -190> color White }

View File

@ -2,4 +2,4 @@
* contexte.inc
*/
#declare ANGLE_CAM = 42;

View File

@ -7,38 +7,15 @@
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
#include "textures.inc"
/*------------------------------------------------------------------*/
plane {
y, 0
pigment
{
brick Gray35, rgb<0.50, 0.40, 0.20>
rotate z*90
}
}
sky_sphere {
pigment
{
gradient y
color_map
{
[0 color Khaki]
[0.2 color <0 , .1, .2>]
[0.5 color <0.2 , 0, 0>]
[0.6 color <0 , .2, .1>]
[1 color Khaki]
}
turbulence 2.5
}
rotate 50
scale 2
}
#include "monde.inc"
#include "incs/train.inc"
#include "incs/rails.inc"
@ -70,7 +47,7 @@ camera
location <18, 10, -45>
right image_width/image_height*x
look_at <0, 6, 0>
angle 62
angle ANGLE_CAM
}
light_source { <550, 725, -900> color Gray60 }

View File

@ -5,10 +5,10 @@
*/
#version 3.7;
global_settings {
assumed_gamma 1.0 /* pour povray 3.7 */
}
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
@ -32,13 +32,13 @@ union
camera
{
right x*image_width/image_height
location <11, 11.1, -54>
location <19, 11.1, -44>
look_at <0, 8, -10>
angle 38
angle ANGLE_CAM
}
light_source { <7, 8, -54> color Gray80 }
light_source { <150, 130, -150> color Green }
light_source { <17, 8, -54> color Gray80 }
// light_source { <150, 130, -150> color Green }
light_source { <270, 130, 250> color Gray50 }
/*------------------------------------------------------------------*/

View File

@ -4,6 +4,7 @@
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
@ -16,10 +17,10 @@ global_settings { assumed_gamma 1.0 }
object { Boogie }
camera {
location <15.5, 8, 9>
location <19.5, 8, 9>
right image_width/image_height*x
look_at <0, 0, 0>
angle 51
angle ANGLE_CAM
}
cylinder { <-100, 0, 0>, <100, 0, 0>, 0.1 pigment { color Red } }

38
gare.pov Normal file
View File

@ -0,0 +1,38 @@
/*
* UN TRAIN SANS GARE ?
* NON !
*
*
*/
#version 3.7;
global_settings {
assumed_gamma 1.0 /* pour povray 3.7 */
}
#include "contexte.inc"
#include "colors.inc"
#include "textures.inc"
/*------------------------------------------------------------------*/
// #include "incs/plancher.inc"
#include "incs/decor.inc"
#include "incs/gare.inc"
#include "incs/rails.inc"
object { Gare }
/*------------------------------------------------------------------*/
camera
{
location <320, 490, -1400>
look_at <0, 460, 0>
}
light_source { <1650, 878, -850> color White }
light_source { <930, 598, -1350> color Yellow }
/*------------------------------------------------------------------*/

View File

@ -5,6 +5,7 @@
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"

View File

@ -33,9 +33,9 @@ pigment { color White }
finish { phong 0.4 }
}
#include "decor.inc"
#include "enseigne.inc"
#include "rails.inc"
// #include "decor.inc"
#include "incs/enseigne.inc"
// #include "incs/rails.inc"
#declare Gare = object
{

View File

@ -43,8 +43,10 @@ union {
sphere { < 3.3, -2.75, -16.5>, .6 }
sphere { < 3.3, -2.75, -1>, .6 }
}
pigment { color Gray60 }
finish { phong 0.5 }
texture {
pigment { color Gray60 }
finish { phong 0.5 }
}
translate y*10
}
@ -59,7 +61,7 @@ difference {
cylinder { <0, 3, -8>, <0, 6.2, -8>, .95 }
}
texture {
pigment { color Gray40 }
pigment { color Gray30 }
finish { phong 0.65 }
}
translate y*10

View File

@ -23,7 +23,7 @@ difference {
cylinder { <-2, xx, yy>, <2, xx, yy>, 0.56 }
#declare foo = foo + 45;
#declare foo = foo + 36;
#end
}
translate y*4

View File

@ -7,35 +7,14 @@
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
/*------------------------------------------------------------------*/
sky_sphere {
pigment
{
gradient y
color_map
{
[0 color Gray75]
[1 color Blue]
}
}
scale 4
translate -1
rotate x*60
}
plane {
y, 0
pigment
{
brick Gray35, rgb<0.50, 0.40, 0.30>
rotate z*90
}
}
#include "monde.inc"
#include "incs/train.inc"
#include "incs/corail.inc"

View File

@ -4,49 +4,18 @@
*/
#version 3.7;
#include "contexte.inc"
global_settings {
assumed_gamma 1.0 /* pour povray 3.7 */
}
#include "colors.inc"
#include "metals.inc"
global_settings {
ambient_light <0.18, 0.25, 0.35>
assumed_gamma 1.0 /* pour povray 3.7 */
}
/*------------------------------------------------------------------*/
plane {
y, 0
pigment {
image_map { png "picz/plancher.png" }
rotate x*90
translate <-0.5, 0, -0.5>
scale <42, 1, 42>
}
normal {
dents 0.3
scale 0.3
}
}
sky_sphere {
pigment {
gradient y
color_map
{
[0 color Khaki]
[0.4 color DarkGreen]
[0.5 color Blue]
[0.6 color LightBlue]
[1 color Khaki]
}
turbulence 0.42*2
}
rotate 70
scale 0.3123
translate -1
}
#include "monde.inc"
#include "incs/rails.inc"
#include "incs/train.inc"
@ -75,7 +44,7 @@ camera {
location <-42, 17.5, 32>
right image_width/image_height*x
look_at <5, 9.7, 18>
angle 42
angle ANGLE_CAM
}
light_source { <150, 118, -150> color Gray70 }

View File

@ -24,13 +24,13 @@ sky_sphere {
{
[0 color Khaki ]
[0.2 color Gray20 ]
[0.5 color Blue ]
[0.87 color LightBlue ]
[1 color Khaki ]
}
turbulence 0.25
}
rotate 50
scale 0.05
scale 0.15
translate -1
}

View File

@ -6,40 +6,14 @@
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
/*------------------------------------------------------------------*/
disc {
<0, 0, 0>, y, 100
pigment
{
brick Gray45, rgb<0.81, 0.42, 0.40>
rotate z*90
}
scale 2
rotate y*12
}
sky_sphere {
pigment
{
gradient y
color_map
{
[0 color Black]
[0.33 color <0.6, 0.3, 0.5> ]
[0.44 color <0.6, 0.3, 0.1> ]
[0.66 color Blue]
[1 color Black]
}
turbulence 0.92
}
scale 0.82
rotate 42
}
#include "monde.inc"
#include "incs/train.inc"
#include "incs/locomotive.inc"
@ -99,7 +73,7 @@ camera
location <44, 4, -110>
right image_width/image_height*x
look_at <10, 1.9, 0>
angle 62
angle ANGLE_CAM
}
light_source { <150, 78, -250> color Gray20 }

View File

@ -1,11 +1,11 @@
#version 3.7;
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
#include "textures.inc"
global_settings {
ambient_light Gray15
assumed_gamma 1.0 /* pour povray 3.7 */
}
@ -33,7 +33,7 @@ camera
location <40, 15, -50>
right x*image_width/image_height
look_at <0, 5, 0>
angle 42
angle ANGLE_CAM
}
light_source { <200, 70, -200> color Gray50 }

View File

@ -1,12 +1,13 @@
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
#include "textures.inc"
global_settings { ambient_light Yellow }
/*------------------------------------------------------------------*/
#include "incs/poteaux.inc"
@ -20,22 +21,13 @@ object { Un_Rail_Droit translate z*-100}
/*------------------------------------------------------------------*/
plane {
y, 0
pigment
{
checker Gray75, rgb<0.81, 0.86, 0.81>
rotate z*90
scale 10
}
}
camera
{
location <0, 70, 180>
right image_width/image_height*x
look_at <0, 0, 0>
angle 50
angle ANGLE_CAM
}
light_source { <142, 500, 500> color White }

View File

@ -1,38 +1,25 @@
/*
*
* pour plus de details: oulala@chez.com
* pour plus de details:
* http://la.buvette.org/POV/jouets/
*
*/
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
#include "textures.inc"
/*------------------------------------------------------------------*/
global_settings { ambient_light Gray10 }
#include "monde.inc"
#include "plancher.inc"
object { Plancher_0 rotate y*3 }
#declare DarkKhaki = color red 0.523529 green 0.523529 blue 0.272549;
sky_sphere {
pigment
{
gradient y
color_map
{
[0 color DarkKhaki]
[0.3 color Blue]
[1 color LightBlue]
}
turbulence 0.8
}
rotate 55
translate -1
}
#include "incs/rails.inc"
#include "incs/train.inc"
@ -70,7 +57,7 @@ camera
location <130, 18, 15>
right image_width/image_height*x
look_at <0, 3, 10>
angle 70
angle ANGLE_CAM
}
light_source { <150, 98, -150> color Orange }

View File

@ -4,6 +4,7 @@
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
@ -22,24 +23,12 @@ object { Bord_Fenetre translate y*7.5 }
/*------------------------------------------------------------------*/
background { color rgb <0.7, 0.7, 0.9999> }
plane {
y, 0
pigment
{
checker Gray75, rgb<0.71, 0.96, 0.81>
rotate z*90
scale 10
}
}
camera
{
location <-15, 11.333, 35>
right image_width/image_height*x
look_at <0, 9, 0>
angle 42
angle ANGLE_CAM
}
light_source { <-50, 17, -50> color White }

34
voiture.pov Normal file
View File

@ -0,0 +1,34 @@
/*
un fichier de test.
*/
#version 3.7;
global_settings {
assumed_gamma 1.0 /* pour povray 3.7 */
}
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
#include "incs/train.inc"
#include "incs/rails.inc"
#include "incs/benne.inc"
#include "incs/grue.inc"
// #include "decor.inc"
object { Boogie }
camera {
location <15.5, 8, 9>
look_at <0, 0, 0>
angle 42
}
cylinder { <-100, 0, 0>, <100, 0, 0>, 0.1 pigment { color Red } }
cylinder { <0, -100, 0>, <0, 100, 0>, 0.1 pigment { color Green } }
cylinder { <0, 0, -100>, <0, 0, 100>, 0.1 pigment { color Blue } }
light_source { <90, 131, 190> color White }
light_source { <90, 111, 250> color White }
/*------------------------------------------------------------------*/

View File

@ -11,6 +11,7 @@
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "contexte.inc"
#include "colors.inc"
#include "metals.inc"
@ -41,7 +42,7 @@ camera
location <12, 10, -50>
right image_width/image_height*x
look_at <0, 0, 0>
angle 42
angle ANGLE_CAM
}
light_source { <-50, 120, -330> color Gray50 }