lightfield-analysis / blender-addon

Blender Addon to render light fields with depth and disparity maps
116 stars 46 forks source link

TypeError: 'float' object cannot be interpreted as an integer #1

Closed bhack closed 4 years ago

bhack commented 7 years ago

I got this error in https://github.com/lightfield-analysis/blender-addon/blob/master/light_field_renderer/lightfield_simulator.py#L482. Your depthmapscale default is float. Want we cast the product to int or round it for the reshape?

bhack commented 7 years ago

Also median_downsampling has some problem like this on float result of division that are passed in transpose