luvcraft/tools/gazetteer.lisp
in-package#:luvcraft.tools
defunparse-gazetteer-view-name-option
stringoption
declare
ignoreoption
defuncommand-gazetteer
arguments
multiple-value-bind
positionalsoptions
parse-keyword-optionsarguments`
"--backend":backend,#'parse-backend-option
"--view":view,#'parse-gazetteer-view-name-option
"--width":width,#'parse-integer-option
"--height":height,#'parse-integer-option
"--count":count,#'parse-integer-option
"--forward-step":forward-step,#'parse-real-option
"--yaw-step":yaw-step,#'parse-real-option
"--day-start":day-start,#'parse-real-option
"--day-step":day-step,#'parse-real-option
"--difference-scale":difference-scale,#'parse-real-option
"--shadow-only":shadow-only,#'parse-integer-option
unless
command-line-error"gazetteer expects exactly one TARGET directory."
let
target
pathname
firstpositionals
view
getfoptions:view
width
getfoptions:width
height
getfoptions:height
count
getfoptions:count
provider
make-backend-provider
getfoptions:backend
when
command-line-error"gazetteer --count requires one --view."
let
pathnames
ifcount
luvcraft:capture-luvcraft-gazetteer-sequenceviewtarget:countcount:forward-step:yaw-step:day-start
getfoptions:day-start
:day-step:difference-scalegetfoptions:difference-scale
:shadow-diagnostic-pgetfoptions:shadow-only
:providerprovider:widthwidth:heightheightif
getfoptions:difference-scale
dolist
pathnamepathnames
formatt"~A~%"pathname
defun parse-gazetteer-view-name-option
(string option)defun command-gazetteer
(arguments)defun parse-keyword-options
(arguments specs)defun parse-backend-option
(string name)defun parse-integer-option
(string name)defun parse-real-option
(string name)define-arithmetic-operator =
Test whether two compatible scalars are equal.
defun make-backend-provider
(backend)define-arithmetic-operator and
Logical conjunction of tests and raw truth values.
defun capture-luvcraft-gazetteer-sequence
(view directory &key (count 4) (forward-step 0.2) (yaw-step 0.0)
day-start (day-step 0.0) difference-scale
shadow-diagnostic-p width height
(provider *gpu-provider*))define-arithmetic-operator or
Logical disjunction of tests and raw truth values.
defun capture-luvcraft-gazetteer
(directory &key views width height (provider *gpu-provider*))