Turbine Games Q&A/Graphics/Q-86

From Drunkapedia
Jump to: navigation, search

Original Link (now dead) - http://www.turbinegames.com/qa/view_questions.html?id=5199

Click to return to Turbine Games Q&A Archive

What is the difference between the textures used by walls and water?



Asked: 2001.01.03
Name: Skystreak Cloudrider
Question Title: What is the difference between the textures used by walls and water?
Category: Graphics
Question: How come when you lay down in some water you can't see yourself no matter how much you move around the camera angle? Yet you can see objects on the other side of a hidden wall? Why not use the way the water texture is treated by the graphics engine on walls to make more hidden ones?

Also are there any plans to fix the I can see objects on the other side of the hill even though I'm on this side bug?


Answered: 2001.01.04
Name: Jason Booth
Answer: Objects are clipped against a plane that lies across 0 in the z coordinate. It's fairly fast to do, which is why it works for water. However, arbitrary clipping against arbitrary planes is an entirely different thing, and very expensive to calculate.