xiumingzhang / xiuminglib Goto Github PK
View Code? Open in Web Editor NEWXiuming Zhang's Python Library
Home Page: https://xiuminglib.readthedocs.io/en/latest/index.html
License: MIT License
Xiuming Zhang's Python Library
Home Page: https://xiuminglib.readthedocs.io/en/latest/index.html
License: MIT License
Gradually fix old code
Can you give me some detailed advice on how to customize image composition?
google/neural-light-transport#6
google/neural-light-transport#1
I'm a beginner in neural rendering,I don't quite understand what you mean,I would like you to give a more detailed description or pseudocode
Thank you very much.
Multiple is semantically misleading, e.g., xiuminglib/launch/google.py->Launcher:__gen_borg_file()
E.g., setup_emission_nodetree()
Consider moving any non-basic imports into the functions.
This is not inefficient because imports are cached, and more importantly, helps reduce import failures.
If an import is pretty much necessary for all functions in the module (like import bpy
to blender.object
), wrap the import inside try, so it won't fail at init time (deferring failure till the use time).
read pairs better with write than load.
e.g., util.img can include functions that standardize image shapes (HxW to HxWx1), etc.
Should use relative imports instead.
from . import config
from .. import os as xm_os
And "X axis" to ":math:x
axis"
..., since they are not really EXR-related. Maybe start a Normal class and a Depth class?
Old:
the first line
... the second line
New:
the first line
... the second line
Make sure all use this style.
For instance, config.import_cv2()
is weird.
Recently I have been trying to run this project of yours
https://github.com/google/neural-light-transport
I am not familiar with Blender, so I have some doubts. I hope you can reply to the question in this project
google/neural-light-transport#4
I hope you can reply
Looking forward to your reply
... so that we can constants.path.checker
.
Makes more sense than the current constants.path_checker
.
Move depth/normal/etc. visualization to either vis or geometry, and switch to tfg.io.exr
for easier OpenEXR installation (?).
See nerfactor/data_gen/dtu_mvs/surf_from_mvs.py
on how I extracted K
from P
with cv2
but then later found [R|t]
with K^{-1}P
, instead of using those from the cv2
decomposition (which uses another weird convention).
people should be fine with common abbreviations like img
and arr
.
preset_import()
now supports assert_success
. Set it to True
for imports that must succeed.
Discovered while rendering SLF
Check if functions that should have a writes section have it.
Check if the format is consistent across functions.
and make_apng calls it
Signature: cam.render_buffers(trimesh_obj, alpha=False, depth=False, normals=False, visibility_to=None)
... by renaming it to vis.plot
and factoring out those that don't fit into the new name, such as vis.general._save
.
Maybe have some overarching util file containing _assert_cycles()
, so that modules across the whole package can all use it.
As of now, it's in blender/object.py
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.