Author Topic: Has anyone tried this? (Nspire raytracer)  (Read 4376 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
Has anyone tried this? (Nspire raytracer)
« on: March 21, 2010, 03:15:01 am »
http://www.ticalc.org/archives/files/fileinfo/426/42679.html

This looks pretty nice, but my Nspire is loaded with OS 2.0 ATM and I don't want to downgrade since the power management bug is annoying when you are in 84+ emulation mode, since I can't use reset.tns there. Has anyone tried it? Does it renders quite fast?

Offline JoeyBelgier

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 545
  • Rating: +25/-21
  • Joey
    • View Profile
Re: Has anyone tried this? (Nspire raytracer)
« Reply #1 on: March 21, 2010, 09:03:16 am »
When they call that 'A very basic ray tracer' O.O
Shit, soon we're gonna be able to play PSX on em :P

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Has anyone tried this? (Nspire raytracer)
« Reply #2 on: March 21, 2010, 10:28:57 am »
Can't you try it on the emu?
Former Coder of Tomorrow


Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Has anyone tried this? (Nspire raytracer)
« Reply #3 on: March 21, 2010, 10:30:19 am »
i havent tried to get the emu to work and i really do wonder how well this runs

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Has anyone tried this? (Nspire raytracer)
« Reply #4 on: March 21, 2010, 11:20:17 am »
Heh thats by my good friend bwang, and i've seen it run on actual hardware.  Renders in about 2 seconds ;D.  There is no interface though, as far as i can remember (unless he's changed things) so the only thing you will get is that screenshot, and the render engine to play around with if you wanted to.

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: Has anyone tried this? (Nspire raytracer)
« Reply #5 on: March 21, 2010, 01:35:15 pm »
that's him? Wow he sure got into Nspire dev rather quickly ^^, I wonder if he'll announce some of his projects on forums in the future? I wonder if he'll also mess with raycasting?

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Has anyone tried this? (Nspire raytracer)
« Reply #6 on: March 21, 2010, 01:47:08 pm »
Yeah i was tutoring him a little bit in raycasting, he's working on one right now i believe 8) The nSpirce sure is fast enough! ;D

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: Has anyone tried this? (Nspire raytracer)
« Reply #7 on: March 21, 2010, 02:33:05 pm »
Wow, that's really cool!  I was wondering if that was bwang... ;D

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Has anyone tried this? (Nspire raytracer)
« Reply #8 on: March 22, 2010, 01:50:10 am »
When they call that 'A very basic ray tracer' O.O
Shit, soon we're gonna be able to play PSX on em :P
Well, it is a basic raytracer considering it only supports spheres, one light source, and a single plane.
Also, it is rather rudimentary compared to the Java program I wrote a while ago:

(The speckles are because of the way the program renders the caustics and soft shadows. The program is attached in case anyone is interested in messing with the code.)

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: Has anyone tried this? (Nspire raytracer)
« Reply #9 on: March 22, 2010, 02:03:07 am »
mhmm that's interesting. I'll take a look at this :)

How do we run it, though? There's no JAR file ???

EDIT: Nvm, there's a HTML file and it's browser-ran. Wow that looks kinda nice. I wish ray-tracing was faster. It takes like 3 PS3s to render 1 fps raytraced images I think x.x

Btw do you have plans for other experiments for the Nspire or even games?
« Last Edit: March 22, 2010, 02:05:50 am by DJ Omnimaga »

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Has anyone tried this? (Nspire raytracer)
« Reply #10 on: March 22, 2010, 02:07:02 am »
I'm working on a raycaster right now. I think it will at least reach a 3D-Maze stage, and maybe even become a Wolfenstein 3D clone.

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: Has anyone tried this? (Nspire raytracer)
« Reply #11 on: March 22, 2010, 02:23:55 am »
nice I hope you keep us updated! I am happy to see more Nspire programmers. I hope eventually someone does some Axe-like language for the Nspire, so people who are more comfortable with higher level stuff can at least have something decent to code in. I would like to eventually do some games myself for it.

I'll be sure to try your stuff once it's out, or at least, when Ndless is made compatible with OS 2.0 (since I don't plan to downgrade again)