Author Topic: What are you working on at the moment?  (Read 140807 times)

0 Members and 1 Guest are viewing this topic.

Offline DrewPee

  • I Toast Therefore I am
  • Pentium
  • *****
  • Posts: 563
  • Karma: 25
  • Eat Cheese - It's good for you!
    • View Profile
    • Retro Computer Museum
Re: What are you working on at the moment?
« Reply #40 on: November 11, 2006 »
I do hope you are not being naughty Shockwave!! lol!!!  >:D

Drew
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17378
  • Karma: 497
  • evil/good
    • View Profile
    • My Homepage
Re: What are you working on at the moment?
« Reply #41 on: November 11, 2006 »
A little bit of controversy isn't a bad thing ;)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline .:] Druid [:.

  • freebasic n00b
  • Pentium
  • *****
  • Posts: 563
  • Karma: 47
    • View Profile
    • Intro-Inferno
Re: What are you working on at the moment?
« Reply #42 on: November 12, 2006 »
very nice indeed.  Can't wait to see it running :D
[sheep]: im sure he wants to goto prison.. they didnt get him last time.. he was promised a big cock up his arse.. and no doubt looking forward to it.. lets hope he gets his wish this year.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17378
  • Karma: 497
  • evil/good
    • View Profile
    • My Homepage
Re: What are you working on at the moment?
« Reply #43 on: November 12, 2006 »
Nuke has a version of it, he said it was running ok but a bit choppy on his computer so I've been optimising it.
I'll share a little optim I've worked on for it (excuse the variable names);

Code: [Select]
SUB DETECT_EDGES()
    'This sub detects where the edges of the logo are so that we don't have to loop
    'so much when we draw the logo. this optimisation has saved loads of scan time :-)
    '
    DIM FUCK AS INTEGER
    DIM INNER AS INTEGER
    DIM OUTER AS INTEGER
    DIM CTEMPLATE AS INTEGER
    DIM FIXX AS INTEGER
    DIM TWAT AS INTEGER
    CTEMPLATE=LOGO (1,1)
    FOR FUCK=0 TO 479
        FOR INNER=1 TO 319
            IF LOGO(INNER,FUCK)<>CTEMPLATE THEN
                LSTART(FUCK)=INNER
                INNER=320
            END IF
        NEXT
        OUTER=319
        FOR INNER=1 TO 319
            IF LOGO(OUTER,FUCK)<>CTEMPLATE THEN
                LEND(FUCK)=OUTER
                INNER=320
            END IF
            OUTER=OUTER-1
        NEXT       
    NEXT
END SUB

What this does is to scan the logo to see where the logo starts and where it ends, these locations are stored.. Before I did this I was rasterising a solid block and checking each pixel in the block for the mask colour.. That made for a lot of if statements, I looked at the logo and thought that I was checking a lot of empty space and wanted to use this technique to eliminate that, so essentially it has enabled me to stencil the logo and render it pixelwise a lot less expensively.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: What are you working on at the moment?
« Reply #44 on: December 01, 2006 »
That nice picture shocky.....adding some snowflake and father xmas on bobsleigh floating( then do scaleimage that come near you and move away the screen! Cool effect!)

just making Suggesting(mean making new idea for ya)

cheers

p.s. I really need sort my awful english out even thought I am sure people out there understand it and if u dont understand....pls ask :)

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: What are you working on at the moment?
« Reply #45 on: December 01, 2006 »
OK I think I proved the 1k curved surface thing.
Thanks to rbrazs VC++ framework, I'm now working on a system to get D3D and OGL working hand in hand. My intention is to use advanced features in D3DX (maths, curves, meshes, normal calculations, subdivision, precomputer radiance transfer etc) and yet render with Opengl. Its a bit tricky but nothing too difficult.

So far I have achieved:
d3d +OGL initialised correctly in <500 bytes
a dx torus model with only 4 sides, subdivided and rendered using opengl in <1k.
Next step, my own 3ds model, compressed and squashed in dirty ways loaded into dx, subdivided and drawn with OGL.
 - I'm praying I can be smart enough to get it into 1k but...well there isnt much room.

No piccies worth seeing yet though.

Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2723
  • Karma: 485
    • View Profile
    • http://www.rbraz.com/
Re: What are you working on at the moment?
« Reply #46 on: December 01, 2006 »
Sounds cool taj  8)

I've one idea for a new 1kb, not sure if it will compress to 1kb, but I'll try to do it, just need some free time ...

Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: What are you working on at the moment?
« Reply #47 on: December 01, 2006 »
I'm working on getting to xmas without being fired.

Jim
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: What are you working on at the moment?
« Reply #48 on: December 18, 2006 »
Currently I'm working on low byte count shaders to do surface effects. Believe it or not this is my first ever bump mapping attempt below. The cool things about this simple technique is:
1. Its about 20-30 bytes
2. There are no textures at all so no need to waste bytes defining them
3. There are no binormals or tangents to define, saving huge fuss with extensions in OGL and code space

I simply apply 3d (x,y,z) equations to the normal of a sphere. So this is just a sphere with "bent" normals. I am very happy with the result and pretty convinced this is a way forward for size coding.

I've added an exe but as usual its shader based so needs a modern graphics card so its unlikely to run many places.
« Last Edit: December 18, 2006 by taj »
Challenge Trophies Won:

Offline Stonemonkey

  • Pentium
  • *****
  • Posts: 1307
  • Karma: 96
    • View Profile
Re: What are you working on at the moment?
« Reply #49 on: December 18, 2006 »
Very nice taj, runs a little too quick here but still cool.

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: What are you working on at the moment?
« Reply #50 on: December 18, 2006 »
Yeah shaders vary a lot in speed..I'll fix up a timed version, maybe tonight.
Ive got a more metallic look plus multitextured bump maps so I'll post it later.
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: What are you working on at the moment?
« Reply #51 on: December 18, 2006 »
Cool Taj, welldone.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline Ghost^BHT

  • Clueless and Happy
  • ^GVY
  • Pentium
  • ******
  • Posts: 931
  • Karma: 49
  • BYTE ME!
    • View Profile
Re: What are you working on at the moment?
« Reply #52 on: December 18, 2006 »
Awesome, what a great look  :clap:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4380
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: What are you working on at the moment?
« Reply #53 on: December 18, 2006 »
wow ... excellent  :updance:
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

lilw4t3rdr0p

  • Guest
Re: What are you working on at the moment?
« Reply #54 on: December 18, 2006 »
Nice Taj...... DAMN I LOVE THIS SMILIE  :updance:

Offline MrP

  • Atari ST
  • ***
  • Posts: 176
  • Karma: 18
    • View Profile
Re: What are you working on at the moment?
« Reply #55 on: December 18, 2006 »
Nice work again Taj.... I dont have any problems with your stuff, except that it screws with my desktop res on the way out.... ie it doesn't return me back to my original desktop res.... Great work though

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17378
  • Karma: 497
  • evil/good
    • View Profile
    • My Homepage
Re: What are you working on at the moment?
« Reply #56 on: December 18, 2006 »
Nice bump mapping Taj :) Looks fantastic even though I won't be able to run it! At least I can see the screenies!
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2723
  • Karma: 485
    • View Profile
    • http://www.rbraz.com/
Re: What are you working on at the moment?
« Reply #57 on: December 18, 2006 »
@taj: Works perfectly here, wonderful effect, congrats  :clap:
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: What are you working on at the moment?
« Reply #58 on: December 18, 2006 »
Thanks all for the support, I thought I was going nuts at the weekend as I couldnt get this to work. Got more and more depressed and then suddenly up it popped about 2am last night. I must admit, even Im surprised that it looks *that* good.
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: What are you working on at the moment?
« Reply #59 on: December 18, 2006 »
Nice work again Taj.... I dont have any problems with your stuff, except that it screws with my desktop res on the way out.... ie it doesn't return me back to my original desktop res.... Great work though

Do you use dual monitor or something? Ive had trouble with that in the past.
Challenge Trophies Won: