Code Monkey home page Code Monkey logo

depth_renderer's People

Contributors

yinyunie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

depth_renderer's Issues

Build correspondence between pixels and points

Hi, thanks for your helpful work. I would like to ask if there is a convenient way of outputing correspondence relationships between pixels on the rendered image and points on the corresponding 3D model. I notice that "visualization/draw_pc_from_depth.py" can generate partial point clouds from specific viewpoints. Is there any function to obtain such "pixel-point" mapping? Look forward to your reply as soon as possible!

Background not transparent

Hi author! Thank you for this repo!
Using the code, I succesfully get the rendered png images with black backgrounds. What if I want to have transparent background?
I try the following code but it dosen't seem to work. Could you please help?
if g_background_image_path == 'TRANSPARENT':
if bpy.app.version < (2, 80, 0):
bpy.context.scene.render.alpha_mode = 'TRANSPARENT'
bpy.context.scene.render.image_settings.color_mode = 'RGBA' #
else:
bpy.context.scene.render.image_settings.color_mode = 'RGBA' # blender 2.8
bpy.context.scene.render.film_transparent = True # 0 for "SKY"; 1 for "TRANSPARENT

Points not lying on the surface

Hi,

thanks for open-sourcing this project. I have used it to render some of the shapenet models but have observed that the 3D point do not lie exactly on the surface once back-projected to 3D. The cloud2mesh distance lie in the range of 0.002.

Have you maybe observed the same? Do you know if this is an inherent precision of Blender depth rendering or if there is maybe some precision loss occurring at some point?

Zan

how to add lighting from all direction

Hi, thanks for the great work, I'm wondering how to add lights from all directions.

def light_setting_init():
""" light settings for renderer
"""
# Make light just directional, disable shadows.
world = bpy.data.worlds['World']
world.use_nodes = True
# changing these values does affect the render.
bg = world.node_tree.nodes['Background']
bg.inputs[1].default_value = 10.0

Normals images

Would it be possible to add an option to render out surface normal images from Blender, in addition to the RGB and depth images?

No module named 'cyfusion'

`(renderer) root@VGG-V100-LZ-2:~/lkq/depth_renderer# python depth_fusion.py
Traceback (most recent call last):
File "depth_fusion.py", line 9, in
from external import pyfusion

File "/root/lkq/depth_renderer/external/pyfusion/init.py", line 8, in
from cyfusion import *
ModuleNotFoundError: No module named 'cyfusion'`
many thanks for your great work. I follow the install step, but can not run the code. can you give me some help?

Data Preprocessing

Thanks a lot for the awesome work from the authors. But I am a bit confused with data preprocessing. I noticed that in the dataset attached each object has two folders which are respectively image and model. But in the original dataset, each object only has one file which is called XXX.obj. How could I change the XXX.obj to the form of the current dataset?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.