interactive inverted perspective rendering for...

35
Interactive Inverted Perspective Rendering for Architectural Visualization Vinod Srinivasan Ozan Ozener Ergun Akleman Visualization Sciences Program Department of Architecture Texas A&M University 2005 June 20th – 22nd Vienna University of Technology Vienna, Austria

Upload: others

Post on 22-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

Interactive Inverted Perspective Rendering for Architectural

Visualization

Vinod SrinivasanOzan Ozener

Ergun Akleman

Visualization Sciences ProgramDepartment of Architecture

Texas A&M University

2005June 20th – 22ndVienna University of TechnologyVienna, Austria

Page 2: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization2

Outline

BackgroundInteractive Inverted PerspectiveInteractive Non-Photorealistic DisplayThree-dimensional ModelingImplementationConclusions

Page 3: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization3

Background

Normal perspective– Distant objects perceived as being smaller than closer

objects– Used to convey depth in 2D artwork

Inverted perspective– Illusion of depth perception where depth cues are reversed– Distant parts are shown larger than nearer ones– Also uses a linear projection but with a different center of

projection

Page 4: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization4

Background

Inverted perspective (contd.)– Static 2D images don’t necessarily convey this

effectWe interpret that the smaller objects are far away and larger ones are closerIf viewer knows relative positions through other means, a static 2D image can be enoughCan be confusing since what is seen is contrary to what viewer expects to see

Page 5: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization5

Background

Inverted perspective (contd.)– Inverted perspective effect becomes more

pronounced when there is relative motion between viewer and scene

– Changing angle of view causes scene to change in an unexpected way

Page 6: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization6

Background

Inverted perspective in art– Explored by artists as far back as 16th century– More recent – work of Patrick Hughes

Referred to as “reverse perspective” or “reverspective”

Several theories for motivation and reasoning behind such illustrations– Of recent interest to perceptual psychologists– One viewpoint: Inverse perspective conveys more

information than linear perspective

Page 7: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization7

Background

Architectural design– Normal perspective projection has been widely

used throughout the ages– Digital media has opened up new avenues for

creative expression– Production of complex perspectives possible in a

digital mediumCan enhance production & representation of conceptual spaces

Page 8: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization8

Background

Architectural design & visualization in digital age– Need for new digital tools and techniques for

advanced representation, design & visualization– Inverted perspective is one such visualization

technique

Page 9: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization9

Background

Work of Vallance & Calder– 2001: Computer interface to facilitate multi-

perspective rendering, including reverse perspective

Implementation too slow for interactive visualizationInvolves an entire API

– 2003: Technique for rendering inward looking projections (“anti-perspective projection”)

Results are very similar to inverted perspective images

Page 10: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization10

Interactive Inverted Perspective

Typical 3D graphics application– User can see parts of the object “pointing towards” him/her– In terms of mesh structure, faces whose normals point

towards the viewer are displayed“Front-facing” vs. “back-facing”

– Hidden surfaces are not shown – eliminated using depth (distance from viewer along viewing direction)

Faces which are in “front” obscure faces which are in the “back”.

Page 11: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization11

Interactive Inverted Perspective

Typical 3D graphics application (contd.)– Visible faces change when viewer moves through

the scene and viewpoint changes“Front-facing” and “back-facing” faces change“Front” faces and “back” faces change

Page 12: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization12

Interactive Inverted Perspective

Inverted Perspective Effect– Switch the faces that are shown– “Front-facing” faces are not displayed and “back-

facing” faces are shown– Hidden-surface removal

Visible faces “hide” faces which are “behind” them

Page 13: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization13

Interactive Inverted Perspective

Page 14: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization14

Interactive Inverted Perspective

Inverted perspective rendering of a particular view– Switch to inverted perspective rendering– Rotate object/scene so we are still looking at the

same faces that were visible in normal perspective

– The switch is usually not readily seen– Rotating the scene makes the inverted

perspective effect apparent

Page 15: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization15

Interactive Inverted Perspective

Page 16: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization16

Interactive Inverted Perspective

Page 17: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization17

Interactive Non-Photorealistic Display

For conceptual design ability to see the interior elements of a structure is usefulWireframe representation provides a fully transparent model view– Not effective in terms of understanding spatial

configuration and boundary structure– Does not convey depth information effectively– Can become very complicated for models with

large number of faces

Page 18: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization18

Interactive Non-Photorealistic Display

Page 19: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization19

Interactive Non-Photorealistic Display

Other display methods for showing interior structure– Move viewpoint inside the exterior surface

Can view either interior of the exterior in a single image, not both

New display method to show both interior and exterior simultaneously– Based on transformation used for inverted

perspective display

Page 20: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization20

Interactive Non-Photorealistic Display

Switch the set of faces that are shown– “Front-facing” faces are not shown, “back-facing”

faces are seenInterior layout is visible

Overlay a wireframe representation of “front-facing” faces on top of above imageHidden-surface removal is still usedInterior portions are seen and wireframe gives a good idea of the exterior shape

Page 21: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization21

Interactive Non-Photorealistic Display

Page 22: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization22

Interactive Non-Photorealistic Display

Page 23: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization23

Three-dimensional Modeling

Modification to non-photorealistic rendering method– Allows easy modeling of complex structures

Show wireframe for entire mesh instead of just the “front-facing” faces– Wireframe is required for being able to select

faces, edges and vertices for modeling operations

Page 24: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization24

Three-dimensional Modeling

Page 25: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization25

Three-dimensional Modeling

Page 26: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization26

Three-dimensional Modeling

Page 27: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization27

Three-dimensional Modeling

Page 28: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization28

Implementation

All techniques presented have been incorporated into our topological mesh modeling system– System provides basic modeling & interactive

rendering capabilities– Includes several other tools for creating structures

with beams, columns, holes and handles

Page 29: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization29

Implementation

Interactive inverted perspective display and wireframe overlay can be toggled on or off using hotkeysSoftware is written in C++Uses OpenGL for graphics and FLTK for user-interfaceDeveloped on Linux, ported to Windows using Cygwin

Page 30: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization30

Demo

Page 31: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization31

Contributions

An easy-to-use system which allows the viewer to explore inverted perspective in an interactive mannerTools for architectural modeling and visualization– Inverted-perspective visualization is useful for

better understanding of conceptual models– 3D modeling tool effective for creating objects

with fairly complicated interior structures

Page 32: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization32

Future Work

Handle complicated nested structures such as a building layout with interior walls– Reverse normals of the interior elements

appropriatelyGives a “cut-section” type of view

Page 33: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization33

Future Work

Page 34: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization34

Future Work

Explore use of inverted perspective display in a virtual reality environmentAbility to apply the various display modes to selected surfaces rather than the whole sceneUse “depth-peeling” to view surfaces at different depths– Can be done in real time on the GPU

Page 35: Interactive Inverted Perspective Rendering for …info.tuwien.ac.at/cf2005/caad/presentations/cf2005_2_12...June 21, 2005 Interactive Inverted Perspective Rendering for Architectural

June 21, 2005Interactive Inverted Perspective Rendering

for Architectural Visualization35

Questions?

Vinod Srinivasan, Assistant ProfessorOzan Ozener, Ph.D. studentErgun Akleman, Associate Professor{vinod,ozan,ergun}@viz.tamu.edu

Visualization Sciences ProgramDepartment of ArchitectureTexas A&M Universityhttp://www-viz.tamu.edu