Author Topic: 1k raytracing  (Read 15006 times)

0 Members and 1 Guest are viewing this topic.

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: 1k raytracing
« Reply #20 on: February 26, 2008 »
@taj:

 :clap: awesome work. Runs very smooth here.
(GeForce 76ooGT - AMD Atholon 64 X2 Dual).

The colors fits definately to the name and wants me
to buy a loooot of chocolate. Damn - and I wanted
to lose pounds before summer  ::)
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline zawran

  • Sponsor
  • Pentium
  • *******
  • Posts: 909
  • Karma: 67
    • View Profile
Re: 1k raytracing
« Reply #21 on: February 26, 2008 »
Runs 100% smooth without any problems at all and the color is fine. ( QuadCore 2.4ghz, Nvidia 8800GT SLI )

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: 1k raytracing
« Reply #22 on: February 26, 2008 »
OK thanks for testing guys, I've uploaded to Pouet and Intro Inferno. Phew glad that one is dnoe, actually started it in November!
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17412
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: 1k raytracing
« Reply #23 on: February 26, 2008 »
That runs like a dream :)
I think it's your best 1kb ATI X1650
Shockwave ^ Codigos
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: 1k raytracing
« Reply #24 on: February 26, 2008 »
Thanks shockie. I tend to agree - its certainly the most compressed with the biggest shader. I also worked very hard on colours here. Also found a new trick for passing a timer into the shader that saved valuable bytes. All in all I am quite satisfied with the result.


Oh I just did a video for people without PS3.0 cards...
http://www.youtube.com/watch?v=au1j1hV9H5U
« Last Edit: February 27, 2008 by taj »
Challenge Trophies Won:

Offline Voltage

  • Professor
  • Pentium
  • *****
  • Posts: 857
  • Karma: 53
    • View Profile
Re: 1k raytracing
« Reply #25 on: February 27, 2008 »
Great work taj, very impressive. 1k real time sexy raytracer = envy

Runs at about 40-50fps (guess), and looks very nice.

NV 7300

Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: 1k raytracing
« Reply #26 on: February 29, 2008 »
Thanks Voltage. The reception on pouet has been good too so I'm very pleased. Thanks for the CDC shockwave ;-).

Taj
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17412
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: 1k raytracing
« Reply #27 on: February 29, 2008 »
Thanks for the CDC shockwave ;-).

It's me who thanks you for another great intro :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: 1k raytracing
« Reply #28 on: March 01, 2008 »
Runs fine here, another great work  :goodpost:

Did it use Directx or OpenGL ?
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: 1k raytracing
« Reply #29 on: March 01, 2008 »
Runs fine here, another great work  :goodpost:

Did it use Directx or OpenGL ?

What a great question! Initially I coded it in OGL and it was too big so I recoded in D3D ... and it was even bigger. Now I know my coding in D3D skills are 1/10 but nontheless it was bigger. The reason was OGL may have to bring in extensions but it has: glRect. I couldn't find any tiny equivalent in D3D, even after asking on this forum, that would fill the screen so I had to define a quad with four points using floats. Setting up D3D is bigger than OGL which is ... er nothing. In all, I couldn't find much difference.

Now heres a kicker. It was the case that ATi require a vertex shader to set glFragCoord correctly. It turns out that February 13th 2008 drivers from ATi seem to cure this problem. At least they do on my card. So it should be possible now to get the OGL framework down in size.

« Last Edit: March 01, 2008 by taj »
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: 1k raytracing
« Reply #30 on: March 01, 2008 »
Great news, I too still believe in Opengl glsl, and that's why I bought a book about glsl last week
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: 1k raytracing
« Reply #31 on: March 01, 2008 »
Great news, I too still believe in Opengl glsl, and that's why I bought a book about glsl last week

lol isnt it sad Rbraz that we can get excited about saving 20 bytes :-). Once you add glsl to your asm skills, I'm going to have learn asm !
Challenge Trophies Won: