Тёмный

Make Your Own Raycaster Part 3 

3DSage
Подписаться 114 тыс.
Просмотров 61 тыс.
50% 1

Finally part 3! I made this because it’s fun and I enjoy making videos but also because of your strong support, comments, likes, and subscribes. And I hope this answers a few programming questions I see in the comments and that it inspires you to program!
Let me know what you want to see next!
Links
Install OpenGL: • Install Dev C++ and Op...
Tutorial 1: • Make Your Own Raycaste...
Tutorial 2: • Make Your Own Raycaste...
Itch.io textures: itch.io/game-assets/tag-textures
Air: link coming soon
Thank you for watching and I hope to see you next time! Subscribe to be notified.
Github: github.com/3DSage

Игры

Опубликовано:

 

28 окт 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 269   
@3DSage
@3DSage 2 года назад
I just added this v3 code to my github! I still recommend following along with the video but the code is available to help you!
@tristanmisja
@tristanmisja 2 года назад
I think you should make a shorter part 4 implementing a UI and making levels bigger, and then move on to actual 3D
@laky2k866
@laky2k866 2 года назад
Completely agree on that one! Maybe also add shooting and a life system, or maybe loading levels from a file. But I'd also like to see a 3D engine too!
@3DSage
@3DSage 2 года назад
I like that idea! Sounds good to me :)
@tristanmisja
@tristanmisja 2 года назад
@@3DSage Alright, thanks for the great content!
@Rittberger.
@Rittberger. 2 года назад
@@3DSage if it possible make tutorial for color lights like in your GBA demo (very interesting effect). And do you how to create mirrors, portals? Your work is very helpful and appreciated.
@Fulbion
@Fulbion 2 года назад
and a debug mode if you don't want monsters attacking you xD
@qatartkt6287
@qatartkt6287 2 года назад
Hey, you actually should explain the 'large constant', 108.0 in your case for the sprites drawing. The rest of your tutorial is excellent !
@mateuscardoso3207
@mateuscardoso3207 7 месяцев назад
i also want to know
@emmyw6587
@emmyw6587 2 года назад
Stoked to see a part 3! Fantastic editing as usual! Your explanations of code where you show it incomplete and "break" it on purpose to show a next step where you fix it in a sort of iterative way is super helpful as a learner. I agree with other commenters that UI would be a great next video. Also your cat is so cute, not that that needs to be stated but love all the cat pics and animations.
@TonyMamacos
@TonyMamacos Год назад
Thank you, this was an awesome tutorial! I have done this all before in the past, but I really enjoyed how you took us on a journey from start to finish on a raycasting engine.
@aquanton
@aquanton 2 года назад
Can't wait for part 4!
@HexOverride
@HexOverride 2 года назад
Finally a part 3!
@StannyObelisk
@StannyObelisk 2 года назад
This is so awesome. It's all the information I need to hopefully implement this in Java. Cheers for the amazing series :)
@andixpiwi8325
@andixpiwi8325 2 года назад
This upload was a Blessing from the Sage
@Xilefian
@Xilefian 2 года назад
GIMP can export to a .C source file of RGB arrays, so you didn't need to do the text editor work
@Xilefian
@Xilefian 2 года назад
The other thing you can do in GIMP is map tileable to automatically make the sky background tiled
@3DSage
@3DSage 2 года назад
Good to see your comment! I'm glad you saw my video. And that is good to know and I might update the description to say that. Once I found a way that worked, I kept that method but I assumed there was an easier way.
@flamshiz
@flamshiz Год назад
I've spent the last week trying to cobble together a ray caster using disparate tutorials and I kept running into problem after problem. miraculously, your series noted and corrected each problem I was running into. amazing. thank you. wolfenstein clone, here I come
@tristanmisja
@tristanmisja 2 года назад
This video being released made my day :) Also, the parts with the cat are cute.
@3DSage
@3DSage 2 года назад
Reading this made my day! And thank you, my cat is becoming more popular than me.
@bananaramaman9031
@bananaramaman9031 Год назад
Following along to this tutorial has been great! I laughed way too hard at the 'water' sponsor. I really enjoyed this. Thank you.
@sharadkumarsingh4802
@sharadkumarsingh4802 2 года назад
Long waited episode! Thank you, amazing video
@3DSage
@3DSage 2 года назад
Thank you!
@wackyswacky1374
@wackyswacky1374 2 года назад
This is high quality content that deserves _all_ the views.
@TheAlexgoodlife
@TheAlexgoodlife 2 года назад
How was that "108" number in the sprite screen coordinates calculation derived. That whole projection doesn't work for me and I cant figure out the maths behind it
@Saw-qv3bl
@Saw-qv3bl Год назад
The only RU-vid that can make air look like a drug. Great tutorial!
@KlaasDeforche
@KlaasDeforche 2 года назад
Ooooooh man I've been waiting for this. Awesome.
@matthewhodge1779
@matthewhodge1779 2 года назад
I haven't watched yet, but I'm so excited to see it posted I just had to say thanks. I followed the first two, but coded in a different language, forcing myself to actually write and understand the code.
@fazmade
@fazmade 2 года назад
yes! this seems like everything i wanted to do myself but better!
@martin_j_ward1871
@martin_j_ward1871 2 года назад
this is great thanks so much for taking the time to make this
@3DSage
@3DSage 2 года назад
I like to hear that so thank you for saying it!
@tristanmisja
@tristanmisja 2 года назад
Thanks a ton for this!
@kei-5721
@kei-5721 2 года назад
This guy deserves a lot more than this
@briankarcher8338
@briankarcher8338 Год назад
You make great content. Earned subscribe. Good job! Raycasters always fascinated me but I don't have the skills to create one myself :(
@3DSage
@3DSage Год назад
Thank you! I am glad you enjoyed my video!
@nuggiewuggiemusic
@nuggiewuggiemusic 2 года назад
We need a tutorial to add music in it. (MIDI/Tracker music)
@3DSage
@3DSage 2 года назад
I wanted to add simple sounds but this video was getting longer than I wanted but I can make a part 4 if people want to see more!
@nuggiewuggiemusic
@nuggiewuggiemusic 2 года назад
@@3DSage No, like gba music. You need to learn that. And also im ready for the GBA programming tutorial.
@AuDHDQ
@AuDHDQ 2 года назад
wow I'm glad I found this channel
@3DSage
@3DSage 2 года назад
I'm glad this channel found you too! Welcome
@waltercisneros9535
@waltercisneros9535 6 месяцев назад
I love your channel!
@busterdafydd3096
@busterdafydd3096 2 года назад
Do more like this. I want to see you make some crazy bots, but make larger levels
@NeilRoy
@NeilRoy 2 года назад
Very nice! If you do decide to do OpenGL, I think an important aspect of that which is not often covered which leads to problems is how data is represented in code and most importantly, the need to have a camera. I will often see old code with things like heightmaps which read them in at runtime and then the player's point of view is represented by three separate variables etc. Where as storing the levels 3D data before runtime and having a proper camera which represents the player's point of view is vital when it comes to optimizing things later on (like frustum culling etc which needs that camera's point of view, rotations etc). Seen LOTS of bad tutorials in the past. It would be interesting to see a series on a modern 3D engine, starting off simple and adding to it over time in future episodes.
@arnocr01
@arnocr01 Год назад
Would love a raycasting part4 and definitely want to see a quake style 3d series.
@bratworst
@bratworst Месяц назад
I feel dumb not realizing that the 158 for the floor code was a magic number. You literally said it. Took me weeks to figure it out
@DeathAtYourDoorStep
@DeathAtYourDoorStep 2 года назад
bruh finally, i was waiting for this
@heloxiii8894
@heloxiii8894 2 года назад
thanks for these 3 tutorials perhaps add water, powers (force push, run). Maybe it's even feasable to add floors.
@ry4n.bg6
@ry4n.bg6 2 года назад
yay part 3
@jonnybonbon91
@jonnybonbon91 2 года назад
I definetly think there should be a part 4, with shooting and I dunno something else. There should also be a video about porting it to the gba Edit: or other consoles, i found that using libgl2d and the nds is easy, and another suggestion is adding multiple layers for the raycasting, so we can have taller rooms.
@sampooja5709
@sampooja5709 Год назад
Yees
@joketoassfnf
@joketoassfnf 5 месяцев назад
Or atleast models n gravity and maybe an 2nd floor
@AChannelFrom2006
@AChannelFrom2006 2 года назад
I once made my own format that a similar thing as PPM (didn't know PPM existed) that you could also choose the width and height in pixels of the final image. The difference it is gives a 6 digit hex code for each of the colours. Even after using base 226 (most unique characters I could get into a text file), the output file would end up much larger than the original image.
@azekilldiablo9315
@azekilldiablo9315 2 года назад
Here I am, currently trying to implement half height blocks lol It's very hard to get the floor/ceiling piece to show at the right height and have the right shape. I'll work it out eventually, but if you ever happen to make a part 4, that + taller levels would be lovely. Also annoying to make. But lovely.
@Jeakerek
@Jeakerek 2 года назад
I love the video. Id love to see the implementation of the ray caster on some obsucre and underpowered hardware, like raspberry pi pico, or maybe even something like esp32, with those cheapo spi displays + maybe implement touch functionality or add buttons to make super tiny console!. EDIT: I jsut watched your newest video on Thumby, love it
@dawsonpate7385
@dawsonpate7385 7 месяцев назад
I've made this on an esp32 following this tutorial. It has its ups and downs and needs a lot of optimization
@joostvandenbrink3566
@joostvandenbrink3566 2 года назад
Very nice series - thanks! It's amazing how much effect you create with how little code. And love your cat of course!! If you ever make a part 4 I'd definitely watch it :) Two questions haunt me and make me pull out my hair: 1. how do you derive the magic number 158? I notice the hint about half the screen width divided by tangent of half the fov, but then still I get results that aren't even near 158... 2. similarly, where does the large constant 108 come from in the projecting of the sprites ?
@marcioflavio4978
@marcioflavio4978 Месяц назад
yeah, this mf doesn't explain anything, comes up with magical numbers, and writes bad code that doesn't even compile. impossible to follow this tutorial
@phinblue4989
@phinblue4989 2 года назад
yes yes! YES! ITS HERE
@jankkhvej434
@jankkhvej434 2 года назад
adding noise to the pixel art is the most cursed thing i have seen in game dev tutorials
@3DSage
@3DSage 2 года назад
It feels like a PlayStation 1 game to me. I totally see both sides. Clean also looks nice.
@LetThereBeMayhem
@LetThereBeMayhem 2 года назад
Return of the Legend!
@Fulbion
@Fulbion 2 года назад
Make a part 4! It really looks like Wolfenstein, but you need to add tables, slopes, polygons, decorations, etc. I hope you'll make a part 4.
@Myako
@Myako 2 года назад
I would definitely love to see you continue this series, and eventually move to a 3D engine. So, I want it all. Your videos are far too informative and entertaining to think otherwise. ☺️
@zozodejante8350
@zozodejante8350 2 года назад
Hell yeah I want a big fat actual 3d renderer tutorial
@electronscape
@electronscape 2 года назад
have a Part 4 with directional Sprites and see through walls? this is AMAZING!
@Fulbion
@Fulbion 2 года назад
Seeing through the walls... You mean windows? Or x-ray 😂...
@electronscape
@electronscape 2 года назад
@@Fulbion Windows... i have to do two passes to do this... i guess this is the only way to do it? either way... AMAZING work
@Luke173
@Luke173 2 года назад
Love the cat!
@randomcommenter10_
@randomcommenter10_ 6 месяцев назад
It would be so awesome if there was a Baldi's Basics remake in the raycaster engine, would make more sense too since Baldi is inspired by edutainment games from the 90s that used it
@ReBufff
@ReBufff 2 года назад
Finally!!!!!!
@pweddy1
@pweddy1 2 года назад
I just watched Dr. Sleep and that “Air commercial” takes on a whole different meaning after seeing that.
@adamgustafsson7703
@adamgustafsson7703 Год назад
Pure gold.
@robotrick6891
@robotrick6891 2 года назад
I would love to see you programming your own 3d engine from scratch. I have tried it myself and I think it would be really interesting to see you doing it.
@3DSage
@3DSage 2 года назад
I love 3D engines and I feel I could explain it well so I will do it if enough people want to see that!
@Clasped003
@Clasped003 2 года назад
@@3DSage yea please would really love to see this! All the stuff you are working on is literally everything im trying to learn in c right now lol
@PegaFox
@PegaFox 2 года назад
That would be fantastic
@acatisfinetoo3018
@acatisfinetoo3018 Год назад
I have been following your ray caster series from the beginning....and i hope you contiune with a part 4. I have been wondering how to get higher resoluaiton textures without crushing the frame rate put this is my first intro to raycasting so i am happy just to get the basics working:)
@3DSage
@3DSage Год назад
Thank you for saying that! I'm so glad you followed all 3 videos and yes I do want to add so much more so this might need a part 4! :)
@phinblue4989
@phinblue4989 2 года назад
Yes I love it get MORE sponsors
@yonimeller
@yonimeller 2 года назад
Although this series is good for beginners, there's a bunch of things in this tutorial that I think could be improved if you ever decide to revisit this topic or just do other tutorials in general: - There's a lot of telling the viewer to do stuff, but not actually explaining why or how. I think it's important to teach the viewer what the code they're writing actually does, instead of just making them blindly follow the instructions. - There's a lot of hardcoding here. This doesn't allow for scaling this tutorial too much. - You're using outdated libraries and standards like Glut and legacy OpenGL code. - Why not use a proper code editor like VSCode that can actually detect errors in your code and show them to you? - You should also work on how you name your variables.
@pfannkuchengesicht42
@pfannkuchengesicht42 2 года назад
The code style in general needs a lot of work.
@depthsofdejenol8026
@depthsofdejenol8026 Год назад
i think these tutorials are excellent for people who are already somewhat familiar with c++ and graphics concepts, these tutorials are clear but not really for beginners who need to learn from scratch
@yonimeller
@yonimeller Год назад
@@depthsofdejenol8026 This tutorial was clearly made for beginners as it puts effort into breaking down concepts into very simple and digestible forms while most advanced graphics tutorials will usually dive into theory for entire episodes. What you're describing is exactly my point, in order to get around the things I mentioned *you need* to already be fluent in C++ and notice where the creator has made mistakes. In other words, it's a tutorial meant to target beginners yet can only be fully grasped by moderately experienced coders.
@skejeton
@skejeton Год назад
i disagree with editor/libraries/names aside from the hardcoding part, i usually don't mind that in tutorials but it also kind of doesn't make sense that the player collisions and the enemy collisions are handled in different spots
@AllisimaProductions
@AllisimaProductions 6 месяцев назад
What exactly makes VSC a more "proper" editor? is it the increased amount of corporate BS and spyware infused into it?
@freedoomer2524
@freedoomer2524 2 года назад
i think you should do 1 or 2 more parts, making UI and making weapons and an inventory.
@xmoex6393
@xmoex6393 7 месяцев назад
@3DSage I loved it! I followed along using SDL2 instead of OpenGL (out of lazyness 😅): works like a charm... Except for sprites and floor moved in the opposite direction but it was an easy fix... I already peeked into the making doom series and I would love to see this BSP thing happen!
@treudden
@treudden 6 месяцев назад
My sprites only stay in place correctly when my player's angle is 1.571 (90°), do you have any idea what could cause this?
@xmoex6393
@xmoex6393 6 месяцев назад
@@treudden I think at one point I had to flip the y direction...
@treudden
@treudden 6 месяцев назад
@@xmoex6393 yeah I managed to fix it. Something was wrong in the x and y position of the sprite so I had to flip it
@xmoex6393
@xmoex6393 6 месяцев назад
@@treudden Great! You should try the two doom-like follow-ups, they're great!
@justbob10
@justbob10 2 года назад
These tutorials have been very helpful, and I look forward to seeing how to make a 3D game!
@3DSage
@3DSage 2 года назад
Thank you! That will be the next series!
@OrangeDied
@OrangeDied 2 года назад
I can't wait for the chair sponsorship.
@3DSage
@3DSage 2 года назад
That's a great idea! :)
@Jib9001
@Jib9001 2 года назад
I really appreciate this series of videos, I've always wanted to understand the basics of graphics programming. I've made games using game engines in the past, but this is exactly the style and speed of video I needed to get my feet wet
@yonderman3965
@yonderman3965 2 года назад
can you do more about this like maybe do how we play with lighting or how we make things fade in or out as we walk up to them. Also doing how to implement things like a gun just look in doom. Also how do we increase the resoloution like you said at the end of the video? How do we make inclines? Think theres tons more you can teach us about this!
@atahualpaarias1840
@atahualpaarias1840 2 года назад
I'm implementing my own raycast system in a 2dgame engine, thanks for the help!
@3DSage
@3DSage 2 года назад
Hey that sounds awesome! I hope to see it!
@atahualpaarias1840
@atahualpaarias1840 2 года назад
@@3DSage The code is a mess hshs. I'm using lua and love2d. Your videos have been of great help
@mikkoiranen
@mikkoiranen Год назад
Wow, this was so awesome. 😯 What do you think would be needed to make a similar raycaster for DOS?
@realmasscry
@realmasscry 2 года назад
Hello! If I remember correctly, GIMP is able to export to C source and header files directly. I have used that feature a lot.
@flamshiz
@flamshiz Год назад
THIS IS AN INCREDIBLE TIP OH MY GOD
@son_VegenKs
@son_VegenKs 2 года назад
Let's gooooo
@monchytales6857
@monchytales6857 Год назад
what exactly is "a large constant" on the line in drawSprite function that reads (sx*108.0/sy)+(120/2) I get that (120/2) is suppose to give you the center of the screen, if you wanted (sx*108.0/sy)+(120/2) to give you an object in the middle of the screen then (sx*108.0/sy) should yield zero, however if I'm trying to scale this up to different resolutions I can't figure out what 108.0 is, no value I try to swap it out for seems to work
@Sohodollie
@Sohodollie 5 месяцев назад
Did you get any luck with this issue? I'm trying to do different solutions and I can't for the life of me figure out what numbers I need.
@emanuelerogledi5504
@emanuelerogledi5504 2 года назад
Your sponsor is very funny :)
@TheTr1ikky
@TheTr1ikky 2 года назад
great video! But does anyone know how did he pick the "large constant" 108 while drawing the sprite?
@willyarma_uk
@willyarma_uk 2 года назад
it appears to be (54/FOV) * screen width. But I've no idea where 54 comes from, I haven't figured that out yet.
@monchytales6857
@monchytales6857 Год назад
@@willyarma_uk 10/10 bro, that solved my problem, don't forget to set it as 54.0/FOV*screenWidth, if you use ints it'll round itself right into the center of the screen
@mateuscardoso3207
@mateuscardoso3207 7 месяцев назад
@@willyarma_uk What is FOV ?
@Sohodollie
@Sohodollie 5 месяцев назад
How is FOV calculated? I have a weird screen size and the 108 number just isn't working@@willyarma_uk
@stevemuller3324
@stevemuller3324 Год назад
This was amazing. Thank you for blowing my mind. I always thought game engines were literal wizardry. You put assets into this magical Horadric cube, and out come all the assets in the right places for a game. Now I understand it is all maths and programming. Really appreciated
@Adamthegeek70
@Adamthegeek70 2 месяца назад
I would love to see variable height walls & floors. and animated textures like water or lava for a floor.
@susu5331
@susu5331 2 года назад
This video is soooo wonderful (just as always), although I do have a small suggestion: It would be really nice if you can write a simple tool to allow dragging a bunch of .bmp files into a batch file and do the conversion (including making them arrays). I wrote a simple multi-threaded script using Python and a batch file to pass the file directories as arguments but it uses Python and a two 3rd party libraries so it's not very fast to setup for non-Python people... (btw: You make the BEST tutorial videos ever, I've never felt so comfortable learning stuffs in C)
@Maleriandro
@Maleriandro 2 года назад
Maybe is too much for the next episode, but i sould love to see how to make levels with more complex rooms, not only a grid like wolfestein, but something more like doom (but a lot more simple). I love this videos, thanks for sharing your knowledge with us!
@zlobr2020
@zlobr2020 2 года назад
doom doesn't use raycasting, it uses binary space partitioning
@osvaldousielbarreraolivar5848
@osvaldousielbarreraolivar5848 2 года назад
Buen video 👌
@3DSage
@3DSage 2 года назад
Gracias!
@phinblue4989
@phinblue4989 2 года назад
Please add these things to part4: Ui, Shooting, Lifes, Bigger levels, Score
@3DSage
@3DSage 2 года назад
Great ideas! That would be fun to add to this :)
@bioman1hazard607
@bioman1hazard607 2 года назад
When I saw the air sponsor, I was relieved that it wasnt a comercial for drinking hydrogen peroxide
@suryajaya5889
@suryajaya5889 2 года назад
thanks for Tutorial, Please make console Logging system, if you make to Part 4
@aboudi0507
@aboudi0507 2 года назад
I’m so excited for air.. does it come with a case? lol
@nebulaayt
@nebulaayt Месяц назад
came for the cat, stayed for the cat❤
@shrippie-4214
@shrippie-4214 2 года назад
Ayyy i'm in the video
@3DSage
@3DSage 2 года назад
Thank you for your comments! :)
@anthonywayner8734
@anthonywayner8734 Месяц назад
Lived the wham song...
@sajberkg
@sajberkg 2 года назад
We want guns in part 4!! and UI! :D
@serloinz
@serloinz 2 года назад
man..you are killing me with the heightH haha
@PaintedZeus-
@PaintedZeus- 2 года назад
Part 4 :D
@andolo6467
@andolo6467 2 года назад
Raycaster Part 4 please
@squareeyes7386
@squareeyes7386 2 года назад
YES!
@hungariannerd8445
@hungariannerd8445 10 месяцев назад
im implementing this on a simple 2D enemy
@SDFTDusername
@SDFTDusername 2 года назад
is there any way to embed or include glut into the program? not sure if people really want to download other programs to make a program work
@bilyez
@bilyez Год назад
Add a textured slabs and a raycaster-only screen please!
@sajberkg
@sajberkg 2 года назад
oh and maybe height and stairs! Like doom! In part 4
@sdsdfdu4437
@sdsdfdu4437 2 года назад
I think you should make a part 4 showing how to implement "thin" walls/doors. For example, you'll notice that in Wolfenstein 3d, doors were halfway into the tile.
@monchytales6857
@monchytales6857 Год назад
99% sure those were just solid sprites that moved when activated
@kellymountain
@kellymountain 7 месяцев назад
@@monchytales6857 actually, those are just walls that are offset in order to look like doors, and depending on how open the door is the ray cast will pass through the door and to the rest of the level
@monchytales6857
@monchytales6857 7 месяцев назад
ah yes I see that now, thank you @@kellymountain
@toao_rainys
@toao_rainys 2 года назад
yo, as a complete beginner in both c++ and opengl. i'm wondering how would you go about making the game fullscreen and stuff. adding weapons, making enemies shoot you and creating a menu.
@cosmicrdt
@cosmicrdt 2 года назад
It's called "magenta" btw. Great video!
@3DSage
@3DSage 2 года назад
I thought about that after I recorded the vo haha. Yes you are correct.
@Joseph21-rz8gl
@Joseph21-rz8gl 5 месяцев назад
Any chance of there being a part 4 of this series?
@geraforever796
@geraforever796 2 года назад
I wish you had a tutorial on ray marching
@nerdgamer9754
@nerdgamer9754 2 года назад
I would love to see Quake on GBA!
@3DSage
@3DSage 2 года назад
Great Idea! Yes me too :)
@0xva
@0xva 2 года назад
The whole gimp and notepad thing would be so easy to do in the terminal.
@3DSage
@3DSage 2 года назад
That is good to know! Let me know alternative ways and I can add it in the video description.
@0xva
@0xva 2 года назад
@@3DSage I'll comment the code but youtube seems to delete my comments if i do. Anyway, is just using convert from imagemagick to turn the image into a ppm, then tail to remove the first lines, and lastly sed to properly format the file.
@bioman1hazard607
@bioman1hazard607 2 года назад
I'd love to see this on gba, or even ds
@3DSage
@3DSage 2 года назад
It's tricky to get even this code to run on the gba without a lot of optimizations which is something I'd love to show people! :)
@bioman1hazard607
@bioman1hazard607 2 года назад
@@3DSage well hey take your time, I can wait. Plus i may figure out some cool things to, like how to add a HUD;)
@hansdampfig1245
@hansdampfig1245 2 года назад
@@3DSage please, I'd love to watch a video how to get this running on limited platforms
@Calilechonkst
@Calilechonkst 8 месяцев назад
@@3DSageits been 2 years😭😭😭
@ryuqe787
@ryuqe787 Год назад
How to create constants and functions to use custom resolution? When I try to change it bigger than 960px for example 1366*768 the floors and walls lose the sync.. Also I want to use 64x64 size textures,. If I want to increase the texture width, I need more rays? RAYS_NUMS=SCREENWIDTH/8; RAYS_STEP=60/RAYS_NUM; formula for 2*158?
@nttn3666
@nttn3666 2 года назад
How about multi-level building or stairs, I wonder if it's could be done using this method
Далее
Let's Program Doom - Part 1
25:13
Просмотров 416 тыс.
3DSage Explains 3D
5:50
Просмотров 18 тыс.
Super Fast Ray Casting in Tiled Worlds using DDA
30:03
Просмотров 178 тыс.
Cheapest Bullet Time with a 9 Dollar Camera
6:59
Просмотров 286 тыс.
Doom engine - Limited but still 3D
6:57
Просмотров 538 тыс.
Every Paradox in 8 Minutes
8:05
Просмотров 4,1 млн
I Made a Fallout Watch for Open Sauce
12:42
Просмотров 17 тыс.
Wolfenstein 3D's map renderer
14:49
Просмотров 273 тыс.
How to Make a Good 2D Camera
11:38
Просмотров 395 тыс.
I Designed My Own 16-bit CPU
15:46
Просмотров 1,9 млн