Computer Graphics 3D Display
description
Transcript of Computer Graphics 3D Display
![Page 1: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/1.jpg)
Ming-Te ChiDepartment of Computer Science National Chengchi University
![Page 2: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/2.jpg)
3D Display Concept3D Viewer Categories3D Display Device Overview3D Display Device SettingSimple 3D Project Google Sketch Up
![Page 3: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/3.jpg)
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
![Page 4: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/4.jpg)
Stereopsis or retinal(binocular) disparity
Convergence Shadow Stereopsis
Right eye
Left eye
![Page 5: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/5.jpg)
Stereoscopic technology provides a different image to the viewer's left and right eyes.
View of Boston, c. 1860
![Page 6: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/6.jpg)
With glassesActive
Liquid crystal shutter glasses
Passive polarized glasses Complementary color anaglyphs Head-mounted display
![Page 7: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/7.jpg)
Without glasses• Wiggle stereoscopy
• Autostereoscopy Parallax barrier Lenticular lens
![Page 8: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/8.jpg)
![Page 9: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/9.jpg)
3D Monitor Device 3D Monitor from iZ3D SAMSUNG SyncMaster 2233RZ Acer GD245HQ
3D Glasses NVIDIA 3D Vision glasses Polarizing glasses
![Page 10: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/10.jpg)
顏色過濾原理 左”紅”右”藍”
缺點 : 灰階 or 單一色調
![Page 11: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/11.jpg)
“兩層”偏光面板,前面板與後面板 分別顯示左、右眼影像 若同分別使用”左”,”右”兩眼觀看,成像
效果不同
![Page 12: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/12.jpg)
技術原理 實際畫面
![Page 13: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/13.jpg)
系統需求與限制 120Hz Refresh Rate nVidia Graphics Card OS: Windows Vista / 7
Input 3D 攝影機
Output 3D Vision Photo Viewer NVIDIAStereoPlayer
實際畫面
![Page 14: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/14.jpg)
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();
![Page 15: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/15.jpg)
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
![Page 16: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/16.jpg)
下載範例程式http://www.cs.nccu.edu.tw/~mtchi/cg
11/
直接執行 Original folder 中 .exe 執行檔
嘗試利用 CodeBlock 編譯此專案並找出此程式如何製作出紅藍立體效果
![Page 17: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/17.jpg)
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/
![Page 18: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/18.jpg)
Sketch UP provides an intuitive modeling
Toolbars
![Page 19: Computer Graphics 3D Display](https://reader035.fdocuments.in/reader035/viewer/2022062409/5681501f550346895dbe0636/html5/thumbnails/19.jpg)
Translate Scale
Rotate