Create My Account
Login
EN
EN
FR
PL
DE
IT
PT
RU
ES
Settings
Profile
Stats & Achievements
Logout
Create Account
Quit and Delete
Back
3d voxel world raytracer
20
3d
raytracer
raycaster
ray tracer
ray caster
demo

microscript

Please use the transpiler to run this much faster: https://microstudio.io/this_name_is_taken/voxelraytracer/#transpiler . WASDQE and arrow keys for movement, O for options, H to hide message


Demo of a pretty fast voxel traversal algorithm (basically, an algorithm that traverses a world made of cubes by calculating intersections with the sides of the grid). More on the algorithm and it's source here: https://microstudio.dev/community/resources/list-based-raycasting-resource/239/


About the textures:

(I designed the minecraft-style textures myself using a pallete and the 'enhance' tool in the editor ^-^. Also, please note that the below textures are free for personal and commercial use.)

Stone texture: https://www.wildtextures.com/free-textures/big-stone-blocks-wall-4k-seamless-texture/

Granite texture: https://freestocktextures.com/texture/black-grunge-wall,1304.html

First published on 10/21/2021

Last modified on 7/8/2022

Comments

October 21, 2021
TinkerSmithCode Ninja

As always, impressive :)

October 26, 2021
Masapotatus

Nice textures

February 5, 2023
griffpatch

Wowsers! This is amazing :)

September 26, 2024
SeeYaLater303

Very good! :)

October 1, 2024
GronolaBerry

COOOOOOOOOOOOOOOOL!!!! With the screen enhancing what I'm seeing it felt like I was INSIDE MY COMPUTER!!!!

Log in to post comments

  • Code

  • Sprites
  • 1_main
    2_raycaster
    3_functions
    4_options
    הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Start creating


    Create as a guest

    Start using microStudio without creating an account.


    Create my account

    Save your projects, work in teams, publish, vote, comment...


    Login

    Log in to your existing account.

    Registered User





    Forgot password?



    Don't have an account yet?

    Create my account

    Password Recovery






    Back to login

    New User







    Terms of Use


    Already registered?

    Log in to existing account

    Create New Project




    Advanced

    Project Type

    Language support

    Graphics library

    Networking beta

    Create online multiplayer games using a client/server networking model

    Additional tools and libraries

    Note: this integration is experimental

    Note: this integration is experimental

    Some text
    Cancel
    OK
    Example Bubble Text
    Tutorial
    Run