Author Topic: YAAR (Yet Another Assembly/Axe Raycaster)  (Read 38566 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #60 on: December 17, 2010, 06:59:16 pm »
Why do some raycasters slow down when close to walls (Bwang's Nspire raycaster, for example) while with others it's the total opposite? O.O

Also what do you mean by normalizing? Do you mean making the framerate the exact same no matter what?
« Last Edit: December 17, 2010, 07:12:12 pm by DJ Omnimaga »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #61 on: December 17, 2010, 07:12:14 pm »
Due to the textures being drawn, it takes more to draw a texture then it does to draw an untextured wall, so the more texture to draw, the slower it is.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #62 on: December 17, 2010, 07:13:18 pm »
Yeah, but I am really curious about why in Bwang's case, the raycaster, which has textures, gets considerably slower when you're close to a wall. ???

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #63 on: December 17, 2010, 07:15:35 pm »
Because the textures get correspondingly larger. They take up a large percentage of the screen, so the raycaster has to spend more time processing them.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #64 on: December 17, 2010, 08:14:30 pm »
Ah ok, but that still doesn't explain why in some raycasters, it's the total opposite, even if they still have textures... this is what I have been curious about for a while...

That said I misread Runer's posts. He said he ninja'd me a while ago, but I looked at the wrong post for an edit. I just saw the screenshots now and realized he meant to say his raycaster slows down too, when close to walls. I thought he meant the opposite.
« Last Edit: December 17, 2010, 08:16:29 pm by DJ Omnimaga »

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #65 on: June 21, 2011, 02:11:38 pm »
*Bump*
Did you ever figure out a way to normalize how long drawing a wall took?

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #66 on: September 18, 2011, 08:08:26 pm »
Don't count this project as down for the count yet. I'm sure it will be making a comeback eventually, and since I'm a much more skilled coder now than when I started this project, expect it to be faster/better. ;D

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #67 on: September 18, 2011, 08:45:04 pm »
more skilled coder now than when I started this project
is this even possible LOL.

gl/hf, can't wait to see how this turns out! (i haven't touched my raycaster for months :* )

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #68 on: September 20, 2011, 11:36:47 am »
I am glad that I wasn't accidentally necroposting :D
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline Ki1o

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 119
  • Rating: +5/-2
  • Doing my best...
    • View Profile
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #69 on: January 30, 2012, 06:16:35 pm »
Runer I was wondering if you could possibly release the source for an unoptomized Axe version?  If you have time maybe you can make a tutorial explaining it as well?

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #70 on: January 30, 2012, 06:20:00 pm »
He already did, for one version.
http://ourl.ca/13355
There isn't a tutorial afaict, but there's the source.
« Last Edit: January 30, 2012, 06:20:36 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Ki1o

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 119
  • Rating: +5/-2
  • Doing my best...
    • View Profile
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #71 on: January 30, 2012, 06:22:24 pm »
Thanks

Offline Ki1o

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 119
  • Rating: +5/-2
  • Doing my best...
    • View Profile
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #72 on: January 30, 2012, 08:53:15 pm »
Ok I looked at the source and was completely confused. Someone would have to explain what each line or routine does.

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #73 on: January 30, 2012, 09:00:49 pm »
Well, you say you are an inexperienced Axe coder? I wouldn't recommend looking at Raycaster code if you're just starting out, because that may confuse you. Also, this is Runer112's code. It is usually heavily optimized and hard to understand, because he's just a great coder like that. Not to discourage you, but this isn't exactly a beginners thing.
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline chattahippie

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +27/-0
  • Super Member! :D
    • View Profile
Re: YAAR (Yet Another Assembly/Axe Raycaster)
« Reply #74 on: January 30, 2012, 09:07:18 pm »
Here is a nice raycaster for beginners... you only have to store a picture to the OS var Pic3 (draw a pic on graph screen, then use StorePic 3)
Right here!
This is Squidgetx's raycaster, I could never make such a program :P

Good luck with your project  :thumbsup: