Monday, October 1, 2018

opengl - Is the "impossible object" possible in computer graphics?


This may be a silly question but I want to know the answer to it. I saw this thing called the "impossible object", while they're many different images of this online, it's suppost to be impossible geometry.


Here is an example:


enter image description here


Now as far as logic goes, I know you don't have to obey it in games, such as a flying cow, or an impossible object. So that's out of the way, but what stands in my way is whether or not there is a way to draw this onto a 3D scene. Like is there a way to represent it as a 3D object? Thanks!



Answer



3D computer graphics works based on the mathematics of 3D space. Objects like that cube cannot exist in 3D space - that's why they're "impossible objects" - so they cannot be directly modeled in computer graphics either.


Of course it is possible to build objects that, when seen from a certain camera angle, produce an optical illusion that makes them look like an impossible object.


Penrose stairs in Inception



Or as Jari Komppa commented, it's possible to render things "incorrectly" (mis-sorted for example) and make things look like impossible geometry that way. And there are games that play with 2D/3D perspective deliberately, such as echochrome, Fez, and Perspective.


No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...