Author Topic: nGL - a fast (enough) 3D engine for the nspire  (Read 263469 times)

0 Members and 6 Guests are viewing this topic.

Offline ordelore

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +7/-0
  • Genius and Friend
    • View Profile
    • ordelore8x
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #255 on: May 07, 2014, 07:47:05 am »
Quote
Other dimensions

[/size]4D Minecraft? *.*
I am a friend.
I mine Bitcoins.

Offline GinDiamond

  • LV3 Member (Next: 100)
  • ***
  • Posts: 71
  • Rating: +2/-2
  • I dont always fail at life, but when I do, I dont
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #256 on: May 07, 2014, 08:16:51 am »
Its getting better and better man!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #257 on: May 07, 2014, 09:10:06 am »
Quote
Other dimensions

[/size]4D Minecraft? *.*
LOL even though that would be awesome, in this case it's about the Nether and the End. :P

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #258 on: May 07, 2014, 10:13:42 am »
Hum, due to our impossibility to interpret 4D environments, I don't especially think that would be awesome :P

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #259 on: May 07, 2014, 10:18:04 am »
It's interesting to think about extending the smooth randomly generated terrain to another dimension you can only see a slice of, though.
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #260 on: May 07, 2014, 10:18:42 am »
The Universe is infinitely dimensioned. :P Also if you remember my explanation, Time is a plane. We only perceive it as a straight line though but that's still 4D that we can perceive although our eyes only provide three. ;)

Offline nspireguy

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 158
  • Rating: +11/-6
    • View Profile
    • NspireGuy
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #261 on: May 07, 2014, 04:47:10 pm »
I think that a working crafting would be a essential part of the program!
and by the way this is AMAZiNG!!!

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #262 on: May 10, 2014, 12:58:02 pm »
I've got something unexpected for you: Monochrome crafti!
   

It also supports the clickpad. I added no new features, so please use v0.9 if you have a CX.
The red part dominates the pixel brightness, so water is black and lava bright, but everything should be recognizable.
I don't have a non-CX calc, so I couldn't test it on hardware, but it works in nspire_emu in clickpad mode. Touchpads should also work.
And BTW, I fixed some compiler errors if you were using nGL with SAFE_MODE without TEXTURE_SUPPORT. But AFAIK, nobody does.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #263 on: May 10, 2014, 02:21:02 pm »
Unexpected, but much waited for ;D

Nice work, I'm definitely downloading it now !

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #264 on: May 10, 2014, 04:01:24 pm »
Then please tell me if and how well it works! If it's not too bad I might add some texture preprocessing so it looks a bit better.

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #265 on: May 10, 2014, 04:50:27 pm »
I hope the blur isn't too bad; I tried nDoom on a friend's non-CX calc and it was really hard to tell what was happening.
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #266 on: May 10, 2014, 04:54:35 pm »
So everything works as far as I've tested things (Ndless 3.1 r914) ; the blur is indeed very annoying (but can get better if you fiddle with the contrast), and it would be cool if you could diffuse brightness equally according to the whole pixel and not only what seems to be the red channel. I'm pretty sure I saw a formula for converting RGB colors to an arbitrary gray level, but IIRC it implied 3 floating-point multiplication - I'm pretty sure you can deal with it with fixed-point though.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #267 on: May 10, 2014, 04:56:30 pm »
So it's okay to play with? If not I'll abandon monochrome crafti.

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: nGL - a fast (enough) 3D engine for the nspire
« Reply #268 on: May 10, 2014, 04:58:07 pm »
I hope the blur isn't too bad; I tried nDoom on a friend's non-CX calc and it was really hard to tell what was happening.
Yeah I had this problem, although for me nDoom ran slightly slower than other platforms on the clickpad so that kinda solved my blurring issue. gbc4nspire, on the other hand, was completely unplayable with some games. Blame TI :P

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #269 on: May 10, 2014, 05:29:41 pm »
This should look a bit better. There are some issues, but it works well overall.
Weirdly, even though I set 16-bit mode and each pixel is 16-bit wide, only the lowest 5 bits are used. So it wasn't red, but blue...