{"id":13804239,"url":"https://github.com/ali-raheem/vraytracer","last_synced_at":"2026-01-08T21:04:54.855Z","repository":{"id":138314932,"uuid":"198499587","full_name":"ali-raheem/vraytracer","owner":"ali-raheem","description":"Raytracer in a weekend course with vlang","archived":false,"fork":false,"pushed_at":"2020-06-28T15:43:08.000Z","size":3622,"stargazers_count":49,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T03:32:17.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"V","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ali-raheem.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-07-23T19:57:57.000Z","updated_at":"2024-11-10T22:33:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0723c5d-5cc8-4905-9d1e-4409cd5ac719","html_url":"https://github.com/ali-raheem/vraytracer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali-raheem%2Fvraytracer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali-raheem%2Fvraytracer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali-raheem%2Fvraytracer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali-raheem%2Fvraytracer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ali-raheem","download_url":"https://codeload.github.com/ali-raheem/vraytracer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246388213,"owners_count":20769140,"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":[],"created_at":"2024-08-04T01:00:44.294Z","updated_at":"2026-01-08T21:04:54.769Z","avatar_url":"https://github.com/ali-raheem.png","language":"V","funding_links":[],"categories":["Applications"],"sub_categories":["Graphics"],"readme":"# vRayTracer\n\nSimple raytracer in [vlang](https://vlang.io), learning the language as I go along so plenty of poor design choices, some for educational purposes. Based on [Ray Tracing in One Weekend](https://github.com/RayTracing/raytracinginoneweekend).\n\nSee f64 branch for more precise but slower implementation using 64 bit floats instead of 32bit.\n\n### Current output\n\n![raytrace output](output.png)\n\nOutput is ppm but this is converted with imagemagick `convert output.ppm output.png`\n\n### Building \u0026 Running\n\nCompile with `v -o bin/raytrace -prod raytrace.v`\nRun with `./raytrace \u003e output.ppm`\n\n### Todo\n\n* Code is a complete and utter mess.\n  - Move Ray into module\n  - Ray tracer module\n* Take scene input from file\n* Camera pos/fov\n* Focal distance\n\n#### Waiting on vlang for \n* Use Interfaces once working\n* Use None instead of error once working\n~~* Ensure overloading is used everywhere once working //TODO~~\n\n### Complete\n\n* PPM output\n* Fuzz\n* Albedo\n* Reflection\n* Scattering\n* Lambertian material\n* Metal material\n* Dialectric material\n* Command line arguments to image size (thanks [spytheman](https://github.com/spytheman).)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali-raheem%2Fvraytracer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fali-raheem%2Fvraytracer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali-raheem%2Fvraytracer/lists"}