diff --git a/CMakeLists.txt b/CMakeLists.txt index 7936b5f44b36a23f9149944ac08714d5ea6f65c7..9b8059bd2cd2f0cf4128529be3d4e49c56d81b2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ # distribution of this software and related documentation without an express # license agreement from NVIDIA CORPORATION is strictly prohibited. -cmake_minimum_required(VERSION 3.19) +cmake_minimum_required(VERSION 3.18) PROJECT(instant-ngp VERSION 1.0 diff --git a/docs/assets/mueller2022instant.bib b/docs/assets/mueller2022instant.bib index eb605e107bcd1b57efc1546f7e802ac3165fe6c2..4744d9fec67565f565e2a083109a47a63857cbf8 100644 --- a/docs/assets/mueller2022instant.bib +++ b/docs/assets/mueller2022instant.bib @@ -1,7 +1,18 @@ @article{mueller2022instant, - title = {Instant Neural Graphics Primitives with a Multiresolution Hash Encoding}, author = {Thomas M\"uller and Alex Evans and Christoph Schied and Alexander Keller}, - journal = {arXiv:2201.05989}, + title = {Instant Neural Graphics Primitives with a Multiresolution Hash Encoding}, + journal = {ACM Trans. Graph.}, + issue_date = {July 2022}, + volume = {41}, + number = {4}, + month = jul, year = {2022}, - month = jan + pages = {102:1--102:15}, + articleno = {102}, + numpages = {15}, + url = {https://doi.org/10.1145/3528223.3530127}, + doi = {10.1145/3528223.3530127}, + publisher = {ACM}, + address = {New York, NY, USA}, + keywords = {real-time, rendering, deep learning, neural networks, path tracing, radiance caching, hashing, gpu, parallel computation, function approximation, encodings, image synthesis} } diff --git a/docs/assets/mueller2022instant.pdf b/docs/assets/mueller2022instant.pdf index 1ee889502146b5cc8fc26924f5d0e867e75ad446..54c7560da3ec573b5ef1f5ca2b968f90f25e3b64 100644 Binary files a/docs/assets/mueller2022instant.pdf and b/docs/assets/mueller2022instant.pdf differ diff --git a/docs/index.html b/docs/index.html index 37311741c363607b5cfc75edb75467e0d7ba3366..28b4c84db05d0c6b38fd875bbff23c171b08a3b1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -235,6 +235,10 @@ figure { <div class="col-1 text-center">NVIDIA</div> </div> + <div class="affil-row"> + <div class="venue text-center"><b><a href="https://s2022.siggraph.org">ACM Transactions on Graphics (SIGGRAPH 2022)</a></b></div> + </div> + <div style="clear: both"> <div class="paper-btn-parent"> <a class="paper-btn" href="assets/mueller2022instant.pdf"> @@ -299,6 +303,7 @@ figure { <h2>News</h2> <hr> <div class="row"> + <div><span class="material-icons"> description </span> [May 3rd 2022] Paper accepted to <a href="https://s2022.siggraph.org">ACM Transactions on Graphics (SIGGRAPH 2022)</a>.</div> <div><span class="material-icons"> description </span> [Jan 19th 2022] Paper released on <a href="https://arxiv.org/abs/2201.05989">arXiv</a>.</div> <div><span class="material-icons"> integration_instructions </span> [Jan 14th 2022] Code released on <a href="https://github.com/NVlabs/instant-ngp">GitHub</a>.</div> </div> @@ -461,7 +466,7 @@ figure { <p><b>Instant Neural Graphics Primitives with a Multiresolution Hash Encoding</b></p> <p>Thomas Müller, Alex Evans, Christoph Schied, Alexander Keller</p> - <div><span class="material-icons"> description </span><a href="assets/mueller2022instant.pdf"> Paper preprint (PDF, 15.3 MB)</a></div> + <div><span class="material-icons"> description </span><a href="assets/mueller2022instant.pdf"> Paper preprint (PDF, 17.7 MB)</a></div> <div><span class="material-icons"> description </span><a href="https://arxiv.org/abs/2201.05989"> arXiv version</a></div> <div><span class="material-icons"> insert_comment </span><a href="assets/mueller2022instant.bib"> BibTeX</a></div> <div><span class="material-icons"> integration_instructions </span><a href="https://github.com/NVlabs/instant-ngp"> Code</a></div> @@ -476,11 +481,21 @@ figure { <h2>Citation</h2> <hr> <pre><code>@article{mueller2022instant, - title = {Instant Neural Graphics Primitives with a Multiresolution Hash Encoding}, author = {Thomas M\"uller and Alex Evans and Christoph Schied and Alexander Keller}, - journal = {arXiv:2201.05989}, + title = {Instant Neural Graphics Primitives with a Multiresolution Hash Encoding}, + journal = {ACM Trans. Graph.}, + issue_date = {July 2022}, + volume = {41}, + number = {4}, + month = jul, year = {2022}, - month = jan + pages = {102:1--102:15}, + articleno = {102}, + numpages = {15}, + url = {https://doi.org/10.1145/3528223.3530127}, + doi = {10.1145/3528223.3530127}, + publisher = {ACM}, + address = {New York, NY, USA} } </code></pre> </section> diff --git a/scripts/run.py b/scripts/run.py index d2718812b54ca78767a4325760b835f7784d21df..e1e18507c494b7e359c48097cb02e985554cef43 100644 --- a/scripts/run.py +++ b/scripts/run.py @@ -108,7 +108,7 @@ if __name__ == "__main__": testbed.tonemap_curve = ngp.TonemapCurve.ACES if args.scene: - scene=args.scene + scene = args.scene if not os.path.exists(args.scene) and args.scene in scenes: scene = os.path.join(scenes[args.scene]["data_dir"], scenes[args.scene]["dataset"]) testbed.load_training_data(scene) diff --git a/scripts/scenes.py b/scripts/scenes.py index c3fa39be90b0e333129514139b8f04096e3e5995..f820e8cad7491c4617c53f12aa8c8b436387efb9 100644 --- a/scripts/scenes.py +++ b/scripts/scenes.py @@ -69,7 +69,7 @@ scenes_sdf = { } -def ours_image(name,infolder=True): +def ours_image(name, infolder=True): data_dir = os.path.join(IMAGE_DATA_FOLDER, f"{name}") if infolder else IMAGE_DATA_FOLDER dataset = f"{name}.bin" if not os.path.exists(os.path.join(data_dir, dataset)): @@ -88,6 +88,8 @@ scenes_image = { "albert" : ours_image("albert", False), } + + def ours_volume(name, ds): return { "data_dir" : os.path.join(VOLUME_DATA_FOLDER, f"{name}"), @@ -203,3 +205,4 @@ def setup_colored_sdf(testbed, scene, softshadow=True): col = list(testbed.background_color) testbed.sdf.brdf.ambientcolor = np.multiply(col,col)[0:3] testbed.sdf.shadow_sharpness = 16 if softshadow else 2048 + testbed.scale = testbed.scale * 1.13