Raytracing (started by Bplus) - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Prolific Programmers (https://qb64phoenix.com/forum/forumdisplay.php?fid=26) +---- Forum: MasterGy (https://qb64phoenix.com/forum/forumdisplay.php?fid=45) +---- Thread: Raytracing (started by Bplus) (/showthread.php?tid=3216) |
Raytracing (started by Bplus) - MasterGy - 11-18-2024 Hello! It's not qb64, but it started from here. A few years ago, Forum member Bplus shared a raytracing code with us. I will paste this here. I really liked this and tried to find the points in the program where the camera view can be adjusted and a real-time 3d world can be walked around. I managed to do it here in qb64, but unfortunately the processing is slow and I stopped. For a few months, I have been studying the b4a developer, in which you can write for Android in the basic language. I only want to show this now because it started with these few lines of code. If I didn't come across the code then, I might not have written this program either. The program runs beautifully on an Android device, and you can perceive the depths in 3D with cheap VR glasses available for phones. Thank you Bplus in retrospect! Code: (Select All)
APK (installer to android) https://drive.google.com/file/d/15qqP9Y_u8vukoX6eLB8LuSW2gEe7-MPc/view?usp=sharing RE: Raytracing (started by Bplus) - bplus - 11-18-2024 @MasterGy wow! nice even have music that goes with it! That code came from Paul Dunn of SpecBas and he might have gotten it from someone else too! Update: Paul Dunn sure like the mods! |