liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
A Depth of Field Algorithm for Realtime 3D Graphics in OpenGL
Linköping University, Department of Science and Technology.
2002 (English)Independent thesis Basic level (professional degree)Student thesisAlternative title
Algoritm i OpenGL för att rendera realtids 3D grafik med fokus (Swedish)
Abstract [en]

The company where this thesis was formulated constructs VR applications for the medical environment. The hardware used is ordinary dektops with consumer level graphics cards and haptic devices. In medicin some operations require microscopes or cameras. In order to simulate these in a virtual reality environment for educational purposes, the effect of depth of field or focus have to be considered.

A working algorithm that generates this optical occurence in realtime, stereo rendered computer graphics is presented in this thesis. The algorithm is implemented in OpenGL and C++ to later be combined with a VR application simulating eye-surgery which is built with OpenGL Optimizer.

Several different approaches are described in this report. The call for realtime stereo rendering (~60 fps) means taking advantage of the graphics hardware to a great extent. In OpenGL this means using the extensions to a specific graphic chip for better performance, in this case the algorithm is implemented for a GeForce3 card.

To increase the speed of the algorithm much of the workload is moved from the CPU to the GPU (Graphics Processing Unit). By re-defining parts of the ordinary OpenGL pipeline via vertex programs, a distance-from-focus map can be stored in the alpha channel of the final image with little time loss.

This can effectively be used to blend a previously blurred version of the scene with a normal render. Different techniques to quickly blur a renderedimage is discussed, to keep the speed up solutions that require moving data from the graphics card is not an option.

Place, publisher, year, edition, pages
Institutionen för teknik och naturvetenskap , 2002. , 39 p.
Keyword [en]
Datorteknik, Depth of field, OpenGL, realtime, stereo, render, computer graphics, vertex program.
Keyword [sv]
Datorteknik
National Category
Computer Engineering
Identifiers
URN: urn:nbn:se:liu:diva-1169ISRN: LITH-ITN-MT-EX--02/15--SEOAI: oai:DiVA.org:liu-1169DiVA: diva2:18115
Uppsok
teknik
Available from: 2002-05-16 Created: 2002-05-16

Open Access in DiVA

fulltext(1166 kB)5122 downloads
File information
File name FULLTEXT01.pdfFile size 1166 kBChecksum SHA-1
8f6aff8d014b8f08e833caff50ff1009b3d5b66dbf3d1ae116539fc0e5bbebd161748a4a
Type fulltextMimetype application/pdf

By organisation
Department of Science and Technology
Computer Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 5122 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1350 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf