Compare commits

..

No commits in common. "a60281b684f3d9c2880d66df0310b5d80fba2f50" and "8c548c6f0eb260bb0236817922ceb7e702f75240" have entirely different histories.

4 changed files with 25 additions and 97 deletions

View File

@ -1,35 +1,28 @@
DIMS = -W1600 -H1200
POVOPT = +q9 +a0.02 -d
POVDEP = contexte.inc elements.inc hexabenz.inc \
POVDEP = contexte.inc elements.inc \
globals.inc datas/hf.png
CK=150
PNG: essai.png scene.png topview.png passage.png \
orbite.png hexabenz.png escadrille.png
orbite.png
topview.png: topview.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
povray $(POVOPT) -W1280 -H1024 -K359 -i$< -o$@
essai.png: essai.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
hexabenz.png: hexabenz.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
povray $(POVOPT) -W1280 -H1024 -i$< -o$@
passage.png: passage.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
povray $(POVOPT) -W1280 -H1024 -K340 -i$< -o$@
orbite.png: orbite.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
povray $(POVOPT) -W1280 -H1024 -K340 -i$< -o$@
CK=175
scene.png: scene.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
escadrille.png: escadrille.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
povray $(POVOPT) -W1280 -H1024 +K${CK} -i$< -o$@

View File

@ -1,52 +0,0 @@
/*
* H E X A C O N E
*
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
*/
#version 3.7;
#include "globals.inc"
#include "colors.inc"
#include "metals.inc"
#include "textures.inc"
#include "stones.inc"
#declare NormClock = clock / 360.0;
#include "contexte.inc"
#include "elements.inc"
#include "hexabenz.inc"
// =======================================================
#for (idX, 0, 3)
#for (idZ, 0, 3)
#local posX = (idX * 4.56) - 4.7;
#local posY = 1.8 * (rand(Rng1)-0.5);
#local posZ = (idZ * 4.64) - 9.1;
#local Ry = (rand(Rng1) - 0.5) * 16;
#if (rand(Rng1) < 0.25)
object { HexaCone rotate y*Ry translate <posX, posY, posZ> }
#else
object { HexaBenz rotate y*Ry translate <posX, posY, posZ> }
#end
#end
#end
// =======================================================
light_source { <-8, 7, -9>, rgb <0.81, 0.65, NormClock> }
light_source { < 11, 7, 4>, rgb <1-NormClock, 0.28, 0.80> }
object { Repere scale 5 }
#local CamX = -17.7+(2.6*NormClock);
#local CamY = 11.81+(3.3*Cos_01(NormClock));
#local CamZ = 16.06+Cos_010(NormClock);
camera {
location <CamX, CamY, 16.09>
look_at <0.0, 0.0, 0>
angle 48
}

View File

@ -5,39 +5,34 @@
#declare Benz_Cone_Base = object
{
#local RA = 0.120;
#local RA = 0.123;
#local RB = 0.001;
union {
cone { 0, RA, y, RB }
sphere { 0, RA*1.098 scale <1, 0.62, 3.2> translate -0.02*y }
// cylinder { 0, -0.08*y, RA*1.25 scale <1, 1, 4> }
sphere { 0, RA*1.092 scale <1, 0.64, 6> translate -0.02*y }
}
}
#macro Benz_Cones () // = object
// {
#declare Benz_Cones = object
{
union {
#for (foo, 0, 360, 60)
#local E = 0.40;
#local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo));
object { Benz_Cone_Base
#if ( rand(Rng1) < 0.5 )
texture { Soft_Silver scale 16.50 }
#else
texture { T_Brass_2C scale 13.50 }
#end
texture { Soft_Silver scale 16.50 }
rotate -z*foo
translate <Tx, Ty, 0>
}
#end
}
// }
#end
}
// ------------------------------------------------------
#local RT = 0.24;
#local LT = 0.61;
#local LT = 0.67;
#declare Benz_Tubules = object
{
@ -47,17 +42,13 @@ union {
#for (foo, 0, 360, 20)
#local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo));
#local Dz = z * 1.09;
#local Dz = z * 2.02;
cylinder { -Dz, Dz, R translate <Tx, Ty, 0> }
sphere { -Dz, R translate <Tx, Ty, 0> }
sphere { Dz, R translate <Tx, Ty, 0> }
#end
}
#if ( rand(Rng1) < 0.333)
texture { Orange_Glass }
#else
texture { Yellow_Glass }
#end
texture { Yellow_Glass }
}
#declare Benz_Fuseau = object
@ -70,8 +61,8 @@ texture { Gold_Nugget scale 0.56 }
{
difference {
union {
cylinder { z*LT*1.6, -z*LT, RT }
sphere { z*LT*1.5, RT*0.72 translate y*RT*0.87}
cylinder { z*LT*2.08, -z*LT, RT }
sphere { z*LT*1.7, RT*0.72 translate y*RT*0.87}
}
cylinder { z*4, -z*4, RT*0.95 }
}
@ -92,8 +83,7 @@ union {
#declare HexaBenz = object
{
union {
#local Rk = rand(Rng1) * 666.666;
object { Benz_Cones () rotate z*NormClock*Rk}
object { Benz_Cones rotate z*NormClock*99.999}
object { Benz_Tube }
}
}

View File

@ -15,10 +15,7 @@
#include "elements.inc"
#include "hexabenz.inc"
#local K = 1.48;
object { HexaBenz rotate y*90 translate -x*K }
object { HexaBenz translate x*K }
object { HexaBenz }
// =======================================================
@ -28,11 +25,11 @@ light_source { <19, 7, -14>, rgb <0.77, 0.79, 0.80> }
// object { Repere scale 2 }
camera {
location <-1.9+(8*NormClock), 0.70, 7.59-NormClock>
location <-1.9+(5*NormClock), 0.50, 6.59>
look_at <0.37, 0.0, 0>
focal_point <0.37, 0.0, 0>
aperture 0.046
blur_samples 30
angle 60 - 22 * Cos_01(NormClock)
angle 60 - 21 * Cos_01(NormClock)
}