• Axe Greyscale Tutorial 5 1
Currently:  

Author Topic: Axe Greyscale Tutorial  (Read 18994 times)

0 Members and 1 Guest are viewing this topic.

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: Axe Greyscale Tutorial
« Reply #15 on: October 20, 2011, 11:57:35 am »
:(
It would have been funny to read a code with more than 2 - counting how many "r"s  are in it to get known what it'll do... :)
*insert supercool signature*

Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: Axe Greyscale Tutorial
« Reply #16 on: October 20, 2011, 12:10:58 pm »
That would be annoying. Anyway, the 2 rs are for the two buffers: the main buffer and the back buffer.

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Axe Greyscale Tutorial
« Reply #17 on: October 20, 2011, 12:13:49 pm »
That would be annoying. Anyway, the 2 rs are for the two buffers: the main buffer and the back buffer.
Isn't it actually frontbuffer, buffer and backbuffer? Since no 'r' should be the main buffer, right?


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: Axe Greyscale Tutorial
« Reply #18 on: October 20, 2011, 12:17:36 pm »
I think that the two rs just tell axe to take the data from the two buffers and display it in grayscale, but i could be wrong.

Offline chattahippie

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +27/-0
  • Super Member! :D
    • View Profile
Re: Axe Greyscale Tutorial
« Reply #19 on: October 20, 2011, 12:28:24 pm »
I think that Dispgraphrr just tells Axe to display in 4 scale greyscale, and ClrDrawrr tells it to clear both buffers.
And by the way, Pt-On() can only have a max of one r

Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: Axe Greyscale Tutorial
« Reply #20 on: October 20, 2011, 12:35:43 pm »
Pretty much. I have the readme html file printed out for reference.

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Axe Greyscale Tutorial
« Reply #21 on: October 21, 2011, 12:37:36 am »
its quite simple actually. its whether a buffer is turned on or off (1 or 0). And Dispgraph, Dispgraphr, Dispgraphrr, will show 2 scale, 3 colour greyscale and 4 colour greyscale respectively.
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline dunrite321

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +11/-0
    • View Profile
Re: Axe Greyscale Tutorial
« Reply #22 on: October 23, 2011, 05:35:22 pm »
I have a question...

Is there a shorter way to make black text work on 4-level grayscale?  I don't want to constantly have to exchange buffers when drawing text.

Offline chattahippie

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +27/-0
  • Super Member! :D
    • View Profile
Re: Axe Greyscale Tutorial
« Reply #23 on: October 23, 2011, 06:35:31 pm »
If you are not using Fix 5, then just use Text(X,Y,stuff to display) after your DispGraph, it should flicker a little, but it will be black
Or, just use Text():Text()r if you are using Fix 5, with the correct arguments of course.

Offline dunrite321

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +11/-0
    • View Profile
Re: Axe Greyscale Tutorial
« Reply #24 on: October 23, 2011, 07:26:43 pm »
Yeah, but Text()r isn't a valid command...