PSRayTracing
A (modern) C++ implementation of the Peter Shirley Ray Tracing mini-books (https://raytracing.github.io). Features a clean project structure, perf. improvements (compared to the original code), multi-core rendering, and more. (by define-private-public)
TermGL
2D & 3D graphics engine in the terminal [C/C++] (by wojciech-graj)
PSRayTracing | TermGL | |
---|---|---|
6 | 7 | |
243 | 272 | |
- | - | |
7.2 | 7.1 | |
5 days ago | 10 months ago | |
C | C | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PSRayTracing
Posts with mentions or reviews of PSRayTracing.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-11.
-
Deploy multi-platform applications with C++ (desktop, mobile and web). An example with Dear ImGui
I wouldn't say that CMake isn't that painful for the deployment stage. I have successfully deployed an open source project on Windows, Mac, Linux, Android, and iOS.
-
Introducing TeaScript C++ Library
It's a very old project and a VERY basic engine. TBH, engines like godot do a much better job, have their own scripting language (to hide away C++), but still let you write some native code if need be. For TeaScript, I'd be more interested in using it to have a more dynamic pipeline for this project, but performance there is absolutely critical since it can mean the difference between 2 minutes an 2 hours.
-
What are the hallmarks of well written and high quality C++ code?
Does it work as a drop-in replacement? I've got this project here where I'm looking to squeeze more perf from: https://github.com/define-private-public/PSRayTracing
-
I made a drop in replacement of `std::shared_ptr` to experiment with performance. It wasn't any faster. Why?
While working on a ray tracing implementation, I was interested in replacing out the usage of std::shared_ptr with something else. I've always been told that shared pointers are slow, and this is due to things such as reference counting. The original implementation of this ray tracer used shared pointers quite extensively in the rendering (hot path) code. I didn't want to deviate from the architecture for my implementaiton . Mostly, the pointers are passed around as const-ref objects.
-
Question about branch prediction for clauses that are either `true` for 100% of the time, or `false` for 100% of the time.
Last year I was working on an implementation of the Ray Tracing in one Weekend book series. I noticed there was a fair amount of sub-optimal code in it, so I took the opportunity to rewrite parts of it to be better optimized. One of the other things I added to the CMake configuration were some compile time flags that could be toggled ON/OFF, as to use either the books code, or my code. e.g. WITH_BOOK_AABB_HIT=True, it would use the books' method AABB-Ray intersection. False, it would use my (faster) one. This allowed anyone else to download the code, toggle the change and easily see the effect it had on performance.
-
Stories of what happened when you forgot to initialize a variable
Here's my implementation: https://github.com/define-private-public/PSRayTracing It's different, mainly in structure (cleaner) and that it's much more performant. It also allows you to either use the code I wrote (typically faster) or the book's methods with the flip of a compiler flag.
TermGL
Posts with mentions or reviews of TermGL.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-28.
-
Stop scanf from waiting for the user input
Non-blocking IO is probably your best bet. As someone who's spent a while programming for the command-line, I actually implemented a non-blocking read function for both windows and *nix, the output of which could simply be passed to sscanf. Take a look at the tglutil_read function from line 1092 here
- I created TermGL: A Cross-Platform 2D & 3D Graphics Library in the Terminal
- TermGL Release 1.0: Cross-Platform Graphics in the Terminal
-
I'm giving out microgrants to open source projects for the third year in a row! Brag about your projects here so I can see them, big or small!
TermGL is my open-source terminal graphics library, capable of both 2D and 3D color ASCII graphics in the terminal. It's written in C and only uses the standard library, so using it is really is as simple as importing the source files and compiling them.
- Created a terminal-based 3D graphics library written in C (/r/C_Programming)
- Peeps I found a cool use for your GPU accelerated terminals!!!
- Created a terminal-based 3D graphics library written in C