Qbasicnews.com
May 26, 2018, 02:42:04 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Jark's raytracer ported  (Read 7998 times)
Antoni Gual
Na_th_an
*****
Posts: 1434



WWW
« on: April 23, 2005, 05:31:21 PM »

Here s my port to FB+gfxlib.
As hi-res and lo-speed as ever...

EDITED:
Everything is working now, thanks to Dumbledore's QB-Like RND function (TCRAy uses negative args to re-seed)


http://fbtk.qbtk.com/phpBB2/viewtopic.php?p=1774#1774

BTW:
Another differnce from QB:     foo(bar(byval a,b),b)    
In QB foo was passed the b arg after being updated by bar.
If you want to do the same in FB uou must explicitly call bar before foo, by doing it in a separate instruction.
Logged

Antoni
Tio Bit
Member
*
Posts: 30


« Reply #1 on: April 23, 2005, 06:23:05 PM »

What a beauty the generated images; It also reminds me , I need to save to buy a faster pc.
Logged
Dr_Davenstein
Na_th_an
*****
Posts: 2052


« Reply #2 on: April 23, 2005, 11:21:59 PM »

Cool!!! Tongue

Have you told him yet?
Logged
rdc
Senior Member
**
Posts: 176



WWW
« Reply #3 on: April 24, 2005, 12:41:46 AM »

Nicely done Antoni.
Logged

Antoni Gual
Na_th_an
*****
Posts: 1434



WWW
« Reply #4 on: April 24, 2005, 06:37:11 AM »

Jark did it nicely....

It only took half an hour to port it.... And two hours searching in vain for the problem preventing the clouds and sea ripples from displaying.
Logged

Antoni
relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #5 on: April 24, 2005, 07:53:57 AM »

Shocked  Shocked  Shocked  Shocked  Shocked  Shocked
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
Rattrapmax6
__/--\__
*****
Posts: 2577



WWW
« Reply #6 on: April 24, 2005, 12:54:27 PM »

Shocked Like, wow!!!!!!! *Speachless*
Logged

Kevin (x.t.r.GRAPHICS)

Mitth'raw'nuruodo
Ancient Guru
****
Posts: 515



WWW
« Reply #7 on: April 24, 2005, 01:05:17 PM »

sweet
Logged

i]"But...it was so beautifully done"[/i]
Antoni Gual
Na_th_an
*****
Posts: 1434



WWW
« Reply #8 on: April 28, 2005, 01:08:21 PM »

Quote from: "Dr_Davenstein"
Cool!!! Tongue

Have you told him yet?

Quote from: "Jark"

Sinon, bravo pour le portage, il faut vraiment que je réussisse à reprendre mes activités et à regarder FB ! C'est fantastique sur ma machine en tout cas et le temps de calcul est époustoufflant! Une question: comment sont gérés les modes graphiques avec FB ? Y-a-t-il une bibliothèque spéciale ? Bravo encore une fois: tu peux annoncer sur les forums que je trouve le portage fantastique !


For non-french speakers: He liked it.... Cheesy
Logged

Antoni
v3cz0r
I hold this place together
*****
Posts: 924



WWW
« Reply #9 on: April 28, 2005, 01:25:31 PM »

Whoa, sponge was really cool.

The params order thing happens because the default convention is standard-call (and cdecl in Dos and Linux versions), so params are pushed in the reverse order than in the pascal calling convention.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!