Qbasicnews.com
Jark's raytracer ported - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html)
+--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html)
+---- Forum: FB Projects (http://qbasicnews.com/newforum/forum-16.html)
+---- Thread: Jark's raytracer ported (/thread-7044.html)



Jark's raytracer ported - Antoni Gual - 04-24-2005

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.


Jark's raytracer ported - Tio Bit - 04-24-2005

What a beauty the generated images; It also reminds me , I need to save to buy a faster pc.


Jark's raytracer ported - Dr_Davenstein - 04-24-2005

Cool!!! Tongue

Have you told him yet?


Jark's raytracer ported - rdc - 04-24-2005

Nicely done Antoni.


Jark's raytracer ported - Antoni Gual - 04-24-2005

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.


Jark's raytracer ported - relsoft - 04-24-2005

:o :o :o :o :o :o


Jark's raytracer ported - Rattrapmax6 - 04-24-2005

:o Like, wow!!!!!!! *Speachless*


Jark's raytracer ported - Mitthrawnuruodo - 04-24-2005

sweet


Jark's raytracer ported - Antoni Gual - 04-28-2005

Quote:Cool!!! Tongue

Have you told him yet?
Quote: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.... Big Grin


Jark's raytracer ported - v3cz0r - 04-28-2005

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.