Author Topic: 22 FPS 3D graphics on HP Prime! (sort-of)  (Read 17198 times)

0 Members and 2 Guests are viewing this topic.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: 16 FPS 3D graphics on HP Prime! (sort-of)
« Reply #15 on: November 14, 2013, 05:53:18 am »
* Streetwalker wants

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: 16 FPS 3D graphics on HP Prime! (sort-of)
« Reply #16 on: November 14, 2013, 09:58:56 am »
WTF? is this a deaf-mute conversation? :P
Btw, the speedy thing is getting better and better.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: 16 FPS 3D graphics on HP Prime! (sort-of)
« Reply #17 on: November 14, 2013, 11:06:05 am »
And now imagine this thing with assembly......

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: 16 FPS 3D graphics on HP Prime! (sort-of)
« Reply #18 on: November 14, 2013, 02:39:18 pm »
DJ Omni, many front layers like this is quite funky, you could try with real layers, with front decor layers, and rad layered background. THat would be more beautiful.

Anyway, nice finding, and good work DJ! ;)

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: 16 FPS 3D graphics on HP Prime! (sort-of)
« Reply #19 on: November 14, 2013, 05:02:00 pm »
DJ Omni, many front layers like this is quite funky, you could try with real layers, with front decor layers, and rad layered background. THat would be more beautiful.

Anyway, nice finding, and good work DJ! ;)
Oh I actually use two different tilesets for the layers. Notice how the front is different than the sides. However, I can't add much more, else the program gets way too large and it would take too much RAM for tilemap storage.

I already suspect that I might be using too much RAM, because if I try editing the code after running the program, the calc freezes, and if I run the program after opening the editor, the tiles don't appear.

By the way, the reason why the blocks are so thick is because I planned to use 64x32x3 tilemaps. Each block would actually be 3 layers, so the current screenshots demonstrates three identical maps on top of each others. Also, this is where memory becomes an issue: Because generating the tilemap on the fly would be too slow.

Of course, however, it could be due to how large in width some lines of code are. Some lines of code are 19000 characters long and there's no word wrap. I need to check if we can split sprite data into multiple lines to see if it would be better.

Of course, in the worst-case scenario, I can always generate sprites with a bunch of rectangles or just use plain squares. :P
« Last Edit: November 14, 2013, 05:04:17 pm by DJ Omnimaga »

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: 22 FPS 3D graphics on HP Prime! (sort-of)
« Reply #20 on: November 16, 2013, 12:54:06 am »
Changed topic title because I just noticed that the current version of my engine actually ran at 21-23 FPS on-calc (I had the emulator version slowed down to what it used to run at on-calc.)

Also, since the HP Prime supports sub-programs, I decided to split the sprite data into 6 sub-programs. This sucks for people who hate games that uses multiple files, but I seem to get fewer crashes from code editing now.
« Last Edit: November 16, 2013, 12:54:44 am by DJ Omnimaga »

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: 22 FPS 3D graphics on HP Prime! (sort-of)
« Reply #21 on: November 16, 2013, 02:33:30 am »
Quote
Also, since the HP Prime supports sub-programs, I decided to split the sprite data into 6 sub-programs. This sucks for people who hate games that uses multiple files, but I seem to get fewer crashes from code editing now.
Good :)
I think people will have no choice but to split large programs.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

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: 22 FPS 3D graphics on HP Prime! (sort-of)
« Reply #22 on: November 16, 2013, 07:10:32 am »
Yep. Even if you only use the emulator, the connectivity kit still can't detect programs this large in it. Of course if they are split in chunks it's still slow to detect them on a real calc, though (between 1 and 10 minutes each, while smaller ones usually takes a few seconds)

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: 22 FPS 3D graphics on HP Prime! (sort-of)
« Reply #23 on: November 16, 2013, 09:05:11 am »
And now imagine this thing with assembly......
Yeah, at first, they (HP) do look very open minded, don't they? But then we can't access the machine very power. That's a shame really, oh well. :P

Quote from: DJ Omnimaga
... the connectivity kit still can't detect programs this large in it.
Hmm, why is that? How large a program are you talking about?

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: Re: Re: 22 FPS 3D graphics on HP Prime! (sort-of)
« Reply #24 on: November 16, 2013, 12:18:23 pm »
And now imagine this thing with assembly......
Yeah, at first, they (HP) do look very open minded, don't they? But then we can't access the machine very power. That's a shame really, oh well. :P

Quote from: DJ Omnimaga
... the connectivity kit still can't detect programs this large in it.
Hmm, why is that? How large a program are you talking about?
64+ KB each. Although HP seems more open-minded towards coders, they still have a long way to go in terms of releasing reliable softwares and products (although at least they monitor calc forums for bug reports, so it shows that the programming team care.). However it's not just a problem with calcs: My last two printers from HP lasted about 20 uses before they started jamming for absolute no reason and their computer softwares, such as Hardware diagnostics are incredibly slow for what they do. Don't wonder why they almost went bankrupt two years ago.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: 22 FPS 3D graphics on HP Prime! (sort-of)
« Reply #25 on: November 17, 2013, 03:28:50 am »
That's quite strange, never had a problem with their printers. But just install the drivers, never install their softwares... You gain around 300 MB like this.

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: Re: Re: 22 FPS 3D graphics on HP Prime! (sort-of)
« Reply #26 on: November 17, 2013, 07:27:09 am »
That's quite strange, never had a problem with their printers. But just install the drivers, never install their softwares... You gain around 300 MB like this.
*300 GB. :P

Also tif you buy an HP computer, their pre-installed softwares cannot be uninstalled unless you reformat the computer.

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: 22 FPS 3D graphics on HP Prime! (sort-of)
« Reply #27 on: November 17, 2013, 07:58:07 am »
That's quite strange, never had a problem with their printers. But just install the drivers, never install their softwares... You gain around 300 MB like this.
*300 GB. :P
LOL! Not that much, but not very far either. :D

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: 22 FPS 3D graphics on HP Prime! (sort-of)
« Reply #28 on: November 19, 2013, 12:20:30 pm »
I didn't have much motivation to work on the 3D engine due to being exhausted from my weekend of work, but yesterday I was bored and did something quite cool looking with my background images :D



Basically this just involves scrolling through my original background images, stretched so that one column of pixels fits the entire screen. :P

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: 22 FPS 3D graphics on HP Prime! (sort-of)
« Reply #29 on: November 19, 2013, 12:21:36 pm »
that's looking pretty sweet!
(sigh, color calculators are so awesome)
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza