Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / A little raytracer

Author
Message
French gui
20
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 28th Nov 2004 04:09 Edited at: 2nd Dec 2004 18:00
It has not a very big interest in DBP but it can draw some cool images with spheres.I have written it just because I was wondering how raytracers are working.Try to change some parameters (number of objects, colors, specular power, reflection, lights ,camera position...) ,and tell me what you think about it!

Screenshot:


My English is not so good I'm just French
Iain
20
Years of Service
User Offline
Joined: 17th Jun 2004
Location: UK
Posted: 28th Nov 2004 05:45
Very nice.
Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 28th Nov 2004 06:02 Edited at: 28th Nov 2004 06:04
Woah.....
Perhaps you should preform some antialisting(custom x)

Quote: "I've seen the word programming and I'm not sure what it means. Anybody please explain?"


Quote: "We shouldn't sacrifice the truth to preserve "balance"."
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 28th Nov 2004 07:51
wow i have no idea how you made this, but its nice.. very nice !!

need help with programming?
Add me to your msn
JerBil
20
Years of Service
User Offline
Joined: 8th May 2004
Location: Somewhere along the Z axis...
Posted: 28th Nov 2004 08:56
That's so cool. btw, the Type triangles needs to go before
the Type objets code...


-JerBil
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 28th Nov 2004 09:10
nice work

"eureka" - Archimedes
French gui
20
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 28th Nov 2004 17:40
Thanks everybody! Triangles are not working (I have some accuracy troubles ).

My English is not so good I'm just French
Erick G
Retired Moderator
20
Years of Service
User Offline
Joined: 2nd Oct 2004
Location: Texas, USA
Posted: 28th Nov 2004 19:24
Very Very cool indeed

TUTORIAL !!!! Give us a Tutorial !
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 29th Nov 2004 00:38
Awesome!



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 29th Nov 2004 01:27
EXE for us DBC'rs please?

Song of the whenever i feel like updating it....
Man in a Dress, by Stew
French gui
20
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 29th Nov 2004 01:48
Quote: "EXE for us DBC'rs please?"


Humm, the .exe weights 6Mo! There's a picture:



My English is not so good I'm just French
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 29th Nov 2004 04:58
Upload to a website / email me please?

Song of the whenever i feel like updating it....
Man in a Dress, by Stew
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 30th Nov 2004 09:43
Not bad! Not bad at all!

Now get it running in real time! He he he

1800+ XP - GeforceFX 5600 - 256MbDDR - 60Gb Hdd - XP Pro (SP2)
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 1st Dec 2004 08:45 Edited at: 1st Dec 2004 08:46
French Gui, regarde la:

http://forum.thegamecreators.com/?m=forum_view&t=43257&b=1

J'ai créé des fonctions pour le éditer des image memblocks, et ils sont plus vite que DOT et les autre commandes comme ca. L'essayer!

AKA teh great Pet Rat.
Peace sells...but who's buying??
French gui
20
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 2nd Dec 2004 05:44
Benjamin: Wow! very cool! I've missed that! Thanks a lot man!

My English is not so good I'm just French
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 2nd Dec 2004 06:11
De rien

Raven: That said, I DO say 'that said' a lot. 'Nuf said.
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 3rd Dec 2004 05:21
could you please.. please please explain me/us how you made this ?

need help with programming?
Add me to your msn
French gui
20
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 3rd Dec 2004 06:04
Hum! This can be very long ,Jopie! Try this link for example:
http://www.devmaster.net/articles/raytracing/

My English is not so good I'm just French
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 3rd Dec 2004 06:27
looks interesting I'm reading it now, thanks.

need help with programming?
Add me to your msn
Mr Underhill
21
Years of Service
User Offline
Joined: 23rd Apr 2003
Location: The Forgotten Worlds...
Posted: 24th Dec 2004 03:36 Edited at: 24th Dec 2004 03:37
That's not just beautiful, its w00tiful. It's almost as good as bryce's rendering.
Good job, man!

Quote: "A kilobyte is 1024 bytes, not 1028.
I mean.... not.. that i.... new that already.... i figured... maybe... CRUD! IM A NERD! -Ion Stream"

I feel your pain, man. Wait...pain?!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 24th Dec 2004 06:33
That is really strange!
I pasted the source in and pressed f5.
What happened next may shock and amaze you. Alternatively, you may be mildly confused! The compiler reported an error but the code ran. I saw the beauty that is French gui's program. The program finished and the code was gone! Who is responsible for this terrible yet brilliant theft?

Realms Of Tutopia: Rise Of Evil
http://www.freewebs.com/elbsoftware/index.htm
French gui
20
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 25th Dec 2004 00:48
Quote: "It's almost as good as bryce's rendering.
Good job, man! "


Thanks a lot!!

Andrew: Yes, it's very annoying but I don't know the reason of it...

Sorry for my English...
Sol462
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location: playing with the spazookeedoo
Posted: 25th Dec 2004 10:18 Edited at: 25th Dec 2004 10:19
Quote: " French Gui, regarde la:

http://forum.thegamecreators.com/?m=forum_view&t=43257&b=1

J'ai créé des fonctions pour le éditer des image memblocks, et ils sont plus vite que DOT et les autre commandes comme ca. L'essayer!
"

for all those who dont understand french, he is saying:
Quote: "
French gui, look:
(link)
I have created functions for editing memblocks, and they are much quicker than DOT and the other commands like that. Test it!"

*note: might be a rough translation due to my terrible french
Quote: " De rien "
means: "You're welcome"

coffee + monkeys + creativity = games
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 25th Dec 2004 19:59 Edited at: 25th Dec 2004 20:02
I didn't think a translation was needed, I was after all talking directly to French gui . But anyway, good translation

Cerry Mhristmas!
--
CURRENT PROJECT: Chaos Hizzle Demo

Login to post a reply

Server time is: 2024-11-23 17:13:14
Your offset time is: 2024-11-23 17:13:14