lightfield-analysis / blender-addon Goto Github PK
View Code? Open in Web Editor NEWBlender Addon to render light fields with depth and disparity maps
Blender Addon to render light fields with depth and disparity maps
I find the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
, mentioned in your code and README confusing. Normally those sort of licenses are reserved for content, such as images, databases etc, which makes sense for the library that ya'll have generated using this software.
However, it is unclear to me whether the intention is to prevent users from generating new images for commercial purposes using this software or whether the license applies to the code text itself. I completely respect you applying whatever license you feel is fair, but I'd like it to be easier to understand for the community.
Also, note that creative commons recommends against using their license for software.
Hi, I just tested this addon in blender 2.70 and 2.79b and 2.82, only succeed in 2.79b. Blender2.8 is very different from blender2.7, so can you update this add to blender2.8?
Dear there.
My system is apple mac m1,my blender is 3.6. after installing and enabling it, I have the following error, looking forward to your reply!
Traceback (most recent call last):
File "/Applications/Blender3.6.app/Contents/Resources/3.6/scripts/modules/addon_utils.py", line 333, in enable
mod = import(module_name)
File "/Users/cdy/Library/Application Support/Blender/3.6/scripts/addons/blender-addon-master/init.py", line 61, in
class LFPropertyGroup(bpy.types.PropertyGroup):
File "/Users/cdy/Library/Application Support/Blender/3.6/scripts/addons/blender-addon-master/init.py", line 176, in LFPropertyGroup
default=updates.get_default_target_directory(),
File "/Users/cdy/Library/Application Support/Blender/3.6/scripts/addons/blender-addon-master/updates.py", line 105, in get_default_target_directory
path = os.path.join(bpy.context.user_preferences.filepaths.temporary_directory, 'lightfield')
AttributeError: '_RestrictContext' object has no attribute 'user_preferences'
Can you include [a] screenshot[s] in your read me to better demonstrate what this add-on does? Are these images from blender?
I have error message when I render a light field like below:
KeyError" 'bpy_prop_collection[key]: key "Z" not found'.
Do you have any ideas about this problem?
Thanks?
May has forgot it?
There's an error in the function render_depth_and_disp_maps(..)
in lightfield_simulator.py .
When the LF.focus_dist
is set to 0, it results in the calculated disp
becoming nan
as it is divided by 0.
Better to perform a check before applying the formula, so that LF.focus_dist
or LF.sensor_size
are not set to zero.
@lightfield-benchmark, thanks for the great add-on!
I've been playing around with rendering light fields with generated from your add-on in Unity. In Unity I have a plane that represents the camera array (UV), and an plane that represents where the camera frustums converge (ST).
I'm a little unsure how to map the configuration data I get from this add-on to the ST plane. A few question.
focus_distance_m
the distance from the center camera on the UV plane to convergence plane?Thanks in advance for your help.
I'd love to use this light-field plugin as a script within my own python packages. Unfortunately I am totally new to Blender.
Would it be possible to add a very small section to the readme.md to explain how this can be run via a python script (maybe even with a minimal example scene)? I think this would help others (and me) a lot in understanding better how this addon can be used programmatically.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.