{"id":20146576,"url":"https://github.com/brosnanyuen/raybnn_raytrace","last_synced_at":"2025-08-26T00:04:33.145Z","repository":{"id":198590076,"uuid":"701090428","full_name":"BrosnanYuen/RayBNN_Raytrace","owner":"BrosnanYuen","description":"Ray tracing library using GPUs, CPUs, and FPGAs via CUDA, OpenCL, and oneAPI ","archived":false,"fork":false,"pushed_at":"2024-06-18T06:03:53.000Z","size":152,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-11T16:05:02.406Z","etag":null,"topics":["arrayfire","cuda","gpu","gpu-computing","opencl","parallel","parallel-computing","ray","ray-tracing","raybnn","raylib","raytracer","raytracing","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/BrosnanYuen.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":"2023-10-05T22:34:33.000Z","updated_at":"2025-03-16T21:11:27.000Z","dependencies_parsed_at":"2024-11-05T10:58:18.669Z","dependency_job_id":null,"html_url":"https://github.com/BrosnanYuen/RayBNN_Raytrace","commit_stats":{"total_commits":191,"total_committers":2,"mean_commits":95.5,"dds":0.005235602094240788,"last_synced_commit":"855f76a91819ad9522e1bb6d169daf29fd8475ee"},"previous_names":["brosnanyuen/raybnn_raytrace"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/BrosnanYuen/RayBNN_Raytrace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrosnanYuen%2FRayBNN_Raytrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrosnanYuen%2FRayBNN_Raytrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrosnanYuen%2FRayBNN_Raytrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrosnanYuen%2FRayBNN_Raytrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrosnanYuen","download_url":"https://codeload.github.com/BrosnanYuen/RayBNN_Raytrace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrosnanYuen%2FRayBNN_Raytrace/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259402009,"owners_count":22851866,"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":["arrayfire","cuda","gpu","gpu-computing","opencl","parallel","parallel-computing","ray","ray-tracing","raybnn","raylib","raytracer","raytracing","rust"],"created_at":"2024-11-13T22:24:20.748Z","updated_at":"2025-06-12T05:07:01.539Z","avatar_url":"https://github.com/BrosnanYuen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RayBNN_Raytrace\n\nRay tracing library using GPUs, CPUs, and FPGAs via CUDA, OpenCL, and oneAPI \n\n\nRaytraces intersections between rays, spheres, circles\n\n\n# Install Arrayfire\n\nInstall the Arrayfire 3.9.0 binaries at [https://arrayfire.com/binaries/](https://arrayfire.com/binaries/)\n\nor build from source\n[https://github.com/arrayfire/arrayfire/wiki/Getting-ArrayFire](https://github.com/arrayfire/arrayfire/wiki/Getting-ArrayFire)\n\n\n\n\n# Add to Cargo.toml\n```\narrayfire = { version = \"3.8.1\", package = \"arrayfire_fork\" }\nrayon = \"1.10.0\"\nnum = \"0.4.3\"\nnum-traits = \"0.2.19\"\nhalf = { version = \"2.4.1\" , features = [\"num-traits\"] }\nRayBNN_DataLoader = \"2.0.3\"\nRayBNN_Sparse = \"2.0.2\"\nRayBNN_Cell = \"2.0.3\"\nRayBNN_Raytrace = \"2.0.3\"\n```\n\n\n\n# List of Examples\n\n\n# Line Sphere Intersection\n```\nRayBNN_Raytrace::Intersect::Sphere::line_sphere_intersect(\n    \u0026start_line,\n    \u0026dir_line,\n\n    \u0026circle_center,\n    \u0026circle_radius,\n\n    \u0026mut intersect\n);\n```\n\n# Line Sphere Intersection Batch\n```\nRayBNN_Raytrace::Intersect::Sphere::line_sphere_intersect_batch(\n    3,\n    \u0026start_line,\n    \u0026dir_line,\n\n    \u0026circle_center,\n    \u0026circle_radius,\n\n    \u0026mut intersect\n);\n```\n\n\n# Line Sphere Intersection Batch V2\n```\nRayBNN_Raytrace::Intersect::Sphere::line_sphere_intersect_batchV2(\n    3,\n\n    1,\n\n    \u0026circle_center,\n    \u0026circle_radius,\n\n    \u0026mut start_line,\n    \u0026mut dir_line,\n\n    \u0026mut input_idx,\n    \u0026mut hidden_idx,\n);\n```\n\n\n# Raytrace Neural Connections using RT3\n```\nRayBNN_Raytrace::Tracing::RT3::RT3_distance_limited_directly_connected(\n    \u0026modeldata_float,\n    \u0026modeldata_int,\n\n    \u0026glia_pos,\n\n    \u0026input_pos_total,\n    \u0026input_idx_total,\n\n    \u0026hidden_pos_total,\n    \u0026hidden_idx_total,\n\n    \n    \u0026mut WRowIdxCOO,\n    \u0026mut WColIdx\n);\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrosnanyuen%2Fraybnn_raytrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrosnanyuen%2Fraybnn_raytrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrosnanyuen%2Fraybnn_raytrace/lists"}