3D SW Renderer From Scratch in Java (#1) - Wireframes
Автор: Rodrigo Cucick
Загружено: 2019-08-17
Просмотров: 769
I've decided to code my own 3D software renderer (rasterizer) from scratch, that is, writing every line of code necessary to display a scene containing the representation of 3D objects on the screen. I'm developing it using the Java programming language, without any external library or graphical feature from the language itself (except for obvious reasons, such as; creating a window and accessing its data buffer). It does not have any kind of hardware (GPU) acceleration feature, this implies lots and lots of optimizations as Java code is compiled into bytecode and then interpreted by the JVM.
As it is, the engine is capable of creating mesh objects by parsing external Wavefront (.obj) files, it can also rasterize the wireframe (1px stroke) representation of such meshes using orthogonal projection and a customized and optimized version of the DDA (Digital Differential analyzer) algorithm for line drawing.
A quick fun fact, due to the see-through nature of wireframe rendering combined with orthogonal projection and symmetry, it is easy to fall for an optical illusion and believe the model is sometimes reversing its rotation when in fact it's not, for some time I actually thought it was a bug on my rotation matrices routines.
Of course there is still tons of features to implement, and I do plan to implement them as time goes by, features such as; other types of projections, z-buffer, light, clipping, textures, filled faces, normals and so on.
As I'm focusing my studies on Computer Graphics and the Mathematics behind it, I plan to work on it as a lifetime side project, coding and studying a bit here and there during my spare time.
I'll try to upload a video to this channel on every milestone reached.
I hope you are interested.
Thank you!

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: