ground shadow - motion blur - very slow...
Posted: 2011-05-16T05:57:26-07:00
i might have missed something - but it seems that the only way to get a good realistic wall ground shadow for an rectngular object like a frame is:
convert -size 1000x1416 xc:none -fill black -stroke black -draw "roundrectangle 0,0 999,1415 83,83" -draw "rectangle 0,0 999,166" -draw "rectangle 834,0 999,1415" -fill none -background transparent -bordercolor none -border 275 -channel RGBA -motion-blur 0x125-60 -blur 0x2 test.png
it works - except that it is terrible slow ...
you might try it with a smaller sized image to get a result within a reasonable amount of time (see below)...
platin:~> convert --version
Version: ImageMagick 6.6.9-1 2011-05-12 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP OpenCL
platin:~> uname -a
Darwin platin 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386 i386
platin:~> convert -size 500x708 xc:none -fill black -stroke black -draw "roundrectangle 0,0 499,707 42,42" -draw "rectangle 0,0 499,84" -draw "rectangle 416,0 499,707" -fill none -background transparent -bordercolor none -border 139 -channel RGBA -motion-blur 0x63-60 -blur 0x2 test.png
My questions: is there a better way to generate realistic ground shadows? (Please do not respond with "use -shadow" / -shadow creates unrealistic drop shadows of objects with zero depth)
if no: Why is motion blur that slow ? Can i get arround this issue somehow?
convert -size 1000x1416 xc:none -fill black -stroke black -draw "roundrectangle 0,0 999,1415 83,83" -draw "rectangle 0,0 999,166" -draw "rectangle 834,0 999,1415" -fill none -background transparent -bordercolor none -border 275 -channel RGBA -motion-blur 0x125-60 -blur 0x2 test.png
it works - except that it is terrible slow ...
you might try it with a smaller sized image to get a result within a reasonable amount of time (see below)...
platin:~> convert --version
Version: ImageMagick 6.6.9-1 2011-05-12 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP OpenCL
platin:~> uname -a
Darwin platin 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386 i386
platin:~> convert -size 500x708 xc:none -fill black -stroke black -draw "roundrectangle 0,0 499,707 42,42" -draw "rectangle 0,0 499,84" -draw "rectangle 416,0 499,707" -fill none -background transparent -bordercolor none -border 139 -channel RGBA -motion-blur 0x63-60 -blur 0x2 test.png
My questions: is there a better way to generate realistic ground shadows? (Please do not respond with "use -shadow" / -shadow creates unrealistic drop shadows of objects with zero depth)
if no: Why is motion blur that slow ? Can i get arround this issue somehow?