skylibs
skylibs copied to clipboard
Python library to handle 360° environment maps
Hello @soravux, It seems there's a little incoherence when resizing an environment map using the [`resize()`](https://github.com/soravux/skylibs/blob/aea5a288e15870534f310871e2cfa1c3496b3080/envmap/environmentmap.py#L327) method. I have 2048x1024 images that I'm trying to resize to 256x256 but even...
Resolves [TODO verify if timezone influences the results](https://github.com/soravux/skylibs/blob/aea5a288e15870534f310871e2cfa1c3496b3080/hdrtools/sunutils.py#L76). pySolar accepts UTC timestamps and any other correctly localized timestamp. ``` tz_qc = pytz.timezone('US/Eastern') time = dt.datetime(year, month, day, hour, minute, second,...
https://github.com/soravux/skylibs/blob/f9bbf0ab30a61a4cb8963a779d379c1b94f022d0/hdrtools/sunutils.py#L96C1-L103C8
Adds support for generating environment maps from images captured with a calibrated omnidirectional camera per the [OCamCalib: Omnidirectional Camera Calibration Toolbox for Matlab](https://sites.google.com/site/scarabotix/ocamcalib-omnidirectional-camera-calibration-toolbox-for-matlab?authuser=0) Example Calibration: _20150909_144054_stack.meta.xml_ ```xml ``` The above...
`sunutils.sunPosFromEnvmap()` and `sunutils.sunPosFromCoord()` are depricated function names: https://github.com/soravux/skylibs/blob/b39bc3419a5a6bc210f7e72df5ce97a379157c1a/skydb/__init__.py#L163 https://github.com/soravux/skylibs/blob/b39bc3419a5a6bc210f7e72df5ce97a379157c1a/skydb/__init__.py#L146 [Updated function names can be found here](https://github.com/soravux/skylibs/blob/b39bc3419a5a6bc210f7e72df5ce97a379157c1a/hdrtools/sunutils.py)