News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > BeyondUnreal > Games > Unreal Series > Unreal 2

Closed Thread
 
Thread Tools Display Modes
Old 31st Mar 2001, 02:40 AM   #1
Metakill
Inhumane
 
Metakill's Avatar
 
Join Date: Feb. 18th, 2000
Location: Redwood City, CA USA
Posts: 2,430
Will Unreal II properly handle water refraction, the distortion of depth as seen by viewers looking down at it? Well, this may seem like a trivial thing, but it is really the only thing left in these 3-d games which is not true to life. And I'm sure todays gfx cards could handle it if someone was clever enough to invent an efficient algorithm. If you don't know what I'm talking about, look into the deep end of a pool (in real life) and observe that it looks shallower than when you are actually in it.
Metakill is offline  
Old 31st Mar 2001, 12:49 PM   #2
cairey
Registered User
 
Join Date: Feb. 17th, 2000
Location: Plymouth, England
Posts: 12
Ah, I don't think will see this for a while. You would need some serious hardware to pull this off. Think of all the different angles. Where the light source is brightness, colour
__________________
Chris Airey
cairey is offline  
Old 31st Mar 2001, 05:48 PM   #3
Metakill
Inhumane
 
Metakill's Avatar
 
Join Date: Feb. 18th, 2000
Location: Redwood City, CA USA
Posts: 2,430
Well...

Yes, to be sure, it would be very difficult to actually model it after real light refraction, but it wouldn't be so hard to, say, make a quick and dirty algorithm that treated the surface of the water as a viewport with different depth properties than air. After all, considering the rumored polygon-density of Unreal II, it's going to be making multi-million 3d calculations per second; I bet somebody who was really clever could pull it off.
Metakill is offline  
Old 8th Apr 2001, 03:22 PM   #4
StormHammer
Storminator
 
StormHammer's Avatar
 
Join Date: Feb. 27th, 2000
Location: Damnation Alley
Posts: 57
Thumbs up Sounds good to me

I think Metakill is right. It should be possible with all the recent technological advancements that have been made in game engines.

Red Faction has its GeoMod tech, Severance has it's great shadows and rippling reflections, and there are other games out there implementing realistic ballistics tech so you have to start thinking about wind velocity when targeting at range.

Why not use a simple portal to emulate the effect of water refraction?

Water (or any transparent/translucent liquid) has always been tricky to show in games. Noone has yet developed an engine that shows water realistically. Some have proper rippling reflections (like Severance), some have translucency (like Unreal), but few have both, and none to my knowledge currently have water refraction.

If any engine should be able to pull this off, it should be the Unreal 2 engine.

However, it depends how hard it is to do, and whether or not the time spent putting such a feature in is considered worthwhile enough. If it has no real effect on gameplay, then they should leave it out, and concentrate on making the game longer and more complex, IMHO.
__________________
Every hour of every day is worth living...so live it well.
Imagination Unbound
Dark Forces MOD : Skin artist
StormHammer is offline  
Old 8th Apr 2001, 05:12 PM   #5
Deathwing
Raucous Rodentia
 
Deathwing's Avatar
 
Join Date: Mar. 15th, 2000
Location: Canada
Posts: 1,792
The technology may be there, but not the hardware to run it. That'll come eventually, but not as soon as Unreal 2.
Deathwing is offline  
Old 9th Apr 2001, 04:31 AM   #6
Metakill
Inhumane
 
Metakill's Avatar
 
Join Date: Feb. 18th, 2000
Location: Redwood City, CA USA
Posts: 2,430
Technology inflation

I think all this newer technology has made programmers lazier. No computer ever reaches its full potential before its replaced by something more "convenient" to work with. All it takes is one clever wise-ass to find an easy way to do this. I think I'll get started...

P.S. I think something like this definitely affects gameplay because it creates much more suspensioin of disbelief.
Metakill is offline  
Old 14th Apr 2001, 03:30 AM   #7
Metakill
Inhumane
 
Metakill's Avatar
 
Join Date: Feb. 18th, 2000
Location: Redwood City, CA USA
Posts: 2,430
One solution...

The FOV # command lets you change your field of view, distorting your perspective (the wider your view, the more fish-eyed it becomes). It should be easy to use the surface of the water as a viewport that simply had a different FOV than the air.

I think increasing the FOV and forshortening the depth in relation to the actual water depth would create a very realistic effect.
Metakill is offline  
Old 14th Apr 2001, 05:41 PM   #8
Requiem
Registered User
 
Join Date: Dec. 27th, 2000
Location: Israel
Posts: 9
Lightbulb It should be - a simple optical calculation

I don't see any technological problem in this subject.
The depth/size of an object in a liquid is calculated by a simple optics formula. (the ones who studied optics will know what I'm talking about). It does NOT depend on light sources of any kind. It only depends on your angle of view, along with the liquid's light transparency.
__________________
Infiltration 2.8 rules!
Requiem is offline  
Old 16th Apr 2001, 10:14 AM   #9
Slick_Willy
Anyone Else Want Some?
 
Join Date: May. 19th, 2000
Location: Allen (Dallas, TX)
Posts: 590
The GeForce3 has hardware Refraction and Reflection:

http://www4.tomshardware.com/graphic...force3-12.html



Whether it will be used or not remains to be seen
__________________
Steve Nabors
Level Designer
Demiurge Studios
http://www.planetunreal.com/slick
Slick_Willy is offline  
Old 16th Apr 2001, 02:00 PM   #10
Lodev
Registered User
 
Lodev's Avatar
 
Join Date: Sep. 3rd, 2000
Location: Belgium
Posts: 556
Hehe

I'm just for fun making, from scratch, a 3D engine with powerbasic. This is the ugliest and slowest 3D engine that ever existed, BUT, it has refraction It traces every ray from your eye to the level, for every pixel seperately, and the refraction is simple to make by just bending the rays.

But now I have to solve some trigonometric problems first otherwise I'll never be able to rotate the camera around...
Lodev is offline  
Old 16th Apr 2001, 11:43 PM   #11
Metakill
Inhumane
 
Metakill's Avatar
 
Join Date: Feb. 18th, 2000
Location: Redwood City, CA USA
Posts: 2,430
Thumbs up

Bet it wasn't as ugly as the one i made on my old Amiga 1000. It had light sourcing, but no ray tracing or transparacy. However, for a 12 Mhz machine, it ran like lightning. It could handle about 30 polygons before the frame rate became intolerable. I used fixed point math to speed everything up.
Metakill is offline  
Old 17th Apr 2001, 11:27 AM   #12
Lodev
Registered User
 
Lodev's Avatar
 
Join Date: Sep. 3rd, 2000
Location: Belgium
Posts: 556
Mine doens't even have polygons! Space is described in the form of small dots, like molecules but of course not that small I think it's called voxels

if powerbasic would have supported more than 16 colors, I'd be able to make the whole thing a little nicer already
Lodev is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:25 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer