Author Topic: Nspire Ray-Floor-Ceiling Caster  (Read 4068 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Nspire Ray-Floor-Ceiling Caster
« on: November 11, 2011, 12:15:04 pm »
I know that Builderboy made a decent raycaster, but since the caster made used of stairs, etc. it was too processor-intensive to including floor and ceiling textures.  If the area were entirely flat, is it possible to cast floors, walls and ceilings at the same time?  I read about how after a wall is drawn, the start-end coordinates of a ray of wall can be used to draw one ray of ceiling/floor

Thought it would be a fun ASM engine :)
« Last Edit: November 11, 2011, 12:15:41 pm by Hot_Dog »

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Nspire Ray-Floor-Ceiling Caster
« Reply #1 on: November 11, 2011, 12:34:27 pm »
that would be awesome
This used to contain a signature.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Nspire Ray-Floor-Ceiling Caster
« Reply #2 on: November 11, 2011, 03:21:44 pm »
I think you are thinking of Bwang, I never touched the nSpire :P

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Nspire Ray-Floor-Ceiling Caster
« Reply #3 on: November 11, 2011, 04:11:27 pm »
I think you are thinking of Bwang, I never touched the nSpire :P

I think you're right   :-[

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Nspire Ray-Floor-Ceiling Caster
« Reply #4 on: November 11, 2011, 09:26:14 pm »
Yeah Bwang made a floorcaster and a separate raycaster. Not sure how fast both together are, but the floorcaster seemed pretty fast. I think wall textures could be reduced or something and it should be fine.

It would require Ndless, though, (or a mega speed boost in Lua from TI) because in Lua, with no texture it runs at 5 fps.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)