Author Topic: a few questions about ascii demos  (Read 12633 times)

0 Members and 1 Guest are viewing this topic.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: a few questions about ascii demos
« Reply #20 on: February 12, 2008 »
Works fine and smooth here too Nino, great first ascii thing :) Next add plasmas, music, metaballs, raycaster and then enter the next tdmc!  :cheers:
Shockwave ^ Codigos
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: a few questions about ascii demos
« Reply #21 on: February 12, 2008 »
What shocky says.
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: a few questions about ascii demos
« Reply #22 on: February 13, 2008 »
cheers taj,

that's strange that's one thing that should'nt happen i codded it to open the full 80*50 res. is it vista your on as i may be doing something that it doesn't like.

Actually just XP. Hmmm weird. I also noticed another ascii demo do this recently from northern dragons.
BTW is it legal in an ascii competition to open an ascii window and an opengl window (offscreen). Render to the hidden opengl window, capture the image and display in ascii window? I mean if you did it right, who would know anyway?

« Last Edit: February 13, 2008 by taj »
Challenge Trophies Won:

Offline va!n

  • Pentium
  • *****
  • Posts: 1432
  • Karma: 109
    • View Profile
    • http://www.secretly.de
Re: a few questions about ascii demos
« Reply #23 on: February 13, 2008 »
@taj:
afaik its not legal to use an invisble OGL / DX screen to render scenes, capture and displaying then on the console window. However you need to convert the captured image to ascii and display the ascii text/stuff on the console! I think its legal to render scene directly into an allocated memoryblock (like 80x80 pixel for eaxmple) and converting this pixels to final ascii values/chars you can display now on the console window... so you can precalculate things or doing things in realtime, if the rendered stuff -> ascii converting is fast enough. But at least afaik its not legal to use OGL, DX... just only Console and possible any DLL like bass, fmod to play music.
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: a few questions about ascii demos
« Reply #24 on: February 13, 2008 »
I am not clear on these rules either.

I don't think it would be illegal to do a straight conversion of some rendered framebuffer into an ascii picture, I thought that a lot of ascii demos do this anyway.. Anyway who's to say what api you should use to write a demo with?
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: a few questions about ascii demos
« Reply #25 on: February 13, 2008 »
Quote
I don't think it would be illegal to do a straight conversion of some rendered framebuffer into an ascii picture, I thought that a lot of ascii demos do this anyway
From what I can see they nearly all do this.  The smarts in these demos come from working out the mapping from the hidden colour buffer to the ascii output.
That demo you linked to recently seemed to use a combination of this technique along with some graphics rendered directly in ascii.

Jim
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: a few questions about ascii demos
« Reply #26 on: February 14, 2008 »
yeah jims right ive looked at some of the demo sources and they draw to a full r g b buffer and then use algos to try and closely match the ascii buffer with the full color buffer.

i dont think its necessary however, i just do all the drawing in the ascii buffer and with some of the stuff im messing around with, anti alias and alpha blending. drawing directly to the ascii buffer can be made to look quite good.
« Last Edit: February 14, 2008 by ninogenio »
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: a few questions about ascii demos
« Reply #27 on: February 21, 2008 »
yay i finaly got alpha going :)

i had some trouble with the colors and fillers though.

Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: a few questions about ascii demos
« Reply #28 on: February 21, 2008 »
Awesome. Glenz Vector ASCII ... very cool.

Exists fine by pressing ESCAPE - crashes when
hitting the CLOSE WINDOW Button though...
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: a few questions about ascii demos
« Reply #29 on: February 21, 2008 »
cheers benny!

yeah the program doesnt like it when you hit the exit button so escape is prefered, not quite sure how to get around that.
Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: a few questions about ascii demos
« Reply #30 on: February 21, 2008 »
Very nice nino, for what its worth that exit error is typical of DOS text mode consoles such as mode 3h. Are you using DOS or win32?  Cos in DOS that error is due to the fact that the exit button passes through win32 and DOS emulation doesnt have access to win32 api

Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: a few questions about ascii demos
« Reply #31 on: February 21, 2008 »
cheers mate,

that's what it will be then. good to know  :cheers:
Challenge Trophies Won: