Compare commits

...

3 Commits

Author SHA1 Message Date
tTh
c61251ad53 adding -ln 2022-01-21 14:43:52 +01:00
tTh
e7e3713972 calm down a non essential message 2022-01-11 10:00:29 +01:00
tTh
4c38ff032a fine tuning the 3d contrib 2022-01-09 09:32:39 +01:00
4 changed files with 14 additions and 12 deletions

View File

@ -2,29 +2,30 @@
src="/dev/shm/foo.fimg"
dst="hf.tga"
TMPDIR=${HOME}/TMP
POVOPT="-w512 -h342 +q9 -a "
rm /tmp/hf???.png
rm $TMPDIR/hf???.png
for idx in $(seq 0 24)
for idx in $(seq 0 60)
do
echo "========================== " $idx
grabvidseq -v \
-d /dev/video0 -s 640x480 \
-n 20 -p 0 \
-n 60 -p 1.0 \
-o ${src}
./fimg2povhf $src $dst
out=$(printf "/tmp/hf%03d.png" $idx)
out=$(printf "%s/hf%03d.png" $TMPDIR $idx)
echo "raytracing " ${POVOPT} $out
povray -iscene.pov ${POVOPT} -o${out} 2> pov.stderr
# tail -15 pov.stderr
done
convert -delay 10 -colors 240 /tmp/hf???.png foo.gif
convert -delay 10 -colors 240 $TMPDIR/hf???.png foo.gif

View File

@ -13,14 +13,14 @@ global_settings {
height_field {
tga "hf.tga"
smooth
pigment { color Orange*0.5 }
pigment { color Orange*0.7 }
translate <-0.5, 0, -0.5>
scale 2
translate y*0.01
// scale 2
translate y*0.002
}
camera {
location <-0.86, 3, -6.20>
location <-0.86, 4, -6.20>
look_at <0, 0, 0>
angle 14
}
@ -37,4 +37,5 @@ plane {
}
light_source { <-9, 2, -3> color White }
light_source { <-9, 2, 3> color White }

View File

@ -5,7 +5,7 @@
COPT = -Wall -fpic -g -DDEBUG_LEVEL=1 -lm
DEPS = ../floatimg.h ../libfloatimg.a Makefile
LIBS = ../libfloatimg.a -ltiff -lpnglite -lcfitsio
LIBS = ../libfloatimg.a -ltiff -lpnglite -lcfitsio -lm
all: assemblage extracteur muxplanes movepixels

View File

@ -63,7 +63,7 @@ if (fimg_images_not_compatible(src, dst)) {
return -98;
}
if (verbosity) {
if (verbosity > 1) {
fimg_show_filter("essai", filtr);
}