Post on 21-Jan-2016
description
Ming-Te ChiDepartment of Computer Science National Chengchi University
3D Display Concept3D Viewer Categories3D Display Device Overview3D Display Device SettingSimple 3D Project Google Sketch Up
Depth sensation is the ability to move accurately, or to respond consistently, based on the distances of objects in an environment binocular cues monocular cue
Stereopsis or retinal(binocular) disparity
Convergence Shadow Stereopsis
Right eye
Left eye
Stereoscopic technology provides a different image to the viewer's left and right eyes.
View of Boston, c. 1860
With glassesActive
Liquid crystal shutter glasses
Passive polarized glasses Complementary color anaglyphs Head-mounted display
Without glasses• Wiggle stereoscopy
• Autostereoscopy Parallax barrier Lenticular lens
3D Monitor Device 3D Monitor from iZ3D SAMSUNG SyncMaster 2233RZ Acer GD245HQ
3D Glasses NVIDIA 3D Vision glasses Polarizing glasses
顏色過濾原理 左”紅”右”藍”
缺點 : 灰階 or 單一色調
“兩層”偏光面板,前面板與後面板 分別顯示左、右眼影像 若同分別使用”左”,”右”兩眼觀看,成像
效果不同
技術原理 實際畫面
系統需求與限制 120Hz Refresh Rate nVidia Graphics Card OS: Windows Vista / 7
Input 3D 攝影機
Output 3D Vision Photo Viewer NVIDIAStereoPlayer
實際畫面
glClear();glMatrixMode(GL_MODELVIEW); glLoadIdentity(); /* the default
matrix */glPushMatrix(); glDrawBuffer(GL_BACK_LEFT); gluLookAt(-IOD/2.0, 0.0,
EYE_BACK, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); <viewing transforms> <modeling transforms> draw();
glClear();glPopMatrix(); glPushMatrix() glDrawBuffer(GL_BACK_RIGHT); gluLookAt(IOD/2.0, 0.0, EYE_BACK, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); <viewing transforms> <modeling transforms> draw();glPopMatrix();
glutSwapBuffer();
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glColorMask(GL_TRUE, GL_FALSE, GL_FALSE, GL_TRUE); // set camera for blue eye, red will be filtered. // draw scene
glClear(GL_DEPTH_BUFFER_BIT); glEnable(GL_BLEND); glBlendFunc(GL_ONE, GL_ONE); glColorMask(GL_FALSE, GL_FALSE, GL_TRUE, GL_TRUE); // set camera for red eye, blue will be filtered. // draw scene
下載範例程式http://www.cs.nccu.edu.tw/~mtchi/cg
11/
直接執行 Original folder 中 .exe 執行檔
嘗試利用 CodeBlock 編譯此專案並找出此程式如何製作出紅藍立體效果
Autodesk 3ds Max Mayahttp://www.autodesk.com.tw/adsk/servlet/home?
siteID=1170616&id=15814201
Google Sketchup http://sketchup.google.com/
Blender http://www.cs.nccu.edu.tw/~g9902/blender/
Sketch UP provides an intuitive modeling
Toolbars
Translate Scale
Rotate