Author Topic: 1k raytracing  (Read 15115 times)

0 Members and 1 Guest are viewing this topic.

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
1k raytracing
« on: February 10, 2008 »
Not exactly :-). This is too big and for once I have no idea how to get it smaller (even recoded in d3d and didnt help). Anyway...

Benny asked me if I was working on anything. Actually I've been out of the game for 5 months - no code at all. However, this weekend I dusted off some raytracing, bent the maths and I'm down to this.

NEEDS PS3.0
If your card is old use the 640x480 exe
Otherwise use the 1024x768 exe

Please, I am very interested in Nvidia and Vista results (Jim, Shockie).
Challenge Trophies Won:

Offline zawran

  • Sponsor
  • Pentium
  • *******
  • Posts: 909
  • Karma: 67
    • View Profile
Re: 1k raytracing
« Reply #1 on: February 10, 2008 »
the 1024x768 version runs completely smooth on my nvidia 8800gt sli setup.

Offline Stonemonkey

  • Pentium
  • *****
  • Posts: 1315
  • Karma: 96
    • View Profile
Re: 1k raytracing
« Reply #2 on: February 10, 2008 »
Nice screenshot but I get a blank screen.

radeon x1650

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: 1k raytracing
« Reply #3 on: February 10, 2008 »
Nice screenshot but I get a blank screen.

radeon x1650

Make absolutely sure your drivers are up to date as I am using some newly supported features which wont work with old drivers.
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: 1k raytracing
« Reply #4 on: February 11, 2008 »
640x480 works fine and smoothly here,  of course 1024x768 is a bit slow, would be really cool if you can display a FPS counter.

P4 WinXP Geforce 6600GT
Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Re: 1k raytracing
« Reply #5 on: February 11, 2008 »
What is PS3? I too get just a blank screen.
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: 1k raytracing
« Reply #6 on: February 11, 2008 »
What is PS3? I too get just a blank screen.

Pixel Shaders 3.0...it means you need a good/recent graphics card.
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: 1k raytracing
« Reply #7 on: February 11, 2008 »
Smooth and glorious in 1970s brown :) (8600GT, Vista)

Jim
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: 1k raytracing
« Reply #8 on: February 11, 2008 »
Yeeeeeeeeeaaaaaaaaaahhhhhhh ... this baby runs smooth as hell.
Fx roxx. The future has just begun. Rulez!
[ 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: 1k raytracing
« Reply #9 on: February 11, 2008 »
Smooth and glorious in 1970s brown :) (8600GT, Vista)

Jim


Hahahaha, yes I have the candy pink and the 70s brown versions, perhaps Ill go with candy pink :-)
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: 1k raytracing
« Reply #10 on: February 11, 2008 »
Pink?!??!

Nononononononono!!

I love these Toffee Coffee lovely colours it looks great!
Much nicer colours than Tracie!

This can be a comp winner for sure.

No problems running it here the high res version ran perfectly smooth (ATI X1650 ~ Stonemonkey your drivers probably need updating).

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 #11 on: February 12, 2008 »
With some extreme hackery I'm only 14 bytes out. The recursive raytracer is now 10 lines of code. However, no real timer which will be another 10-20 bytes :-(. I dont think this one will ever get released as a 1k unless I switch to assembler.
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: 1k raytracing
« Reply #12 on: February 12, 2008 »
Add some music and maybe some other
scenes and release it as 4kb production.

This piece deserves to be released !!!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: 1k raytracing
« Reply #13 on: February 12, 2008 »
Benny has a point. But then again knowing how canny you are Taj, I would bet good money that you'll manage to squish the code a little bit more anyway.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Buckethead

  • C= 64
  • **
  • Posts: 58
  • Karma: 30
    • View Profile
Re: 1k raytracing
« Reply #14 on: February 12, 2008 »
Rocks. Both version are smooth and fast here (8800 Nvidia, XP)
Keep working on it, could be a great 4K too, but since you didn't dev something since 5 months, I think you'll manage to squeeze it in 1K in few days ;)
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: 1k raytracing
« Reply #15 on: February 13, 2008 »
Rocks. Both version are smooth and fast here (8800 Nvidia, XP)
Keep working on it, could be a great 4K too, but since you didn't dev something since 5 months, I think you'll manage to squeeze it in 1K in few days ;)

You were right. I enlisted some help from Pohar at Rebels and last night the intro dropped below 1k!
Challenge Trophies Won:

Offline va!n

  • Pentium
  • *****
  • Posts: 1435
  • Karma: 109
    • View Profile
    • http://www.secretly.de
Re: 1k raytracing
« Reply #16 on: February 13, 2008 »
only white screen on notebook (ATI X1400)
- 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 benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: 1k raytracing
« Reply #17 on: February 13, 2008 »
Rocks. Both version are smooth and fast here (8800 Nvidia, XP)
Keep working on it, could be a great 4K too, but since you didn't dev something since 5 months, I think you'll manage to squeeze it in 1K in few days ;)

You were right. I enlisted some help from Pohar at Rebels and last night the intro dropped below 1k!

Great news  :clap:
[ 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: 1k raytracing
« Reply #18 on: February 13, 2008 »
only white screen on notebook (ATI X1400)

You need PS 3.0...
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: 1k raytracing
« Reply #19 on: February 26, 2008 »
Hi,

PS3.0 Required

Here is the raytracer squeezed into 1k. Can people test and tell me if it works on their systems, if the colour is ok for you, if the speed is ok.

For those without PS3.0 (upgrade!)... I enclose an image.

Taj


Challenge Trophies Won: