{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/latent-nerf-for-shape-guided-generation-of-3d","title":"Latent-NeRF for Shape-Guided Generation of 3D Shapes and Textures","arxiv_id":"2211.07600","date":"2022-11-14","proceeding":"CVPR 2023 1","authors":["Gal Metzer","Elad Richardson","Or Patashnik","Raja Giryes","Daniel Cohen-Or"],"abstract":"Text-guided image generation has progressed rapidly in recent years, inspiring major breakthroughs in text-guided shape generation. Recently, it has been shown that using score distillation, one can successfully text-guide a NeRF model to generate a 3D object. We adapt the score distillation to the publicly available, and computationally efficient, Latent Diffusion Models, which apply the entire diffusion process in a compact latent space of a pretrained autoencoder. As NeRFs operate in image space, a naive solution for guiding them with latent score distillation would require encoding to the latent space at each guidance step. Instead, we propose to bring the NeRF to the latent space, resulting in a Latent-NeRF. Analyzing our Latent-NeRF, we show that while Text-to-3D models can generate impressive results, they are inherently unconstrained and may lack the ability to guide or enforce a specific 3D structure. To assist and direct the 3D generation, we propose to guide our Latent-NeRF using a Sketch-Shape: an abstract geometry that defines the coarse structure of the desired object. Then, we present means to integrate such a constraint directly into a Latent-NeRF. This unique combination of text and shape guidance allows for increased control over the generation process. We also show that latent score distillation can be successfully applied directly on 3D meshes. This allows for generating high-quality textures on a given geometry. Our experiments validate the power of our different forms of guidance and the efficiency of using latent rendering. Implementation is available at https://github.com/eladrich/latent-nerf","url_abs":"https://arxiv.org/abs/2211.07600v1","url_pdf":"https://arxiv.org/pdf/2211.07600v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"latent-nerf-for-shape-guided-generation-of-3d","repo_url":"https://github.com/eladrich/latent-nerf","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"latent-nerf-for-shape-guided-generation-of-3d","repo_url":"https://github.com/threestudio-project/threestudio","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":null}],"tasks":[{"task_slug":"3d-generation","task_name":"3D Generation"},{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"nerf","task_name":"NeRF"},{"task_slug":"text-to-3d","task_name":"Text to 3D"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/text-to-3d-on-t-3-bench","task":"Text to 3D","dataset":"T$^3$Bench","model":"LatentNeRF","rank_in_archive_order":3,"of":6,"metrics":{"Avg":"28.1"},"uses_additional_data":false}],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2211.07600","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2211.07600"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/eladrich/latent-nerf","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/threestudio-project/threestudio","reach":null}],"summary":{"ran_draft_wrong":2,"unverified":2},"by_repo_kind":{"official":{"samples":4,"ran":2,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"1c9cf033d080b2e0","entry":"safe_normalize","repo":"eladrich/latent-nerf","repo_kind":"official","path":"src/latent_nerf/models/render_utils.py","file_url":"https://github.com/eladrich/latent-nerf/blob/HEAD/src/latent_nerf/models/render_utils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1c9cf033d080b2e0"}},{"code_sha256_prefix":"8ed7b9fc7f33d1dd","entry":"sample_pdf","repo":"eladrich/latent-nerf","repo_kind":"official","path":"src/latent_nerf/models/render_utils.py","file_url":"https://github.com/eladrich/latent-nerf/blob/HEAD/src/latent_nerf/models/render_utils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8ed7b9fc7f33d1dd"}},{"code_sha256_prefix":"5155231c1649ede5","entry":"get_encoder","repo":"eladrich/latent-nerf","repo_kind":"official","path":"src/latent_nerf/models/encoding.py","file_url":"https://github.com/eladrich/latent-nerf/blob/HEAD/src/latent_nerf/models/encoding.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5155231c1649ede5"}},{"code_sha256_prefix":"5af424e1c000a455","entry":"get_rays","repo":"eladrich/latent-nerf","repo_kind":"official","path":"src/latent_nerf/models/render_utils.py","file_url":"https://github.com/eladrich/latent-nerf/blob/HEAD/src/latent_nerf/models/render_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5af424e1c000a455"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}