DEV Community

Atvaster
Atvaster

Posted on

3d-rendering from scratch

github.com/Atvaster/3d-render
^^^
GO HERE FOR STUPID CODE

So far I have implemented:

  • Initialize and edit canvas element
  • 2d Line drawing
  • Filling 2d triangles
  • Project 3d points into 2d space
  • Create wireframe models such as cube
  • Animate wireframe

To do:

  • Create/fix z-buffer
    • Implement proper interpolation for z values when filling triangles
  • Generally optimize code
  • Introduce more complex shapes than cubes like spheres, pyramids, and planes(idk its complex for me)

About blog

I may or may not update this blog every once in a while when I do something cool.

Top comments (4)

Collapse
 
__f5f853d0 profile image
Makss • Edited

I also want to recommend a great company. I want to tell everyone about. Service 3D interior visualization, because 3D rendering service is very realistic and detailed helps to make different projects more detailed working them out, you can buy the best 3D interior visualization project in this company render-vision.com/ real professionals, will help you make a visualization of the apartment, office, or any other interior room on your building. Contact us, you will not regret.

Collapse
 
__ebe8d88b31fcf2 profile image
Mityai

A cool company, Thank you very much for recommending it, I will study it in more detail and contact them

Collapse
 
f53 profile image
F53

here is how you make a link in markdown

[GO HERE FOR STUPID CODE](github.com/Atvaster/3d-render)
Enter fullscreen mode Exit fullscreen mode
Collapse
 
atvaster profile image
Atvaster

Ah ok (Literally have never used markdown) (Would rather use html at this point rn)