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.

Program Announcements / RealtimeReflections TechDemo

Author
Message
Jukuma
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 17th Jan 2004 23:42
uses 48 cams (with a camera fake technic).
i hope your gfxcard works with this demo ...

http://jukullmann.bei.t-online.de/reflections.rar

Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 17th Jan 2004 23:49
looks good

if I = 1 then I = 1 else I = 0
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 17th Jan 2004 23:56
Looks nice, I'd test it but I'm on my crappy computer.

Do you bite your thumb at me sir?

Athelon XP 1600 Plus (1.4ghz) - ATI Radeon 9600 Pro - 256mb RAM
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Jan 2004 00:01
@DragonFly

Hmm, let me guess. 6 cameras pointing in the +ve/-ve X,Y & Z directions. They are placed where the spheres are and cube mapping is used to map the images from the cameras onto the spheres.


BlueGUI Plugin:http://blue.robert-knight.net / BlueIDE http://blueide.sf.net-Free Replacement editor for DBPro
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 18th Jan 2004 00:39
i think he has 9 cameras, 8 are inside the spheres, pointing toward the camera and then as each image is grabbed from each camera it is pasted onto the sphere and the sphere is pointed at the camera

FoxBlitzz
21
Years of Service
User Offline
Joined: 19th Nov 2003
Location: United States
Posted: 18th Jan 2004 03:08
Does this use DarkBasic Pro's Reflection Shader? If not, than that must be a waste of cameras!

HP Pavilion | Intel Pentium 4 CPU 2.40 GHz
512 MB Ram | NVIDIA GeForceFX 5600 AGP, with 256 MB Ram
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 18th Jan 2004 04:05
As myself and Indi discovered, camera's are actually faster then the reflection shader but are less accurate (ie, they don't simulate reflections like the real world would). I'm surprised this one runs so fast, but I bet as soon as you started putting more objects into the scene it will run very slow.


"Computers are useless they can only give you answers."
Xanatus
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Germany
Posted: 18th Jan 2004 06:39
The demo is using 6 cameras for make the images for cubemapping. That method runs much faster than reflection shading or 48 real cameras. If you use 2 cameras then the fps will be halved. This version isnt updating all cameras every loop so it saves many fps.

here is a version with real cameras:


and the same with faked cameras:


that sippet was posted by kulle in the german forum.

walaber
21
Years of Service
User Offline
Joined: 22nd Oct 2003
Location: Los Angeles, CA
Posted: 18th Jan 2004 08:09
either way it looks really cool

Go Go Gadget DBPRO!
Jukuma
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 18th Jan 2004 09:34
@rob k
yes, always correctly

@exeat
the spheres on this demo maket with 20 rows & 20 columns.

@xanatus
thx, schön das wenigsten einer englisch kann
Jukuma
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 23rd Jan 2004 03:04
Jukuma
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 23rd Jan 2004 03:09
Jukuma
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 23rd Jan 2004 03:20
sorry i can'n diplay my code, the tag does not ....

the code is over 22,5 KB sorry

but it is real code, c soon
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 28th Jan 2004 12:51
That's some damn nice hard coding of a song...


"Computers are useless they can only give you answers."
Jukuma
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 31st Jan 2004 03:17
thx all

sorry for my bad english!

the ready code soon posting on code snippets forum.

cu
kulle

Login to post a reply

Server time is: 2024-11-23 13:25:19
Your offset time is: 2024-11-23 13:25:19