{"id":17834827,"url":"https://github.com/animmouse/sh3d-consolephotogenerator","last_synced_at":"2025-03-19T13:31:32.458Z","repository":{"id":42194356,"uuid":"361771502","full_name":"AnimMouse/SH3D-ConsolePhotoGenerator","owner":"AnimMouse","description":"Sweet Home 3D Console Photo Generator","archived":false,"fork":false,"pushed_at":"2024-09-13T15:46:52.000Z","size":26517,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-17T09:45:14.138Z","etag":null,"topics":["home","house","path-tracing","pathtracing","ray-tracing","raytracing","sunflow","sweet-home-3d","sweethome3d"],"latest_commit_sha":null,"homepage":"","language":"Java","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/AnimMouse.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":"2021-04-26T14:02:22.000Z","updated_at":"2025-01-05T14:54:50.000Z","dependencies_parsed_at":"2023-12-15T06:47:47.446Z","dependency_job_id":null,"html_url":"https://github.com/AnimMouse/SH3D-ConsolePhotoGenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimMouse%2FSH3D-ConsolePhotoGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimMouse%2FSH3D-ConsolePhotoGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimMouse%2FSH3D-ConsolePhotoGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimMouse%2FSH3D-ConsolePhotoGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnimMouse","download_url":"https://codeload.github.com/AnimMouse/SH3D-ConsolePhotoGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244434838,"owners_count":20452268,"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":["home","house","path-tracing","pathtracing","ray-tracing","raytracing","sunflow","sweet-home-3d","sweethome3d"],"created_at":"2024-10-27T20:11:31.402Z","updated_at":"2025-03-19T13:31:30.502Z","avatar_url":"https://github.com/AnimMouse.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sweet Home 3D Console Photo Generator\nRender your [Sweet Home 3D](http://www.sweethome3d.com/) files headless on computers without a GPU like VPS.\n\nUsing [ConsolePhotoGenerator](http://www.sweethome3d.com/support/forum/viewthread_thread,2918#13298)\n\n## How to use\n1. Install Java Development Kit for compilation and Java Runtime Environment for rendering. `sudo apt install openjdk-8-jre-headless openjdk-8-jdk-headless`\n2. Modify ConsolePhotoGenerator.java to change the resolution (width and height) of the photo.\n3. Compile ConsolePhotoGenerator.java `javac -cp SweetHome3D-6.5.2.jar:sunflow-0.07.3i.jar -d . ConsolePhotoGenerator.java`\n4. Render your SH3D file. (Replace userGuideExample.sh3d with your file) `java -Dj3d.rend=noop -cp .:SweetHome3D-6.5.2.jar:sunflow-0.07.3i.jar:j3dcore.jar:vecmath.jar:j3dutils.jar:batik-svgpathparser-1.7.jar com.eteks.sweethome3d.utilities.ConsolePhotoGenerator userGuideExample.sh3d photo.png`\n\n### Render quality\nOnly 2 options are available, Level 3 (Fast global illumination) \u0026 Level 4 (Global illumination). Level 1 \u0026 2 are not available as it uses GPU rendering. (And it's fast not to bother rendering on a server.)\\\nRender quality are determined on the .sh3d file, to change render quality, open Create a photo from 3D view, change the render quality, and save your file.\n\n### Viewpoint\nViewpoint are determined on the .sh3d file, to change viewpoint, open your .sh3d file, change the camera viewpoint on the 3D view, and save your file.\n\n### Time \u0026 Date\nTime \u0026 Date are determined on the .sh3d file, to change time \u0026 date, open Create a photo from 3D view, change the time \u0026 date, and save your file.\n\n### Memory (RAM)\nTo change the heap size of the Java Virtual Machine, use the `-Xms` for initial heap size and `-Xmx` for maximum heap size.\\\nExample using an initial heap size of 10 GB and maximum heap size of 12 GB, good for PC with 16 GB RAM.\\\n`java -Xms10g -Xmx12g -Dj3d.rend=noop -cp .:SweetHome3D-6.5.2.jar:sunflow-0.07.3i.jar:j3dcore.jar:vecmath.jar:j3dutils.jar:batik-svgpathparser-1.7.jar com.eteks.sweethome3d.utilities.ConsolePhotoGenerator userGuideExample.sh3d photo.png`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimmouse%2Fsh3d-consolephotogenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanimmouse%2Fsh3d-consolephotogenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimmouse%2Fsh3d-consolephotogenerator/lists"}