Yes, I used ray marching (not tracing). If you'd like to read the code, please find it in this video's comment section; I replied to someone who wanted the code before.
I'm sorry but it seems that I've lost this file 😔 I guess it's about 200 lines of code. It consists of 2 parts: raymarching and converting calculated color to a character based on its density. Generated characters are stored in a string, which makes it possible to print thousands of characters without flickering. Additionally, you should move the cursor to (0, 0) and then overwrite instead of clearing the whole screen.
@@timetoplay4614 drive.google.com/file/d/1yAAMlRpcSe-jnLigRRUJr8UNsZ1rfi3t/view?usp=sharing This example program is single-threaded unlike the one in the video because I don't want it to be too complicated. If you would like to make it run faster with higher resolution, you can split the iteration part and assign each calculation to a thread.
Hi, I must apologize that I could not find the original file because it's been a long time since I uploaded the video. I rewrote the code partially, so I hope this is good enough to show you the main idea of the program: github.com/Suikaaah/ConsoleRayMarcher Also, you can make repetitive patterns with mod function. (There are a lot of websites which explain about it; You might want to check them out!)
@@th3ta Yes, it is. But the performance may decline compared to C++. By the way, you can make it by implementing ray marching. Declare a vector whose initial point is an eye(camera) and terminal point is a pixel. Lengthen it until it hits an object and then get color of the intersection. Do the same thing for all pixels and it will work.
This is beyond cool
Fr
This looks soo awesome that it feels impossible
Great work
I like the look of the custom Gnome desktop. Cool code btw!
This is really impressive.
Did you use libCACA or your own renderer ? really cool btw.
Pressure pretty prefer awesome
this is amazing!!!
Did you use ray tracing or mathematical computations to render the scene?
Yes, I used ray marching (not tracing).
If you'd like to read the code, please find it in this video's comment section; I replied to someone who wanted the code before.
Hypnotizing
Amazing!
*C U B E*
wait this isn't the ps2 startup
I can't believe that is ASCII
This remind me of tesseract in Interstellar
How does it not flicker?
It overwrites instead of clearing the entire screen.
@@suika635 pls teach me
Yo where that github url at though..?
Hey can you give the source code for this?
I'm sorry but it seems that I've lost this file 😔
I guess it's about 200 lines of code.
It consists of 2 parts: raymarching and converting calculated color to a character based on its density.
Generated characters are stored in a string, which makes it possible to print thousands of characters without flickering.
Additionally, you should move the cursor to (0, 0) and then overwrite instead of clearing the whole screen.
@@suika635 Can you please provide the code for at least one cube rendering? I need this for my university project. Plz😭
@@timetoplay4614 OK, I'll rewrite it when I'm at home
@@suika635 Thank you so much ❤️🩹
@@timetoplay4614 drive.google.com/file/d/1yAAMlRpcSe-jnLigRRUJr8UNsZ1rfi3t/view?usp=sharing
This example program is single-threaded unlike the one in the video because I don't want it to be too complicated.
If you would like to make it run faster with higher resolution, you can split the iteration part and assign each calculation to a thread.
Repo link please. This is awesome btw.
Hi, I must apologize that I could not find the original file because it's been a long time since I uploaded the video.
I rewrote the code partially, so I hope this is good enough to show you the main idea of the program:
github.com/Suikaaah/ConsoleRayMarcher
Also, you can make repetitive patterns with mod function.
(There are a lot of websites which explain about it; You might want to check them out!)
@@suika635 no issues and thanks for sharing the link 👍
How?
Btw is C# capable of this
@@th3ta Yes, it is. But the performance may decline compared to C++.
By the way, you can make it by implementing ray marching.
Declare a vector whose initial point is an eye(camera) and terminal point is a pixel. Lengthen it until it hits an object and then get color of the intersection. Do the same thing for all pixels and it will work.
@@suika635 Thx. You've done great work
yeah, what else.