|
5 years ago | |
---|---|---|
sdl/include | 5 years ago | |
stuff | 5 years ago | |
.gitattributes | 5 years ago | |
.gitignore | 5 years ago | |
README.md | 5 years ago | |
main.cpp | 5 years ago | |
threedee.sln | 5 years ago | |
threedee.vcxproj | 5 years ago | |
threedee.vcxproj.filters | 5 years ago |
README.md
threedee
concept for an uninformed 3d render/engine
keep in mind that i have never seen or worked with a 3d rendering system like this, i'm making it all up as i go along.
i was thinking one day and had an idea for making 3D. this might not be in a usable, or even recognizable, state at the time of reading, but i want to get it working at least a bit.
the idea is that you create a 3D cartesian coodinate space, create an "object/box" class that has accessible bounds and can be registered, then step set intervals in a direction for "raycasts" and inform each pixle of the screen by checking collision with the object registry.
you could alter the rendering so that the rays with longer distance are closer to the horizon (?), or change the pixle's color based on distance.