{"id":24288698,"url":"https://github.com/eirisocherry/3d-point-depth-projection","last_synced_at":"2026-04-20T02:05:41.811Z","repository":{"id":244071018,"uuid":"814087841","full_name":"eirisocherry/3d-point-depth-projection","owner":"eirisocherry","description":"After Effects Tool","archived":false,"fork":false,"pushed_at":"2025-01-30T05:14:44.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T06:20:41.575Z","etag":null,"topics":["after-effects","depth"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eirisocherry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-12T10:09:37.000Z","updated_at":"2025-01-30T05:14:48.000Z","dependencies_parsed_at":"2025-01-16T10:37:20.879Z","dependency_job_id":"954cf67d-f5b3-4fd7-ba27-c8d6abbc324d","html_url":"https://github.com/eirisocherry/3d-point-depth-projection","commit_stats":null,"previous_names":["eirisocherry/3d-point-depth-projection"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eirisocherry%2F3d-point-depth-projection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eirisocherry%2F3d-point-depth-projection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eirisocherry%2F3d-point-depth-projection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eirisocherry%2F3d-point-depth-projection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eirisocherry","download_url":"https://codeload.github.com/eirisocherry/3d-point-depth-projection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242128315,"owners_count":20076177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["after-effects","depth"],"created_at":"2025-01-16T10:37:12.414Z","updated_at":"2026-04-20T02:05:41.805Z","avatar_url":"https://github.com/eirisocherry.png","language":"JavaScript","readme":"# 3D Point Depth Projection\nAn After Effects tool that allows you to quickly extract 3d coordinates and place any object to it  \nRequirement: Depth map and 3d camera data  \n\n\n\n## Installation\n1. Download the tool: https://github.com/eirisocherry/3d-point-depth-projection/releases  \n2. Move the `3D Point Depth Projection` folder and `3D_Point_Depth_Projection.jsx` script to:  \n`C:\\Program Files\\Adobe\\Adobe After Effects \u003cversion\u003e\\Support Files\\Scripts\\ScriptUI Panels`  \n3. Move the `SimpleLight.aex` plugin to:  \n   `C:\\Program Files\\Adobe\\Adobe After Effects CC \u003cversion\u003e\\Support Files\\Plug-ins`  \n4. Restart After Effects.  \n\n\n\n## Usage\n\n\u003cdetails\u003e\n\u003csummary\u003e Setup \u003c/summary\u003e\n\u003cbr\u003e\n\n1. Open After Effects.  \n2. Go to `Window`, scroll down and open `3D_Point_Depth_Projection.jsx`.  \n3. The script panel will open. It's dockable.  \n4. Import a 3d camera data.  \nCSGO: https://www.youtube.com/watch?v=78Y_Y-i5h2c  \nCOD4: https://github.com/gmzorz/MVMAETools/blob/main/Support%20Files/Scripts/ScriptUI%20Panels/MVMTools.jsx  \n5. Import a depth map of your composition.    \n6. Select the depth map and setup a projection by pressing **[+]** button.  \n7. Adjust **'Depth settings':**  \n**'Black is Near'** check it if a black color is near on your depth map, uncheck if it's not.  \n**'Far'** the farthest depth point value:  \nCSGO (if you use my cfgs): `4096`  \nCS2 (if you use my cfgs): not gonna work properly, because cs2 depth is logarithmic (simplelight needs linear depth)  \nCOD4: `4080`  \nEXR Depth: set the same value you set in EXtractoR  \n8.  Project any objects you want.  \n\n- The script is heavy and may crash your After Effects, but don't worry!  \nIt automatically saves your project before doing any actions, so even if your AE will crash, you will not lose any of your progress.  \n- 'Auto Orient' works only with EXR depth maps.  \n\nhttps://github.com/eirisocherry/3d-point-depth-projection/assets/115040224/99b23a49-3bc6-40df-b8ae-975871f2bdc4  \n\n\u003cbr\u003e\n\u003c/details\u003e\n\n\n\n\u003cdetails\u003e\n\u003csummary\u003e SimpleLight \u003c/summary\u003e\n\u003cbr\u003e\n\nWhen you project 'SimpleLight' it makes a dublicate of your 'Depth for Projection' layer and applies 'SimpleLight' plugin to it  \n\n`[x] SL` SimpleLight settings:  \n**'Black is Near'** takes value from '3D Point Depth Projection' effect  \n**'Far'** takes value from '3D Point Depth Projection' effect  \n**'FOV'** links to your camera FOV  \n**'Light (View Space)'** links to a point light `----[x] SL Light----`  \n**'Light Range'** range of the light  \n\n`[x] SL Adj` Adjustment Layer settings:  \nIt uses SimpleLight `[x] SL` as a luma mask  \n**'CC Toner'** allows you change the color of the light  \n**'Exposure'** allows you to change the brightness of the light  \n\n`----[x] SL Light----` Point Light settings:  \n'Color' links to the 'CC toner' effect, which is applied to `[x] SL Adj`  \n\n'Projection settings' are self-explanatory.  \n\nhttps://github.com/eirisocherry/3d-point-depth-projection/assets/115040224/cbfc4cf9-eada-4d95-9cf7-0d9be496b035\n\n\u003cbr\u003e\n\u003c/details\u003e\n\n\n\n\u003cdetails\u003e\n\u003csummary\u003e Keyframes \u003c/summary\u003e\n\u003cbr\u003e\n\nWhen you project 'Keyframes', they are being stored in the 'Collected Keyframes' group  \n\nhttps://github.com/eirisocherry/3d-point-depth-projection/assets/115040224/78707934-496d-41d2-98cb-9f9d96279cc5  \n\n\u003cbr\u003e\n\u003c/details\u003e\n\n\n\n\u003cdetails\u003e\n\u003csummary\u003e Solid \u003c/summary\u003e\n\u003cbr\u003e\n\nWhen you project a 'Solid', it takes properties from 'Projected Solid' and color from 'Projection settings'  \n`Ctrl + Shift + Y` to open 'Solid' settings  \n\nhttps://github.com/eirisocherry/3d-point-depth-projection/assets/115040224/094be86c-2ffa-4d01-bc7b-38713cfdc518  \n\n\u003cbr\u003e\n\u003c/details\u003e\n\n\n\n\u003cdetails\u003e\n\u003csummary\u003e 3D+2D null \u003c/summary\u003e\n\u003cbr\u003e\n\n\n\u003cdetails\u003e\n\u003csummary\u003e \u003e\u003e\u003e Link a 2d layer to a 3d point (useful for flares) \u003c/summary\u003e\n\u003cbr\u003e\n\nhttps://github.com/eirisocherry/3d-point-depth-projection/assets/115040224/f093c228-61f5-40a4-94c1-4842467c6880  \n\n\u003cbr\u003e\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n\u003csummary\u003e \u003e\u003e\u003e Make a 3d layer always look at the camera  \u003c/summary\u003e\n\u003cbr\u003e\n\nhttps://github.com/eirisocherry/3d-point-depth-projection/assets/115040224/7460b84c-379d-428f-9b1a-8d32f42298d0  \n\n\u003cbr\u003e\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n\u003csummary\u003e \u003e\u003e\u003e Make a 3d layer always look at the camera using only Y-rotation \u003c/summary\u003e\n\u003cbr\u003e\n\nAuto-orient Y-rotation only expression by [Dan Ebberts](https://www.motionscript.com/design-guide/auto-orient-y-only.html):  \n```\ndelta = toWorld(anchorPoint) - thisComp.activeCamera.toWorld([0,0,0]);\nradiansToDegrees(Math.atan2(delta[0],delta[2]))\n```\n\nhttps://github.com/eirisocherry/3d-point-depth-projection/assets/115040224/e190e9c3-2070-4db1-8051-539cdf0e682b  \n\n\u003cbr\u003e\n\u003c/details\u003e\n\n\n\u003cbr\u003e\n\u003c/details\u003e\n\n\n\n\u003cdetails\u003e\n\u003csummary\u003e Link-Bake \u003c/summary\u003e\n\u003cbr\u003e\n\nIf you want to adjust position \u0026 orientation of an object:  \n1. Press [⚙] button.  \n2. Select 'Depth for Projection' and layers you want to make controllers for.  \n3. Press [Link] button and adjust positions.  \n4. To apply changes, select controllers and press [Bake] button.  \n\nhttps://github.com/eirisocherry/3d-point-depth-projection/assets/115040224/50e2767d-9676-4130-8c9f-919d189ae79b  \n\n\u003cbr\u003e\n\u003c/details\u003e\n\n\n\n\u003cdetails\u003e\n\u003csummary\u003e Merge Depth \u003c/summary\u003e\n\u003cbr\u003e\n\nTo merge depth layers, select them and press [Merge Depth] button.  \nIt will create a 'Merged Depth' solid with adjustment layer which uses 'Merged Depth' solid as a luma mask.  \n\nSince 'Merged Depth' uses links to the depth layers you've selected, all the changes you make for them will be automatically applied to 'Merged Depth'.  \n\nhttps://github.com/eirisocherry/3d-point-depth-projection/assets/115040224/b4f0f5b5-b004-4d68-b54d-444f748b3a6e  \n\n\u003cbr\u003e\n\u003c/details\u003e\n\n\n\n## Credits\nPlugin \u0026 expressions: `fadaaszhi` (discord)  \nScript: `shy_rikki` (discord)  \nhttps://www.youtube.com/@shy_rikki  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feirisocherry%2F3d-point-depth-projection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feirisocherry%2F3d-point-depth-projection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feirisocherry%2F3d-point-depth-projection/lists"}