debrotch in progress

This commit is contained in:
le vieux 2021-03-08 05:24:35 +01:00
parent 59caab29a2
commit 7dc34a8b38
12 changed files with 240 additions and 27 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.png
*.pov-state

View File

@ -28,7 +28,7 @@ targa: tmp/ridelles.tga tmp/electric.tga tmp/citerne.tga \
echo "on a fait les targas" >> log.toto
GLOBDEPS=${INCS}/train.inc ${INCS}/plancher.inc ${INCS}/poteaux.inc \
${INCS}/rails.inc \
${INCS}/rails.inc ${INCS}/grue.inc \
${INCS}/constantes.inc
#--------------------------------------------------------
@ -81,12 +81,8 @@ wagons.jpg: tmp/wagons.tga
inside.png: inside.pov $(GLOBDEPS) Makefile
$(POVRAY) +Iinside $(DIMS) $(OPTS) +v
tmp/benne.tga: train.inc benne.pov constantes.inc rails.inc \
benne.inc Makefile
$(POVRAY) +Ibenne +Otmp/benne +FT $(DIMS) $(OPTS) +v
benne.jpg: tmp/benne.tga
cjpeg $(CJPEGOPT) tmp/benne.tga > benne.jpg
benne.png: benne.pov $(GLOBDEPS) Makefile
$(POVRAY) +Ibenne $(DIMS) $(OPTS) +v
tmp/citerne.tga: citerne.pov citerne.inc $(GLOBDEPS)
$(POVRAY) +Iciterne +Otmp/citerne +FT $(DIMS) $(OPTS) +v
@ -94,17 +90,11 @@ citerne.jpg: tmp/citerne.tga
cjpeg $(CJPEGOPT) tmp/citerne.tga > citerne.jpg
tmp/electric.tga: electric.pov electric.inc train.inc rails.inc \
instruments.inc Makefile
$(POVRAY) +Ielectric +FT +Otmp/electric $(DIMS) $(OPTS) +v
electric.jpg: tmp/electric.tga
cjpeg $(CJPEGOPT) tmp/electric.tga > electric.jpg
electric.png: electric.pov $(GLOBDEPS) Makefile
$(POVRAY) +Ielectric $(DIMS) $(OPTS) +v
truc.tga: truc.pov train.inc poteaux.inc \
decor.inc voiture.inc constantes.inc \
enseigne.inc electric.inc corail.inc \
grue.inc instruments.inc galerie.inc
$(POVRAY) +Itruc +FT $(DIMS) $(LOWR) -v
truc.png: truc.pov $(GLOBDEPS) Makefile
$(POVRAY) +Itruc $(DIMS) $(OPTS) +v
tmp/ridelles.tga: ridelles.pov ridelles.inc $(GLOBDEPS)
@ -128,7 +118,7 @@ tmp/voiture.tga: voiture.inc voiture.pov $(GLOBDEPS)
#--------------------------------------------------------
SRCFILES=*.inc *.pov *.txt Makefile *.sh
SRCFILES = *.inc *.pov *.txt Makefile *.sh
lines:
wc $(SRCFILES) | sort -n

57
benne.pov Normal file
View File

@ -0,0 +1,57 @@
/*
un fichier de test.
poser le wagon benne sur les rails.
*/
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "colors.inc"
#include "metals.inc"
/*------------------------------------------------------------------*/
#include "incs/train.inc"
#include "incs/rails.inc"
#include "incs/benne.inc"
#include "incs/decor.inc"
object { Balise_0 translate x*95 }
object { Un_Rail_Droit }
object { Wagon_Benne translate y*2 }
/*------------------------------------------------------------------*/
#include "incs/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
{
location <35.5, 13, 20>
look_at <0, 6, 0>
angle 51
}
light_source { <90, 131, 190> color White }
light_source { <90, 111, 250> color White }
/*------------------------------------------------------------------*/

0
contexte.inc Normal file
View File

57
electric.pov Normal file
View File

@ -0,0 +1,57 @@
/*
*
* pour plus de details: oulala@chez.com
*
*/
#version 3.7;
#include "colors.inc"
#include "metals.inc"
global_settings {
ambient_light Gray15
assumed_gamma 1.0 /* pour povray 3.7 */
}
/*------------------------------------------------------------------*/
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"
#include "incs/electric.inc"
union
{
object { Un_Rail_Droit }
object { Locomotive_Electric translate y*2 }
}
/*------------------------------------------------------------------*/
camera
{
spherical
right x*image_width/image_height
right x*image_width/image_height
location <11, 11.1, -54>
look_at <0, 8, -10>
angle 38
}
light_source { <7, 8, -54> color Gray80 }
light_source { <150, 130, -150> color Green }
light_source { <270, 130, 250> color Gray50 }
/*------------------------------------------------------------------*/

View File

@ -2,6 +2,9 @@
un fichier de test.
*/
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "colors.inc"
#include "metals.inc"

View File

@ -146,15 +146,11 @@ translate y*2.0 /* pour la poser sur la plate forme */
// ------------------------------------------
#declare Corps_Grue = object
{
union
{
union
{
union {
object { Pivot_Grue rotate y*42 }
object { Cabine_Grue }
object { Fleche }
}
}
translate y*7.0
}
// ------------------------------------------

57
inside.pov Normal file
View File

@ -0,0 +1,57 @@
/*
* fichier de test pour l'interieur du wagon Corail.
* pour plus de details: oulala@chez.com
*
*/
#version 3.7;
global_settings { assumed_gamma 1.0 }
#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 "incs/train.inc"
#include "incs/corail.inc"
object { Wagon_Corail }
camera {
location <-1.6, 10, -19>
look_at <1, 4, 10>
angle 80
}
/*------------------------------------------------------------------*/
light_source { <180, 125, -180> color White }
//light_source { <170, 100, -180> color White }
//light_source { <120, 11, -185> color White }
/*------------------------------------------------------------------*/

View File

@ -3,6 +3,8 @@
*
*/
#version 3.7;
#include "colors.inc"
#include "metals.inc"

View File

@ -4,6 +4,9 @@
*
*/
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "colors.inc"
#include "metals.inc"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

47
truc.pov Normal file
View File

@ -0,0 +1,47 @@
/*
* Go Fuck Yourself, Jean-Luc M !
*/
#version 3.7;
global_settings { assumed_gamma 1.0 }
#include "colors.inc"
#include "metals.inc"
#include "textures.inc"
/*------------------------------------------------------------------*/
/*
#include "galerie.inc"
object { galerie(8, 14.2, 0.5, 0.175) pigment { color Yellow } }
*/
#include "incs/train.inc"
#include "incs/corail.inc"
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>
look_at <0, 9, 0>
angle 42
}
light_source { <-50, 17, -50> color White }
light_source { <-20, 70, 50> color White }
/*------------------------------------------------------------------*/