# 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:

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!

-
Sure.. just disable z-buffer and mess up the sorting order, and voilá, you have that object.. =) – Jari Komppa May 27 '13 at 5:49
I've done this, only I called it "the horrible mistake, gimme a sec to fix that" =) – Patrick Hughes May 28 '13 at 0:54

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.

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.

-

Sure you can, just modify the geometry as the player goes through.

There was a game called Antichamber that was built entirely around this idea, where the maze changed as you went through it.

So like you start at this point right, where you choose which dir to go

You go up the stairs,

Turn the corner,

Then end up back at the same point

Physically impossible, done with (apparently portals as Nathan says in this post)

-
That sounds like Antichamber. – Nathan Reed Nov 9 '13 at 20:51
Yes, I read the name in your other post, thanks Mr Nathan – bobobobo Nov 9 '13 at 21:33