{"id":19419791,"url":"https://github.com/iamgio/vofxel","last_synced_at":"2025-08-03T16:38:35.594Z","repository":{"id":110721132,"uuid":"206961287","full_name":"iamgio/vofxel","owner":"iamgio","description":":zap:  Voxel model loader and editor for JavaFX","archived":false,"fork":false,"pushed_at":"2019-09-09T14:13:22.000Z","size":205,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T12:49:32.802Z","etag":null,"topics":["3d","java","javafx","library","voxel"],"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/iamgio.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":"2019-09-07T11:55:14.000Z","updated_at":"2025-05-23T23:28:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"348e1f23-2b9e-4800-a4dd-87a8087ed3c5","html_url":"https://github.com/iamgio/vofxel","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/iamgio/vofxel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamgio%2Fvofxel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamgio%2Fvofxel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamgio%2Fvofxel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamgio%2Fvofxel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamgio","download_url":"https://codeload.github.com/iamgio/vofxel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamgio%2Fvofxel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262018675,"owners_count":23245618,"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":["3d","java","javafx","library","voxel"],"created_at":"2024-11-10T13:19:08.476Z","updated_at":"2025-06-26T07:02:16.162Z","avatar_url":"https://github.com/iamgio.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vo(fx)el\n**Vofxel** is a Java library for loading, displaying and editing PLY files exported from [MagicaVoxel](https://ephtracy.github.io/) into JavaFX, blazingly fast.\n\n## Installation\n\n### Maven\n```xml\n\u003crepositories\u003e\n  \u003crepository\u003e\n    \u003cid\u003ejitpack.io\u003c/id\u003e\n    \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n  \u003c/repository\u003e\n\u003c/repositories\u003e\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.iAmGio\u003c/groupId\u003e\n  \u003cartifactId\u003evofxel\u003c/artifactId\u003e\n  \u003cversion\u003ev0.0.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle\n```gradle\nallprojects {\n  repositories {\n    maven { url 'https://jitpack.io' }\n  }\n}\ndependencies {\n  implementation 'com.github.iAmGio:vofxel:v0.0.2'\n}\n```\n\n## Getting started\nLoad model from file:\n```java\nVoxelModel model = new VoxelModel();\nroot.getChildren().add(model);\nmodel.load(getClass().getResourceAsStream(\"/file.ply\"));\n```\n\n\u003e Note that the file must be exported using the _cube_ mode from MagicaVoxel (or any other tool that supports this export mode):   \n![Export](https://i.imgur.com/6jpqJFO.png)\n   \nCreate model from scratch:\n```java\nVoxelModel model = new VoxelModel();\nroot.getChildren().add(model);\nCube cube1 = model.addCube();\ncube1.setMaterial(new PhongMaterial(Color.RED));\ncube1.moveZ(-10);\nCube cube2 = model.addCube();\ncube2.setMaterial(new PhongMaterial(Color.BLUE));\ncube2.moveX(-10);\n```\n\n## Demo\nA simple demonstration can be found [here](https://github.com/iAmGio/vofxel/blob/master/src/test/java/eu/iamgio/vofxel/AppTest.java).\n\n![Result](https://i.imgur.com/n6UJCJe.png) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamgio%2Fvofxel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamgio%2Fvofxel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamgio%2Fvofxel/lists"}