Omnimaga

Calculator Community => Other Calculators => Topic started by: DJ Omnimaga on March 21, 2010, 03:15:01 am

Title: Has anyone tried this? (Nspire raytracer)
Post by: DJ Omnimaga 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?
Title: Re: Has anyone tried this? (Nspire raytracer)
Post by: JoeyBelgier 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
Title: Re: Has anyone tried this? (Nspire raytracer)
Post by: Silver Shadow on March 21, 2010, 10:28:57 am
Can't you try it on the emu?
Title: Re: Has anyone tried this? (Nspire raytracer)
Post by: Geekboy1011 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
Title: Re: Has anyone tried this? (Nspire raytracer)
Post by: Builderboy 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.
Title: Re: Has anyone tried this? (Nspire raytracer)
Post by: DJ Omnimaga 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?
Title: Re: Has anyone tried this? (Nspire raytracer)
Post by: Builderboy 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
Title: Re: Has anyone tried this? (Nspire raytracer)
Post by: ztrumpet on March 21, 2010, 02:33:05 pm
Wow, that's really cool!  I was wondering if that was bwang... ;D
Title: Re: Has anyone tried this? (Nspire raytracer)
Post by: bwang 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:
(http://img249.imageshack.us/img249/5561/screenshotappletviewert.png) (http://img249.imageshack.us/i/screenshotappletviewert.png/)
(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.)
Title: Re: Has anyone tried this? (Nspire raytracer)
Post by: DJ Omnimaga 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?
Title: Re: Has anyone tried this? (Nspire raytracer)
Post by: bwang 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.
Title: Re: Has anyone tried this? (Nspire raytracer)
Post by: DJ Omnimaga 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)