{"id":44482233,"url":"https://github.com/graphnode/r3d-cs","last_synced_at":"2026-02-16T03:01:18.281Z","repository":{"id":337510914,"uuid":"1153717480","full_name":"graphnode/r3d-cs","owner":"graphnode","description":"The C# port of an advanced 3D rendering library built on top of raylib.","archived":false,"fork":false,"pushed_at":"2026-02-11T21:50:17.000Z","size":269,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-12T06:13:21.454Z","etag":null,"topics":["3d","csharp","gamedev","r3d","raylib","raylib-cs"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphnode.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-09T16:06:15.000Z","updated_at":"2026-02-11T22:46:52.000Z","dependencies_parsed_at":"2026-02-13T00:00:37.774Z","dependency_job_id":null,"html_url":"https://github.com/graphnode/r3d-cs","commit_stats":null,"previous_names":["graphnode/r3d-cs"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/graphnode/r3d-cs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphnode%2Fr3d-cs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphnode%2Fr3d-cs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphnode%2Fr3d-cs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphnode%2Fr3d-cs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphnode","download_url":"https://codeload.github.com/graphnode/r3d-cs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphnode%2Fr3d-cs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29387668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T22:07:52.078Z","status":"ssl_error","status_checked_at":"2026-02-12T22:07:49.026Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","csharp","gamedev","r3d","raylib","raylib-cs"],"created_at":"2026-02-13T00:00:24.843Z","updated_at":"2026-02-13T00:01:16.222Z","avatar_url":"https://github.com/graphnode.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![R3D-cs Logo](https://media.githubusercontent.com/media/graphnode/r3d-cs/master/R3D-cs/logo/r3d-cs_256x256.png \"R3D-cs Logo\")\n\n# R3D-cs\n\n[![CI](https://img.shields.io/github/actions/workflow/status/graphnode/r3d-cs/ci.yml)](https://github.com/graphnode/r3d-cs/actions)\n[![NuGet](https://img.shields.io/nuget/v/r3d-cs?color=0b6cff)](https://www.nuget.org/packages/R3D-cs)\n[![NuGet Downloads](https://img.shields.io/nuget/dt/r3d-cs?color=9b4f97)](https://www.nuget.org/packages/R3D-cs)\n\n.NET/C# bindings for [r3d](https://github.com/Bigfoot71/r3d), an advanced 3D rendering library built on top of raylib.\n\n\u003e **Experimental**: This package is in early development. APIs may change between versions.\n\n\u003e **Note**: [r3d](https://github.com/Bigfoot71/r3d) itself is under heavy development and has not reached version 1.0. Expect breaking changes in the underlying\n\u003e library as well.\n\n\u003e **Important**: For now this package includes its own `raylib.dll` from r3d with some features enabled (like HDR file loading).\n\u003e This will overwrite the native library provided by raylib-cs.\n\n## Installation - NuGet (Easy mode)\n\n```\ndotnet add package R3D-cs --prerelease\n```\n\n## Installation - Manual (Hard mode)\n\n1. Download/clone the repo.\n2. Add the R3D-cs project to your solution as an existing project.\n3. Download/build the native libraries from R3D repository (check the Actions tab for artifacts) and from raylib releases.\n4. Make sure the native libraries are in the same folder as the output.\n\n## Requirements\n\n- .NET 10.0 or later (might work with earlier versions but not tested)\n- [Raylib-cs](https://www.nuget.org/packages/Raylib-cs) (included as a dependency)\n- Native r3d library for your platform (included in package)\n\n## Quick Start\n\n```csharp\nusing System.Numerics;\nusing Raylib_cs;\nusing R3D_cs;\n\n// Initialize window\nRaylib.InitWindow(800, 450, \"[r3d] - Basic example\");\nRaylib.SetTargetFPS(60);\n\n// Initialize R3D\nR3D.Init(Raylib.GetScreenWidth(), Raylib.GetScreenHeight());\n\n// Create meshes\nvar plane = R3D.GenMeshPlane(1000, 1000, 1, 1);\nvar sphere = R3D.GenMeshSphere(0.5f, 64, 64);\nvar material = R3D.GetDefaultMaterial();\n\n// Setup environment\nvar env = R3D.GetEnvironmentEx();\nenv.Ambient.Color = new Color(10, 10, 10, 255);\nR3D.SetEnvironmentEx(env);\n\n// Create light\nLight light = R3D.CreateLight(LightType.Spot);\nR3D.LightLookAt(light, new Vector3(0, 10, 5), Vector3.Zero);\nR3D.EnableShadow(light);\nR3D.SetLightActive(light, true);\n\n// Setup camera\nvar camera = new Camera3D() {\n    Position = new Vector3(0, 2, 2),\n    Target = Vector3.Zero,\n    Up = new Vector3(0, 1, 0),\n    FovY = 60\n};\n\n// Main loop\nwhile (!Raylib.WindowShouldClose())\n{\n    Raylib.UpdateCamera(ref camera, CameraMode.Orbital);\n\n    Raylib.BeginDrawing();\n        Raylib.ClearBackground(Color.RayWhite);\n\n        R3D.Begin(camera);\n            R3D.DrawMesh(plane, material, new Vector3(0, -0.5f, 0), 1.0f);\n            R3D.DrawMesh(sphere, material, Vector3.Zero, 1.0f);\n        R3D.End();\n    Raylib.EndDrawing();\n}\n\n// Cleanup\nR3D.UnloadMesh(sphere);\nR3D.UnloadMesh(plane);\nR3D.Close();\n\nRaylib.CloseWindow();\n```\n\n## Alternatives\n\n- [R3d.Net](https://github.com/Kiriller12/R3d.Net) - .NET bindings for r3d by Kiriller12\n\n## Documentation\n\n- [r3d documentation](https://github.com/Bigfoot71/r3d)\n- [raylib-cs documentation](https://github.com/ChrisDill/Raylib-cs)\n\n## Contributing\n\nFeel free to open an issue. If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are welcome.\n\n## License\n\nThis project is licensed under the zlib license. See [r3d](https://github.com/Bigfoot71/r3d) for the original library license.\n\n## Acknowledgements\n\nWe're grateful to the raylib, r3d, raylib-cs, and r3d-net developers for their outstanding contributions to the raylib community. This project's structure,\ndocumentation, and packaging are all inspired by their excellent work.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphnode%2Fr3d-cs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphnode%2Fr3d-cs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphnode%2Fr3d-cs/lists"}