stardis-spk

Scripts and datasets for running Stardis simulations
git clone git://git.meso-star.fr/stardis-spk.git
Log | Files | Refs | README | LICENSE

commit 880f6b7d66acccde65a235c2b25a33c5d35ff58d
parent c5325bb334f4513fb1932caac043a0d25c6588c2
Author: Benjamin Piaud <benjamin.piaud@meso-star.com>
Date:   Thu, 10 Dec 2020 11:57:49 +0100

petite modif dans le script de rendu

Diffstat:
Mporous/porous.txt | 4++--
Mporous/run_IR_rendering.sh | 10+++++-----
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/porous/porous.txt b/porous/porous.txt @@ -1,7 +1,7 @@ SOLID FOAM 237 2700 890 0.0002 800 UNKNOWN 0 FRONT S_porous.stl -SOLID PLATE 1 2700 890 AUTO 725 725 0 FRONT plate.stl +SOLID PLATE 1 2700 890 AUTO 700 700 0 FRONT plate.stl H_BOUNDARY_FOR_SOLID LAT 0.9 0.5 0 300 B_lateral.stl T_BOUNDARY_FOR_SOLID T0 750 B_T0.stl T_BOUNDARY_FOR_SOLID T1 850 B_T1.stl -H_BOUNDARY_FOR_SOLID HPLATE 0.1 0.8 0 300 plate.stl +H_BOUNDARY_FOR_SOLID HPLATE 0.8 0.8 0 300 plate.stl diff --git a/porous/run_IR_rendering.sh b/porous/run_IR_rendering.sh @@ -16,12 +16,12 @@ ### USER PARAMETERS SECTION -SPP=32 #samples per pixel +SPP=32 #samples per pixel WIDTH=320 HEIGHT=320 -POSITION="0.05,0.01,0.005" #camera position +POSITION="0.05,0.01,0" #camera position TARGET="0,0,0" #position targeted -FILE=IR_rendering +FILE=IR_rendering_${WIDTH}x${HEIGHT}x${SPP} ### END USER PARAMETERS SECTION @@ -39,9 +39,9 @@ then fi #launch Stardis -stardis -V 3 -a 700 -r 800 -M porous.txt -R spp=${SPP}:img=${WIDTH}x${HEIGHT}:fov=30:pos=${POSITION}:tgt=${TARGET}:up=0,0,1 > ${FILE}.ht +stardis -V 3 -a 680 -r 800 -M porous.txt -R spp=${SPP}:img=${WIDTH}x${HEIGHT}:fov=30:pos=${POSITION}:tgt=${TARGET}:up=0,0,1 > ${FILE}.ht #convert ht file in ppm file -htpp -f -o ${FILE}.ppm -v -m default ${FILE}.ht +htpp -f -o ${FILE}.ppm -v -m default:range=650,850 ${FILE}.ht echo ">>> You can now watch the IR rendering by opening the file ${FILE}.ppm"