Skip to content
A renderer since 2012 made to educate myself about rendering. It contains the source code for the poster ' Guided path tracing using clustered virtual point lights' in SIGGRAPH Asia 2015.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
README.md
aggregate.cc
aggregate.h
aggregate_bvh.cc
aggregate_bvh.h
area_light.cc
area_light.h
base_object.cc
base_object.h
boundingbox.h
boundingbox_n.h
brdf_point_light.cc
brdf_point_light.h
bsdf.h
camera.cc
camera.h
camera_view.h
cluster.h
cluster_builder.cc
cluster_builder.h
common.h
concentric_mapping.h
cone.cc
cone.h
dir_light.cc
dir_light.h
env_light.cc
env_light.h
error.cc
error.h
events.h
file.h
film.h
first_bounce.cc
first_bounce.h
form_factor.h
frame.cc
frame.h
gl_vertex.h
gl_view.h
glass.cc
glass.h
glut_viewer.cc
glut_viewer.h
hitrecord.h
image.h
image_block_view.cc
image_block_view.h
image_sampler.cc
image_sampler.h
integrator.cc
integrator.h
integrator_scheduler.cc
integrator_scheduler.h
json_importer.cc
json_importer.h
json_parser.cc
json_parser.h
kdtree.cc
kdtree.h
kdtree_2.cc
kdtree_2.h
kdtree_n.h
lambertian.cc
lambertian.h
light.h
light_particle.cc
light_particle.h
light_transport_matrix.cc
light_transport_matrix.h
light_tree.h
lightslice.cc
lightslice.h
linear.cc
linear.h
local_geometry.h
log.cc
log.h
marshal.h
mat4.h
material.cc
material.h
math3.h
matrix.cc
matrix.h
matrix_c.cc
matrix_c.h
matrix_color.h
mesh_view.cc
mesh_view.h
mirror.cc
mirror.h
mis.h
monte_carlo_integrator.cc
monte_carlo_integrator.h
morton.h
mrcs.cc
mrcs.h
mtwist.c
mtwist.h
mutable_path.h
named_object.h
noglut.h
number.h
obj_importer.cc
obj_importer.h
obj_parser.cpp
obj_parser.h
object.h
observable.h
octree.cc
octree.h
onb.cc
onb.h
param_dict.cc
param_dict.h
path.cc
path.h
path_tracing.cc
path_tracing.h
pdf.cc
pdf.h
phong.cc
phong.h
photon.h
photon_light.cc
photon_light.h
point_light.cc
point_light.h
quad.cc
quad.h
random.h
ray.h
render_config_importer.cc
render_config_importer.h
renzoku.cc
renzoku_vs2013.sln
renzoku_vs2013.vcxproj
resource.cc
resource.h
rgb.cc
rgb.h
sampler.cc
sampler.h
scene.cc
scene.h
scene_importer.h
sensor.cc
sensor.h
shading_geometry.cc
shading_geometry.h
shape.h
size.h
sphere.cc
sphere.h
spot_light.cc
spot_light.h
stats.cc
stats.h
stratified_sampler.cc
stratified_sampler.h
surface.cc
surface.h
texture.cc
texture.h
textured_material.cc
textured_material.h
thin_translucent.h
thin_transparent.cc
thin_transparent.h
thread_controller.cc
thread_controller.h
time.h
tonemap.cc
tonemap.frag
tonemap.h
tonemap.vert
trackball.c
trackball.h
triangle.cc
triangle.h
vec2.cc
vec2.h
vec3.cc
vec3.h
vec3_cpu.cc
vec3_cpu.h
view.h
viewer.cc
viewer.h
vpl.cc
vpl.h
vpl_generator.cc
vpl_generator.h
vpl_interface.h
vpl_ppm.cc
vpl_ppm.h
ward.cc
ward.h

README.md

This is a reference code for the poster `Guided Path Tracing Using Clustered Virtual Point Lights' in SIGGRAPH Asia 2015.

The code is made to educate myself about physically based rendering a long time ago, with inspiration drawn from PBRT and Mitsuba. Please feel free to use it for your research.

Data

The code includes Breakfast, an example scene originally modelled by Wig42 on BlendSwap. The painting on the wall is digitized from an acryllic painting by my little sister Kim.

Compilation

To compile, please use Visual Studio 2013 Community edition. Unpack precompiled.zip which contains all required dependencies to the source code folder. It also contains a precompiled Windows x64 binary for the renderer.

To run, go to dist folder, and execute

renzoku.exe scenes/breakfast/breakfast_metro.json

The images will be saved to the data folder in EXR format.

Citation

If you find the code useful for your research, please cite the poster:

@inproceedings{hua-guided-sa15,
 author = {Hua, Binh-Son and Low, Kok-Lim},
 title = {Guided Path Tracing Using Clustered Virtual Point Lights},
 booktitle = {SIGGRAPH Asia 2015 Posters},
 year = {2015},
 publisher = {ACM}
} 

Dependencies

For the convenience of compilation, this code is distributed with the following open source libraries:

  • Boost

  • Eigen

  • FreeGLUT

  • FreeImage

  • GLEW

  • LibImportance by Jiri Vorba under GNU General Public License v3.

  • libjson

  • Morton sort by NVIDIA

  • OpenEXR

License

This code is released under MIT license.

Copyright 2012-2018, Binh-Son Hua.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.