Commit f54e8770 authored by Breno Rilho Lemos's avatar Breno Rilho Lemos 💬
Browse files

Officially add MovingCamera as a camera option

parent a39d2caf
...@@ -252,11 +252,11 @@ Usage: ...@@ -252,11 +252,11 @@ Usage:
-c | --cameras VALUE -c | --cameras VALUE
Which cameras to use for the animation, where VALUE Which cameras to use for the animation, where VALUE
is a comma-separated list (without spaces) is a comma-separated list (without spaces)
Options: Barrel,Side,Forward,Overview (defaults to Overview) Options: Barrel,Side,Forward,Overview,Moving (defaults to Overview)
--mosaic --mosaic
Make animations in all four available cameras and combine them into Make animations in all four available steady cameras and combine them into
a single 2x2 clip containing all perspectives, totalizing five generated a single 2x2 clip containing all perspectives, totalizing at least five
.mp4 videos. generated .mp4 videos.
--picpct VALUE --picpct VALUE
Percentage of animation to take HD picture, saved along with the clip, Percentage of animation to take HD picture, saved along with the clip,
where VALUE must be an integer where VALUE must be an integer
...@@ -293,8 +293,22 @@ if [[ $CAMERAS != "" ]]; then ...@@ -293,8 +293,22 @@ if [[ $CAMERAS != "" ]]; then
CAMERAS=$(echo $CAMERAS | sed -e 's#,#Camera #g' -e 's#$#Camera#') CAMERAS=$(echo $CAMERAS | sed -e 's#,#Camera #g' -e 's#$#Camera#')
fi fi
# Set cameras properly if MOSAIC is called
if [[ $MOSAIC = "true" ]]; then if [[ $MOSAIC = "true" ]]; then
MOVING="false"
for type in $CAMERAS; do
if [ "${type}" = "Moving" ]; then
MOVING="true"
fi
done
if [ "$MOVING" = "true" ]; then
CAMERAS=$(echo "OverviewCamera BarrelCamera SideCamera ForwardCamera MovingCamera")
else
CAMERAS=$(echo "OverviewCamera BarrelCamera SideCamera ForwardCamera") CAMERAS=$(echo "OverviewCamera BarrelCamera SideCamera ForwardCamera")
fi
fi fi
if [[ $HELP = "true" ]]; then if [[ $HELP = "true" ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment