Coder Social home page Coder Social logo

yindaz / pbrs Goto Github PK

View Code? Open in Web Editor NEW
140.0 140.0 26.0 88.45 MB

Physically-Based Rendering for Indoor Scene Understanding Using Convolutional Neural Networks

License: MIT License

MATLAB 0.37% Python 1.36% CMake 1.82% Shell 0.10% C 2.40% Makefile 0.01% C++ 87.06% XSLT 0.14% Batchfile 0.01% PowerShell 0.01% TeX 2.37% Objective-C 3.69% Objective-C++ 0.35% GLSL 0.32% CSS 0.01% M 0.01%

pbrs's People

Contributors

yindaz 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  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  avatar  avatar

pbrs's Issues

Replacing environment light with directional light

Hi, I try to render a scene with directional light. However, using mlt integrator, the rendering results have many noisy points under certain light directions, as the figure I show below.
mlt_camera_0_light_0 372_0 628_-0 683
The mitsuba log shows "Encountered a path that could never be mutated!".

I also try 'direct' and 'pssmlt' integrator to rendering the scene. However, only black images output.

The aim is just rendering the scene with directional light with mitsuba. could you please provide some suggestions regarding that?

Assertion error node->parent == this

Hi @yindaz ,
I encountered following error when running the scn2scn binary. Do you have an idea what is going on? Thank you!
GAPS FATAL ERROR. ABORTING:: No such file or directory
Assertion error node->parent == this at line 368 in file R3SceneNode.cpp
Aborted (core dumped)

Rendering of scene "" did not complete successfully, caught exception: myRenderJob0[FileStream] Error while trying to open file "./projects_render/222/000000_mlt.rgbe": No such file or directory

Hi, yindaz, thanks for this awesome repo, I'm using it in my project.

I got some error when I run the example demo. My script is as follow. I download the camera info and unzip to projects_camera folder before that.

"python mitsuba_render.py -s ./rendering/projects_serialize/0004dd3cb11e50530676f77b55262d38/main_template_color.xml -c ./rendering/projects_camera/0004dd3cb11e50530676f77b55262d38/room_camera.txt -o ./projects_render/222/ -g ./rendering/projects_camera/0004dd3cb11e50530676f77b55262d38/room_camera_good.txt"

2018-10-17 15:50:55 INFO main [PluginManager] Loading plugin "plugins/envmap.so" ..
2018-10-17 15:50:55 INFO main [EnvironmentMap] Loading environment map "HDR_111_Parking_Lot_2_Ref.hdr"
2018-10-17 15:50:55 INFO main [MIPMap] Mapped MIP map cache file "/home/hzch/usr/PBRS/pbrs/./util_data/HDR_111_Parking_Lot_2_Ref.mip" into memory (100.0 MiB).
2018-10-17 15:50:55 INFO main [EnvironmentMap] Precomputing data structures for environment map sampling (50.0 MiB)
2018-10-17 15:50:56 INFO main [EnvironmentMap] Done (took 625 ms)
2018-10-17 15:50:56 INFO main [PluginManager] Loading plugin "plugins/independent.so" ..
2018-10-17 15:50:56 INFO main [PluginManager] Loading plugin "plugins/hdrfilm.so" ..
2018-10-17 15:50:56 WARN main [HDRFilm] The RGBE format only supports componentFormat="float32". Overriding..
2018-10-17 15:50:56 INFO main [PluginManager] Loading plugin "plugins/gaussian.so" ..
2018-10-17 15:50:56 INFO main [PluginManager] Loading plugin "plugins/perspective.so" ..
2018-10-17 15:50:56 INFO main [KDTreeBase] Constructing a SAH kd-tree (244419 primitives) ..
2018-10-17 15:50:56 INFO main [KDTreeBase] Finished -- took 706 ms.
2018-10-17 15:50:56 INFO main [PluginManager] Loading plugin "plugins/sphere.so" ..
2018-10-17 15:50:56 INFO myRenderJob0[MLT] Starting render job (640x480, 4 cores, SSE2 enabled, approx. 1024 mutations/pixel) ..
2018-10-17 15:50:56 INFO myRenderJob0[PluginManager] Loading plugin "plugins/direct.so" ..
2018-10-17 15:50:56 INFO myRenderJob0[PluginManager] Loading plugin "plugins/ldsampler.so" ..
2018-10-17 15:50:56 INFO myRenderJob0[SamplingIntegrator] Starting render job (640x480, 8 samples, 4 cores, SSE2 enabled) ..
Rendering: [++++++++++++++++++++++++++++++++++++++++++++] (47.5s, ETA: 0.0s)
2018-10-17 15:51:44 INFO myRenderJob0[PathSampler] Integrating luminance values over the image plane (100000 samples)..
2018-10-17 15:51:50 INFO myRenderJob0[PathSampler] Done -- average luminance value = 0.187713, stddev = 1.948820 (took 6586 ms)
Rendering: [++++++++++++++++++++++++++++++++++++++++++++] (2.6m, ETA: 0.0s)
2018-10-17 15:54:26 INFO myRenderJob0[RenderJob] Render time: 3.4898m
2018-10-17 15:54:26 INFO myRenderJob0[HDRFilm] Writing image to "./projects_render/222/000000_mlt.rgbe" ..
2018-10-17 15:54:26 WARN myRenderJob0[RenderJob] Rendering of scene "" did not complete successfully, caught exception: myRenderJob0[FileStream] Error while trying to open file "./projects_render/222/000000_mlt.rgbe": No such file or directory
2018-10-17 15:54:26 INFO myRenderJob1[MLT] Starting render job (640x480, 4 cores, SSE2 enabled, approx. 1024 mutations/pixel) ..
2018-10-17 15:54:26 INFO myRenderJob1[SamplingIntegrator] Starting render job (640x480, 8 samples, 4 cores, SSE2 enabled) ..
Rendering: [++++++++++++++++++++++++++++++++++++++++++++] (52.3s, ETA: 0.0s)
2018-10-17 15:55:18 INFO myRenderJob1[PathSampler] Integrating luminance values over the image plane (100000 samples)..
2018-10-17 15:55:27 INFO myRenderJob1[PathSampler] Done -- average luminance value = 0.015386, stddev = 0.233618 (took 8452 ms)
Rendering: [++++++++++++++++++++++++++++++++++++++++++++] (4.0m, ETA: 0.0s)
2018-10-17 15:59:24 INFO myRenderJob1[RenderJob] Render time: 4.9630m
2018-10-17 15:59:24 INFO myRenderJob1[HDRFilm] Writing image to "./projects_render/222/000001_mlt.rgbe" ..
2018-10-17 15:59:24 WARN myRenderJob1[RenderJob] Rendering of scene "" did not complete successfully, caught exception: myRenderJob1[FileStream] Error while trying to open file "./projects_render/222/000001_mlt.rgbe": No such file or directory
2018-10-17 15:59:24 INFO myRenderJob2[MLT] Starting render job (640x480, 4 cores, SSE2 enabled, approx. 1024 mutations/pixel) ..
2018-10-17 15:59:24 INFO myRenderJob2[SamplingIntegrator] Starting render job (640x480, 8 samples, 4 cores, SSE2 enabled) ..
Rendering: [++++++++++++++++++++++++++++++++++++++++++++] (52.4s, ETA: 0.0s)
2018-10-17 16:00:16 INFO myRenderJob2[PathSampler] Integrating luminance values over the image plane (100000 samples)..
2018-10-17 16:00:23 INFO myRenderJob2[PathSampler] Done -- average luminance value = 0.357498, stddev = 3.087691 (took 7423 ms)

Missing link of Gaps repo

Hi @yindaz,
Thanks so much for releasing the code of your impressive work!
I am wondering if the link of Gaps module repo is missing?

Best,
XH

about preparing 3D models by using mtsimport

Hi, I am trying to prepare 3D models by using mtsimport.
I found that the code you provided contains mitsuba, but does it contain the code of collada? I was failed to build mtsimport from the downloaded .deb files.

Why the rendering output is noisy

Thanks for sharing the code. After I run 'demo.m', I found the rendering results are noisy. Is that due to the low resolution (640*480) or the setting of mitsuba? How can I improve the quality of the outputs?

Is it possible to get corresponding voxel?

First, thanks for this awesome repo, I'm using it in my project.

Is it possible to get the semantic volumetric ground truth as sscnet? I found there's no correspondences between these two projects (i.e. for the rendered image here, I can't find its corresponding volume).

Thanks for your help.

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.