VIEW VOLUME & CLPPING
|
|
- Lewis Bradford
- 5 years ago
- Views:
Transcription
1 VIEW VOLUME & CLPPING The Stage of View Volume Clipping Plane Equations Clipping a 3-Vertices Facet with an Arbitrary Plane Line-plane Intersection & Coding OpenGL calls for Setting Clipping Planes Clipping in VCS - orthographic view volumes Clipping in VCS - perspective view volume Clipping in NDCS (Normalized Device Coordinate System Viewport Transformation KUAS ME, C. F. Chang The Stage of View Volume Clipping KUAS ME, C. F. Chang 2 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang
2 View Volume Clipping Sutherland-Hodgman polygon-clipping algorithm can be extended to 3D. We could choose to perform clipping in any one of VCS or NDCS. However, there is a shortcoming to clip in NDCS Both the line-clipping and polygon-clipping algorithms made use of in/out tests for half-spaces. NDCS Y Z (,, (-, -,- x KUAS ME, C. F. Chang 3 Plane Equations N = A i + B j + C k P b P 2 Implicit plane equation: P 0 P or A x + B y + C z + D = 0 N.P + D = 0 O P 0 D P P a where P(x,y,z is the position vector of a point on the plane For any vertex P in space, we have F(P = N.P + D = A x + B y + C z + D The F can be used to determine which side of the plane the vertex P lies on F = 0 point P lies on the plane F > 0 point P lies on the same side as the normal F < 0 point P lies on the opposite side of the normal KUAS ME, C. F. Chang 4 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang 2
3 Plane Equations (cont Parametric plane equation: N = A i + B j + C k Pb P2 Plane(s, t = P 0 + s(p -P 0 + t(p 2 -P 0 P0 P0 D P P O Pa ( provided P 0, P, and P 2 are non-collinear Explicit plane equation: A x + B y + C z + D = 0 z = - (A/C x - (B/C y - D/C (valid if C is non-zero KUAS ME, C. F. Chang 5 Clipping a 3-Vertices Facet with an Arbitrary Plane There are 8 different cases to consider: Cases -2: all the points are on same side of the clipping plane KUAS ME, C. F. Chang 6 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang 3
4 Clipping a 3-Vertices Facet with a Plane (cont Cases 3-5: there are only one vertex on the clipping side of the plane Cases 6-8: there are two vertices on the clipping side of the plane KUAS ME, C. F. Chang 7 Line-plane Intersection F(P = N.P + D ( For a line passing through P a and P b, the intersection point of the line and a plane can be written as: N = A i + B j + C k P b P 2 P (t = P a + t ( P b - P a P 0 P P Substituting P into the plane equation (, and solving for t yields O P 0 D P a F(P = N.[P a + t ( P b - P a ] + D = 0 D N P a t N P N P b a F( Pa F( P F ( P b a KUAS ME, C. F. Chang 8 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang 4
5 Coding- F(P = A x + B y + C z + D int ClipFacet(wcPt3 *p, wcpt3 n, wcpt3 pr { float A,B,C,D; float m; float F[[3]; wcpt3 q; /* Determine the equation of the plane as Ax + By + Cz + D = 0 */ m = (float sqrt(n.x*n.x + n.y*n.y + n.z*n.z; A = n.x / m; B = n.y / m; C = n.z / m; //normalize the normal vector n D = -(n.x*pr.x + n.y*pr.y + n.z*pr.z; /* Evaluate the equation of the plane for each vertex */ /* If F<0 then it is on the side to be retained else it is to be clipped */ F[0] = A*p[0].x + B*p[0].y + C*p[0].z + D; F[] = A*p[].x + B*p[].y + C*p[].z + D; F[2] = A*p[2].x + B*p[2].y + C*p[2].z + D; /* Are all the vertices are on the clipped side */ if (F[0] >= 0 && F[] >= 0 && F[2] >= 0 return(0; /* Are all the vertices on the not-clipped side */ if (F[0] <= 0 && F[] <= 0 && F[2] <= 0 return(3; KUAS ME, C. F. Chang 9 Coding -2 only one vertex on the clipping side of the plane /* Is p0 the only point on the clipped side */ if (F[0] > 0 && F[] < 0 && F[2] < 0 { q.x = p[0].x - F[0] * (p[2].x - p[0].x / (F[2] - F[0]; q.y = p[0].y - F[0] * (p[2].y - p[0].y / (F[2] - F[0]; q.z = p[0].z - F[0] * (p[2].z - p[0].z / (F[2] - F[0]; p[3] = q; q.x = p[0].x - F[0] * (p[].x - p[0].x / (F[] - F[0]; q.y = p[0].y - F[0] * (p[].y - p[0].y / (F[] - F[0]; q.z = p[0].z - F[0] * (p[].z - p[0].z / (F[] - F[0]; p[0] = q; return(4; Q (t = P a + t ( P b - P a F( Pa t F( P F ( P b a KUAS ME, C. F. Chang 0 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang 5
6 Coding -3 two vertices on the clipping side of the plane /* Is p0 the only point on the not-clipped side */ if (F[0] < 0 && F[] > 0 && F[2] > 0 { q.x = p[0].x - F[0] * (p[].x - p[0].x / (F[] - F[0]; q.y = p[0].y - F[0] * (p[].y - p[0].y / (F[] - F[0]; q.z = p[0].z - F[0] * (p[].z - p[0].z / (F[] - F[0]; p[] = q; q.x = p[0].x - F[0] * (p[2].x - p[0].x / (F[2] - F[0]; q.y = p[0].y - F[0] * (p[2].y - p[0].y / (F[2] - F[0]; q.z = p[0].z - F[0] * (p[2].z - p[0].z / (F[2] - F[0]; p[2] = q; return(3; Q (t = P a + t ( P b - P a F( Pa t F( P F ( P b a KUAS ME, C. F. Chang OpenGL calls for Setting Clipping Planes..\Redbook Samples\clip.exe glenable( GL_CLIP_PLANEi glclipplane( GL_CLIP_PLANEi, GLdouble* coeff where i = 0,, 2, Note: At least 6 more clipping planes available Good for cross-sections Modelview matrix moves clipping plane Those vertices (x,y,z satisfying F = A x + B y + C z + D < 0 are clipped Example: void display(void{ GLdouble eqn[4] = {0.0,.0, 0.0, 0.0; // (A, B, C,D /* clip lower half y < 0 */ glclipplane (GL_CLIP_PLANE0, eqn; glenable (GL_CLIP_PLANE0; /* set up other clipping planes /* draw something here */ gldisable (GL_CLIP_PLANE0; KUAS ME, C. F. Chang 2 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang 6
7 Clipping in VCS - orthographic view volumes For the orthographic view volumes presented previously, the view-volume plane equations can be written in a consistent way, such that all the normals are pointing into the view volume; that is, point P is inside the view volume If F(P > 0. The six clipping planes are: left: x - left = 0 right: -x + right = 0 bottom: y - bottom = 0 top: -y + top = 0 front: -z - near = 0 back: z + far = 0 KUAS ME, C. F. Chang 3 Clipping in VCS - perspective view volume The same can also be done for the perspective view volume, since the six clipping planes can be expressed as: top: -y z (top/near = 0 bottom: y + z (bottom/near = 0 left: x + z (left /near = 0 right: -x z (right/near = 0 front: -z - near = 0 back: -z - far = 0 near slope = top/near top KUAS ME, C. F. Chang 4 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang 7
8 Clipping in NDCS (Normalized Device Coordinate System NDCS provides a potentially nice coordinate system for clipping operations because the plane equations are simply defined and always remain unchanged. (- <= x/w <= Furthermore, lines in VCS are lines in NDCS and therefore it would seem that correct intersections could be calculated, despite the fact that NDCS-space has a strange warp to it because it is post-perspective division. The potential problem of clipping in NDCS is that the sign of the depth information is lost, as shown in the following example. VCS NDCS P (, 0, -2 (/2, 0, /3 P2 (0, 0, 2 (0, 0, 3 Note: NDCS uses left-hand-side coordinate system KUAS ME, C. F. Chang 5 Viewport Transformation NDCS to DCS simple translate and scale, namely, Y (, (w/2, h/2 (0,0 x X y (-,- (-w/2,-h/2 (w, h NDCS DCS P NDCS = S(,- T(w/2,-h/2 S(w/2, h/2 P NDCS KUAS ME, C. F. Chang 6 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang 8
9 Assignment & Hints Read the data of an object, then clip it with a plane and show the result. KUAS ME, C. F. Chang 7 How To Define A Cube..\Samples\cube.exe Boundary Representations are used in the following Boundary Representations are also known as b-reps. In this kind of representation, an object is described in terms of its surfaces boundaries GLfloat vertices[][3] = { {-.0,-.0,-.0,{.0,-.0,-.0, //vertex 0, {.0,.0,-.0, {-.0,.0,-.0, {-.0,-.0,.0, //vertex 2, 3, 4 {.0,-.0,.0, {.0,.0,.0, {-.0,.0,.0 ; //vertex 5, 6, 7 x z y GLfloat normals[][3] = { {-.0,-.0,-.0,{.0,-.0,-.0, //vertex 0, {.0,.0,-.0, {-.0,.0,-.0, {-.0,-.0,.0, //vertex 2, 3, 4 {.0,-.0,.0, {.0,.0,.0, {-.0,.0,.0 ; //vertex 5, 6, 7 GLfloat colors[][3] = { {0.0,0.0,0.0,{.0,0.0,0.0, //vertex 0, {.0,.0,0.0, {0.0,.0,0.0, {0.0,0.0,.0, //vertex 2, 3, 4 {.0,0.0,.0, {.0,.0,.0, {0.0,.0,.0 ; //vertex 5, 6, 7 KUAS ME, C. F. Chang 8 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang 9
10 Data Structure of a Cube void colorcube(void { drawtriangle(0, 3, 2; drawtriangle(2,, 0; drawtriangle(3, 7, 6; drawtriangle(6, 2, 3; drawtriangle(0, 4, 7; drawtriangle(7, 3, 0; drawtriangle(, 2, 6; drawtriangle(6, 5, ; drawtriangle(4, 5, 6; drawtriangle(6, 7, 4; drawtriangle(0,, 5; drawtriangle(5, 4, 0; KUAS ME, C. F. Chang 9 Draw 3-Vertex3 Facets void drawtriangle(int a, int b, int c{ glbegin(gl_polygon; glcolor3fv(colors[a]; glnormal3fv(normals[a]; glvertex3fv(vertices[a]; glcolor3fv(colors[b]; glnormal3fv(normals[b]; glvertex3fv(vertices[b]; glcolor3fv(colors[c]; glnormal3fv(normals[c]; glvertex3fv(vertices[c]; glend(; drawtriangle( 0, 3, 2 ; a b c KUAS ME, C. F. Chang 20 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang 0
11 Construct a data file A A Simple Format 8 //number of vertices //vertex // // // // // // // 7 2 //number of facets //vertex indices for facet x z y KUAS ME, C. F. Chang 2 Structures for Polygonal Objects struct wcpt3 { float x, y, z; ; struct Plane { ; float a, b, c, d; //for a plane ax + by + cz + d = 0 /* structure for a 3-vertex facet */ struct Facet { int vertexindices[3]; // Index of the vertices that make up a 3-vertices facet wcpt3 normals[3]; // Normals to the three vertices Plane coeff; // Coefficients of the plane that contains the facet ; struct PolyObject { int wcpt3 * int Facet* ; nvertices; pvertices; nfaces; pfaces; KUAS ME, C. F. Chang 22 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang
12 Read Data From a File ReadRenderObj.dsw bool readobject(const char* filename, PolyObject& object { int i; FILE* iobuffer = fopen(filename, "r"; if (iobuffer == NULL { cerr << "Cannot open file: " << filename << endl; return false; /* Read the coordinates of vertices */ fscanf(iobuffer, "%d", &object.nvertices; object.pvertices = new wcpt3[object.nvertices]; for (i = 0; i < object.nvertices; i++ { fscanf(iobuffer, "%f", &object.pvertices[i].x; fscanf(iobuffer, "%f", &object.pvertices[i].y; fscanf(iobuffer, "%f", &object.pvertices[i].z; /* Read facets */ fscanf(iobuffer, "%d", &object.nfaces; object.pfaces = new Facet[object.nFaces]; for (i = 0; i < object.nfaces; i++ { Facet *pface = &object.pfaces[i]; for (int j = 0; j < 3; j++ fscanf(iobuffer, "%d", &pface->vertexindices[j]; return true; KUAS ME, C. F. Chang 23 Intersection of Objects f 0, f 2, 2 以物 2 之每一面來切割 f 0 面 2 因為前面程序所得之結果, 只有原屬於物 之面, 無法得到屬於物 2 之面 From Fast Algorithms for 3D-Graphics KUAS ME, C. F. Chang 24 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang 2
13 Clipping a Polygon with a Plane (Another Expression n, normal of the face T V 2 切割面 R R V 2 I n (I-V n = (R-V n (V 2 - V n V ( R V n V ( V2 V, where ( V V n I V 2 I V (I V n (R V n V V (V V n (V V n 2 一個頂點 V 若滿足 :V n-r n>0, 則該頂點在切割面之外側 ( 因為法線恒指向外側 若一線段之兩頂點皆在切割面之外側, 則去除該線段若一線段之兩頂點皆在切割面之內側, 則保留該線段若一線段之兩頂點分別在切割面之內 外側, 則以下式求交點 I, 並去除外側之頂點 2 KUAS ME, C. F. Chang 25 2 國立高雄應用科技大學機械系電腦繪圖學 C. F. Chang 3
Oxford isolution. 下載及安裝指南 Download and Installation Guide
Oxford isolution 下載及安裝指南 Download and Installation Guide 系統要求 個人電腦 Microsoft Windows 10 (Mobile 除外 ) Microsoft Windows 8 (RT 除外 ) 或 Microsoft Windows 7 (SP1 或更新版本 ) ( 網上下載 : http://eresources.oupchina.com.hk/oxfordisolution/download/index.html)
More informationC B A B B C C C C A B B A B C D A D D A A B D C C D D A B D A D C D B D A C A B
高雄市立右昌國中 106 學年度第二學期第二次段考三年級考科答案 國文科 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. C B D C A C B A D B 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. D C B A D C A B D B 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. C B D C B B C
More informationDepartment of Computer Science and Engineering National Sun Yat-sen University Data Structures - Final Exam., Jan. 9, 2017
Department of Computer Science and Engineering National Sun Yat-sen University Data Structures - Final Exam., Jan. 9, 2017 1. Multiple choices (There may be zero or more correct answers. If there is no
More information使用 TensorFlow 設計矩陣乘法計算並轉移執行在 Android 上 建國科技大學資管系 饒瑞佶 2017/8
使用 TensorFlow 設計矩陣乘法計算並轉移執行在 Android 上 建國科技大學資管系 饒瑞佶 2017/8 Python 設計 Model import tensorflow as tf from tensorflow.python.tools import freeze_graph from tensorflow.python.tools import optimize_for_inference_lib
More information港專單一登入系統 (SSO) 讓本校的同學, 全日制及兼職老師只要一個登入帳戶, 便可同時使用由本校提供的網上系統及服務, 包括 Blackboard 網上學習平台, 港專電郵服務, 圖書館電子資料庫及其他教學行政系統.
港專單一登入系統 (SSO) 讓本校的同學, 全日制及兼職老師只要一個登入帳戶, 便可同時使用由本校提供的網上系統及服務, 包括 Blackboard 網上學習平台, 港專電郵服務, 圖書館電子資料庫及其他教學行政系統. 港專單一登入網站網址 http://portal.hkct.edu.hk (HKCT 之教職員, 學生 ) http://portal.ctihe.edu.hk (CTIHE 之教職員,
More information桌上電腦及筆記本電腦安裝 Acrobat Reader 應用程式
On a desktop or notebook computer Installing Acrobat Reader to read the course materials The Course Guide, study units and other course materials are provided in PDF format, but to read them you need a
More information15. Clipping. Projection Transformation. Projection Matrix. Perspective Division
15. Clipping Procedures for eliminating all parts of primitives outside of the specified view volume are referred to as clipping algorithms or simply clipping This takes place as part of the Projection
More information一般來說, 安裝 Ubuntu 到 USB 上, 不外乎兩種方式 : 1) 將電腦上的硬碟排線先予以排除, 將 USB 隨身碟插入主機, 以一般光碟安裝方式, 將 Ubuntu 安裝到 USB
Ubuntu 是新一代的 Linux 作業系統, 最重要的是, 它完全免費, 不光是作業系統, 連用軟體都不必錢 為什麼要裝在 USB 隨身碟上? 因為, 你可以把所有的軟體帶著走, 不必在每一台電腦上重新來一次, 不必每一套軟體裝在每一台電腦上都要再一次合法授權 以下安裝方式寫的是安裝完整的 Ubuntu- 企業雲端版本 V. 11.10 的安裝過程, 若是要安裝 Desktop 版本, 由於牽涉到
More informationFigure 1 Microsoft Visio
Pattern-Oriented Software Design (Fall 2013) Homework #1 (Due: 09/25/2013) 1. Introduction Entity relation (ER) diagrams are graphical representations of data models of relation databases. In the Unified
More information3D Viewing Episode 2
3D Viewing Episode 2 1 Positioning and Orienting the Camera Recall that our projection calculations, whether orthographic or frustum/perspective, were made with the camera at (0, 0, 0) looking down the
More information外薦交換生線上申請系統操作說明 Instruction on Exchange Student Online Application System. [ 中文版 ] [English Version]
外薦交換生線上申請系統操作說明 Instruction on Exchange Student Online Application System [ 中文版 ] [English Version] 線上申請流程說明 申請系統網址 : http://schwebap.nccu.edu.tw/zeweb/exgstdapply/ 1. 建立新帳號 : 請輸入姓名 生日 email 做為未來登入系統用
More informationFrame Relay 訊框中繼 FRSW S0/0 S0/1
Frame Relay 訊框中繼 將路由器設定為訊框中繼交換器以進行 frame relay 實驗 : 首先練習設定兩個埠的 frame relay switch FRSW S0/0 S0/1 介面 S0/0 介面 S0/1 102 201 DLI 102 DLI 201 Router(config)# hostname FRSW FRSW(config)# frame-relay switching
More informationSSL VPN User Manual (SSL VPN 連線使用手冊 )
SSL VPN User Manual (SSL VPN 連線使用手冊 ) 目錄 前言 (Preface) 1. ACMICPC 2018 VPN 連線說明 -- Pulse Secure for Windows ( 中文版 ):... 2 2. ACMICPC 2018 VPN 連線說明 -- Pulse Secure for Linux ( 中文版 )... 7 3. ACMICPC 2018
More informationEZCast Docking Station
EZCast Docking Station Quick Start Guide Rev. 2.00 Introduction Thanks for choosing EZCast! The EZCast Docking Station contains the cutting-edge EZCast technology, and firmware upgrade will be provided
More informationEZCast Wire User s Manual
EZCast Wire User s Manual Rev. 2.01 Introduction Thanks for choosing EZCast! The EZCast Wire contains the cutting-edge EZCast technology, and firmware upgrade will be provided accordingly in order to compatible
More information購票流程說明 How To purchase The Ticket?
購票流程說明 How To purchase The Ticket? 步驟 1: 點選 登入 Click 登入 Login (You have to login before purchasing.) 步驟 2: 若已是會員請填寫會員帳號 密碼, 點選 登入 若非會員請點選 註冊 If you are the member of PB+, Please login. If not, please register.
More informationVB 拼圖應用 圖形式按鈕屬性 資科系 林偉川
VB 拼圖應用 資科系 林偉川 圖形式按鈕屬性 Style 屬性 0 ( 標準外觀 ),1( 圖片外觀 ) Picture 屬性 圖形檔案 (VB6) image 屬性 圖形檔案 (VB.NET) Left=Top=0 Width=2052,Height=2052 共有九張圖 1.jpg 9.jpg Form1 執行時視窗為最大化 Windowstate 設為 2 2 1 執行結果 3 path$
More informationEZCast Wire. User s Manual. Rev. 2.00
EZCast Wire User s Manual Rev. 2.00 Introduction Thanks for choosing EZCast! The EZCast Wire contains the cutting-edge EZCast technology, and firmware upgrade will be provided accordingly in order to compatible
More informationEMP2 SERIES. mpcie to Serial COM User Manual. Rev 1.3
EMP2 SERIES mpcie to Serial COM User Manual Rev 1.3 Copyright Information Innodisk is trademark or registered trademark of Innodisk Corporation. This document is subject to change and revision without
More informationRepresentations for Lines and Curves
Computer Graphics Drawing algorithms for two-dimensional graphics primitives Ref: Computer Graphics, 2nd Edition, with C, by Hearn and Baker, Prentice-hall, Inc., 1996. Representations for Lines and Curves
More information報告人 / 主持人 : 林寶樹 Colleges of Computer Science & ECE National Chiao Tung University
行動寬頻尖端技術跨校教學聯盟 - 行動寬頻網路與應用 MiIoT ( Mobile intelligent Internet of Things) 報告人 / 主持人 : 林寶樹 Colleges of Computer Science & ECE National Chiao Tung University Aug 14, 2015 課程簡介 課程綱要 實作平台評估 2 背景說明 目前雲端與行動寬頻緊密結合,
More informationPreamble Ethernet packet Data FCS
Preamble Ethernet. packet Data FCS Destination Address Source Address EtherType Data ::: Preamble. bytes. Destination Address. bytes. The address(es) are specified for a unicast, multicast (subgroup),
More informationBuilding Models. Objectives. Introduce simple data structures for building polygonal models. OpenGL vertex arrays. Vertex lists Edge lists
Building Models Objectives Introduce simple data structures for building polygonal models Vertex lists Edge lists OpenGL vertex arrays 2 Representing a Mesh Consider a mesh v 5 v e e e 3 v 9 8 8 v e 4
More information3D Viewing Episode 2
3D Viewing Episode 2 1 Positioning and Orienting the Camera Recall that our projection calculations, whether orthographic or frustum/perspective, were made with the camera at (0, 0, 0) looking down the
More informationJAVA Programming Language Homework V: Overall Review
JAVA Programming Language Homework V: Overall Review ID: Name: 1. Given the following Java code: [5 points] 1. public class SimpleCalc { 2. public int value; 3. public void calculate(){ value = value +
More informationBuilding Models. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico
Building Models Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico 1 Objectives Introduce simple data structures for building polygonal
More informationCOMP3421. Vector geometry, Clipping
COMP3421 Vector geometry, Clipping Transformations Object in model co-ordinates Transform into world co-ordinates Represent points in object as 1D Matrices Multiply by matrices to transform them Coordinate
More informationCLAD 考前準備 與 LabVIEW 小技巧
CLAD 考前準備 與 LabVIEW 小技巧 NI 技術行銷工程師 柯璟銘 (Jimmy Ko) jimmy.ko@ni.com LabVIEW 認證 Certified LabVIEW Associate Developer (LabVIEW 基礎認證 ) Certified LabVIEW Associate Developer LabVIEW 全球認證 40 題 (37 題單選,3 題複選
More information// 範例 4-1: 連結資料庫 (connectdb.php) <?php mysql_connect("localhost", "student", "Asia2013"); mysql_select_db("student");?>
// 範例 4-1: 連結資料庫 (connectdb.php) mysql_connect("localhost", "student", "Asia2013"); mysql_select_db("student"); // 範例 4-2: 以 PHP 建立資料表 (gbcreate.php) $aa=" create table gb ( gbprikey integer auto_increment
More informationChapter 4 (Part IV) The Processor: Datapath and Control (Parallelism and ILP)
Chapter 4 (Part IV) The Processor: Datapath and Control (Parallelism and ILP) 陳瑞奇 (J.C. Chen) 亞洲大學資訊工程學系 Adapted from class notes by Prof. M.J. Irwin, PSU and Prof. D. Patterson, UCB 4.10 Instruction-Level
More information2009 OB Workshop: Structural Equation Modeling. Changya Hu, Ph.D. NCCU 2009/07/ /07/03
Amos Introduction 2009 OB Workshop: Structural Equation Modeling Changya Hu, Ph.D. NCCU 2009/07/02- 2 Contents Amos Basic Functions Observed Variable Path Analysis Confirmatory Factor Analysis Full Model
More informationAndroid + TIBBO + Socket 建國科技大學資管系 饒瑞佶
Android + TIBBO + Socket 建國科技大學資管系 饒瑞佶 Socket Socket 開始前 TIBBO 需要設定 Socket on_sock_data_arrival() ' 接收外界來的 SOCKET 資訊 sub on_sock_data_arrival() Dim command_data as string ' 完整控制命令 command_data = "" ' 初始化控制命令
More informationThe Graphics Pipeline. Interactive Computer Graphics. The Graphics Pipeline. The Graphics Pipeline. The Graphics Pipeline: Clipping
Interactive Computer Graphics The Graphics Pipeline: The Graphics Pipeline Input: - geometric model - illumination model - camera model - viewport Some slides adopted from F. Durand and B. Cutler, MIT
More informationInteraction Computer Graphics I Lecture 3
15-462 Computer Graphics I Lecture 3 Interaction Client/Server Model Callbacks Double Buffering Hidden Surface Removal Simple Transformations January 21, 2003 [Angel Ch. 3] Frank Pfenning Carnegie Mellon
More informationPC Link Mode. Terminate PC Link? Esc. [GO]/[Esc] - - [GO]/[Esc] 轉接座未放滿. Make auto accord with socket mounted? [GO]/[Esc] Copy to SSD E0000
Start SU-6808 EMMC Programmer V.0bd7 [ ]Link PC / [ ]Menu [ ] >.Select project.make new project.engineer mode.reset counter 5.Link to PC [ ] PC disconnected PC connected Select project SEM0G9C_A.prj Terminate
More informationThree-Dimensional Viewing Hearn & Baker Chapter 7
Three-Dimensional Viewing Hearn & Baker Chapter 7 Overview 3D viewing involves some tasks that are not present in 2D viewing: Projection, Visibility checks, Lighting effects, etc. Overview First, set up
More informationTREE 1. Michael Tsai 2017/04/11
TREE 1 Michael Tsai 2017/04/11 2 Reference Fundamentals of Data Structures in C, 2 nd Edition, 2008 Chapter 5 Horowitz, Sahni, and Anderson- Freed 3 Reference Data Structures and Algorithms Made Easy,
More informationUNIT 4 GEOMETRIC OBJECTS AND TRANSFORMATIONS-1
UNIT 4 GEOMETRIC OBJECTS AND TRANSFORMATIONS-1 1. Explain the complete procedure of converting a world object frame into camera or eye frame, using the model view matrix. (Jun2012) 10M Ans: World Space
More informationSung-Eui Yoon ( 윤성의 )
CS380: Computer Graphics Clipping and Culling Sung-Eui Yoon ( 윤성의 ) Course URL: http://sglab.kaist.ac.kr/~sungeui/cg/ Class Objectives Understand clipping and culling Understand view-frustum, back-face
More informationJava 程式設計基礎班 (7) 莊坤達台大電信所網路資料庫研究室. Java I/O. Class 7 1. Class 7 2
Java 程式設計基礎班 (7) 莊坤達台大電信所網路資料庫研究室 Email: doug@arbor.ee.ntu.edu.tw Class 7 1 回顧 Java I/O Class 7 2 Java Data Structure 動態資料結構 Grow and shrink at execution time Several types Linked lists Stacks Queues Binary
More information購票流程說明 How To purchase The Ticket?
購票流程說明 How To purchase The Ticket? 步驟 1: 已是會員請點選 登入, 選擇 2016 WTA 臺灣公開賽 Taiwan Open tickets Step1:If You are the member, please Click 登入 Click to the column: 2016 WTA 臺灣公開賽 Taiwan Open tickets Click 登入
More informationDisplay Lists. Conceptually similar to a graphics file. In client-server environment, display list is placed on server
Display Lists Conceptually similar to a graphics file Must define (name, create) Add contents Close In client-server environment, display list is placed on server Can be redisplayed without sending primitives
More informationRENESAS BLE 實作課程 Jack Chen Victron Technology CO., LTD 2015 Renesas Electronics Corporation. All rights reserved.
RENESAS BLE 實作課程 2016-01-21 Jack Chen Jack.chen@victron.com.tw Victron Technology CO., LTD AGENDA CS+ & Renesas Flash Programmer 安裝 3 Renesas Flash Programmer 燒錄介紹 6 CS+ 介面介紹 11 CS+ 開啟 Project & 使用教學 14
More informationClipping and Scan Conversion
15-462 Computer Graphics I Lecture 14 Clipping and Scan Conversion Line Clipping Polygon Clipping Clipping in Three Dimensions Scan Conversion (Rasterization) [Angel 7.3-7.6, 7.8-7.9] March 19, 2002 Frank
More informationBuilding Models. Objectives Introduce simple data structures for building polygonal models. Vertex lists Edge lists
Building Models Objectives Introduce simple data structures for building polygonal models Vertex lists Edge lists 1 Representing a Mesh Consider a mesh v 5 v 6 e e e 3 v 9 8 8 v e 4 1 e 11 v e v 7 7 1
More informationFrom Suffix Trie to Suffix Tree
Outline Exact String Matching Suffix tree an extremely powerful data structure for string algorithms Input: P and S. Output: All occurrences of P in S. Time: O( P + S ) Technique: Z values of PS. Z(i +
More informationSystem Programming. System Software: An Introduction to Systems Programming. Leland L. Beck 3rd Edition Addison-Wesley, 1997
System Programming System Software: An Introduction to Systems Programming Leland L. Beck 3rd Edition Addison-Wesley, 1997 1 http://web.thu.edu.tw/ctyang/ 2 http://hpc.csie.thu.edu.tw/ 3 Score List Participation:
More informationInteraction. CSCI 480 Computer Graphics Lecture 3
CSCI 480 Computer Graphics Lecture 3 Interaction January 18, 2012 Jernej Barbic University of Southern California Client/Server Model Callbacks Double Buffering Hidden Surface Removal Simple Transformations
More informationMH-3621-U3 Clone Dual SATA HDD Docking System
MH-3621-U3 Clone CONTENTS ABOUT THE DOCKING SYSTEM... 2 HARD DRIVE INSTALLATION GUIDE... 5 CLONE OPERATION GUIDE... 6 NOTE... 8 LIMITED WARRANTY... 10 1 Thank you for purchasing MH-3621-U3 from archgon.
More informationChapter 7. Digital Arithmetic and Arithmetic Circuits. Signed/Unsigned Binary Numbers
Chapter 7 Digital Arithmetic and Arithmetic Circuits Signed/Unsigned Binary Numbers Signed Binary Number: A binary number of fixed length whose sign (+/ ) is represented by one bit (usually MSB) and its
More informationAnalytical Solid Geometry
Analytical Solid Geometry Distance formula(without proof) Division Formula Direction cosines Direction ratios Planes Straight lines Books Higher Engineering Mathematics by B S Grewal Higher Engineering
More informationImage Super-Resolution via Sparse Representation
Image Super-Resolution via Sparse Representation Jianchao Yang, John Wright, Thomas Huang and Yi Ma accepted by IEEE Trans. on Image Processing 2010 Presented by known 2010/4/20 1 Super-Resolution Techniques
More informationUser s Manual. Rev. 1.04
EZCast Wire User s Manual Rev. 1.04 Introduction Thanks for choosing EZCastseries product, the EZCast Wire is the latest innovation of EZCast. It is based on popular EZCastapp and modified for Wired connection
More informationSet the Viewport. Set the Viewport Clipping. Set the Viewport. Set the Viewport. Set the Viewport. Resizing the Viewport W = H
To draw an undistorted version of the data in a viewport, you need to ensure the viewport and the window have the same aspect ratio. i.e. W H window window W = H viewport viewport Computer Graphics CSC470
More informationPINpad Wiegand Reader
9292 Jeronimo Road Irvine, CA 92618 Tel.: (949)-598-1600 Fax: (949)-598-1690 Overview PINpad Wiegand Reader Single-Gang box 8-bit Wiegand Reader with Keypad Model 32788 INSTALLATION GUIDE - 7393760, REV
More information描述性資料採礦 Descriptive Data Mining
描述性資料採礦 Descriptive Data Mining 李御璽 (Yue-Shi Lee) 銘傳大學資訊工程學系 leeys@mail.mcu.edu.tw Agenda Cluster Analysis ( 集群分析 ) 找出資料間的內部結構 Association Rules ( 關聯規則 ) 找出那些事件常常一起出現 Sequence Clustering ( 時序群集 ) Clustering
More information允許學生個人 非營利性的圖書館或公立學校合理使用本基金會網站所提供之各項試題及其解答 可直接下載而不須申請. 重版 系統地複製或大量重製這些資料的任何部分, 必須獲得財團法人臺北市九章數學教育基金會的授權許可 申請此項授權請電郵
注意 : 允許學生個人 非營利性的圖書館或公立學校合理使用本基金會網站所提供之各項試題及其解答 可直接下載而不須申請 重版 系統地複製或大量重製這些資料的任何部分, 必須獲得財團法人臺北市九章數學教育基金會的授權許可 申請此項授權請電郵 ccmp@seed.net.tw Notice: Individual students, nonprofit libraries, or schools are
More informationFundamental Types of Viewing
Viewings Fundamental Types of Viewing Perspective views finite COP (center of projection) Parallel views COP at infinity DOP (direction of projection) perspective view parallel view Classical Viewing Specific
More informationWhat is a Better Program?
軟體的特性 What is a Better Program? 軟體之所謂軟 因為沒有 硬性 不可變 不可挑戰的規則 好處 : 彈性很大, 山不轉路轉, 沒有標準答案, 正常運作就好 C++ Object Oriented Programming 壞處 : 很多小問題合在一起不斷放大, 到處藏污納垢, 沒有標準答案, 不知道到底對了沒有 解決方法 Pei-yih Ting Coding styles
More informationAnalytical Solid Geometry
Analytical Solid Geometry Distance formula(without proof) Division Formula Direction cosines Direction ratios Planes Straight lines Books Higher Engineering Mathematics By B S Grewal Higher Engineering
More informationOpenGL Transformations
OpenGL Transformations R. J. Renka Department of Computer Science & Engineering University of North Texas 02/18/2014 Introduction The most essential aspect of OpenGL is the vertex pipeline described in
More informationUser s Manual / 使用手冊 Model : TIP-M200ST-BK
User s Manual / 使用手冊 Model : TIP-M200ST-BK www.mukii.com.tw All Registered Trademarks Belong To Their Respective Companies Copyright 2010 MUKii Technology INC. All Rights Reserved. 01 PACKAGE INCLUDES...2
More information國立交通大學 資訊科學與工程研究所 碩士論文 基於 H.264/AVC 的混合式多重描述編碼 研究生 : 蕭家偉 指導教授 : 蔡文錦教授. Hybrid Multiple Description Coding Based on H.
國立交通大學 資訊科學與工程研究所 碩士論文 基於 H.264/AVC 的混合式多重描述編碼 Hybrid Multiple Description Coding Based on H.264/AVC 研究生 : 蕭家偉 指導教授 : 蔡文錦教授 中華民國九十七年七月 基於 H.264/AVC 的混合式多重描述編碼 Hybrid Multiple Description Coding Based on
More information臺北巿立大學 104 學年度研究所碩士班入學考試試題
臺北巿立大學 104 學年度研究所碩士班入學考試試題 班別 : 資訊科學系碩士班 ( 資訊科學組 ) 科目 : 計算機概論 ( 含程式設計 ) 考試時間 :90 分鐘 08:30-10:00 總分 :100 分 注意 : 不必抄題, 作答時請將試題題號及答案依照順序寫在答卷上 ; 限用藍色或黑色筆作答, 使用其他顏色或鉛筆作答者, 所考科目以零分計算 ( 於本試題紙上作答者, 不予計分 ) 一 單選題
More information三維繪圖程式設計 3D Graphics Programming Design 第三章三維繪圖狀態設定和幾何元件繪製嘉大資工系盧天麒
三維繪圖程式設計 3D Graphics Programming Design 第三章三維繪圖狀態設定和幾何元件繪製嘉大資工系盧天麒 1 In this chapter, you will learn How to access values in the OpenGL state machine The types of primitives available in OpenGL How to
More informationCS 130 Exam I. Fall 2015
S 3 Exam I Fall 25 Name Student ID Signature You may not ask any questions during the test. If you believe that there is something wrong with a question, write down what you think the question is trying
More informationMid-term EXAM. 11/14/2009
Mid-term EXAM. 11/14/2009 1. (15%) Data Compression a) Encode the following characters using Huffman coding with the given frequencies: A(12), B(8), C(9), D(20), E(31), F(14), G(8) (-1 point if theree
More informationComputer Graphics Viewing Objective
Computer Graphics Viewing Objective The aim of this lesson is to make the student aware of the following concepts: Window Viewport Window to Viewport Transformation line clipping Polygon Clipping Introduction
More information计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法. 授课老师 : 王浩宇
计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法 授课老师 : 王浩宇 haoyuwang@bupt.edu.cn 1 Today: Bits, Bytes, and Integers Representing information as bits Bit-level manipulations Integers Representation: unsigned
More informationEAP330. Enterprise Access Point
EAP330 Enterprise Access Point Quick Installation Guide Copyright Notice This document is protected by USA copyright laws and other laws. Besides, the document is the property of 4IPNET, INC. You may not
More informationInTANK ir2771-s3 ir2772-s3. User Manual
InTANK ir2771-s3 ir2772-s3 User Manual » InTANK...1» InTANK ir2771-s3 & ir2772-s3 產品使用說明... 10 V1.1 Introduction Thank you for purchasing RAIDON products. This manual will introduce the InTANK ir2771-s3
More informationJava 程式設計基礎班 (7) 劉根豪台大電機所網路資料庫研究室. Java I/O. Class 7 1. Class 7
Java 程式設計基礎班 (7) 劉根豪台大電機所網路資料庫研究室 Email: kenliu@arbor.ee.ntu.edu.tw 1 回顧 Java I/O 2 1 Java Data Structure 動態資料結構 執行的時候可以動態變大或縮小 類型 Linked lists Stacks Queues Binary trees 3 自我參考類別 (self-referential classes)
More information國立交通大學 資訊科學與工程研究所 碩士論文 內核的一對多串流轉送技術 研究生 : 洪家鋒 指導教授 : 林盈達教授. In-kernel Relay for One-to-Many Streaming 中華民國九十九年六月
國立交通大學 資訊科學與工程研究所 碩士論文 內核的一對多串流轉送技術 In-kernel Relay for One-to-Many Streaming 研究生 : 洪家鋒 指導教授 : 林盈達教授 中華民國九十九年六月 內核的一對多串流轉送技術 In-kernel Relay for One-to-Many Streaming 研究生 : 洪家鋒 指導教授 : 林盈達 Student:Chia-Feng
More informationBTC, EMPREX Wireless Keybaord +Mouse + USB dongle. 6309URF III Quick Installation Guide
BTC, EMPREX 6309URF III Quick Installation Guide Hardware Installation 1. Plug the dongle receiver connector into your available USB port on PC. 2. Make sure the batteries of the keyboard and mouse are
More informationFor each question, indicate whether the statement is true or false by circling T or F, respectively.
True/False For each question, indicate whether the statement is true or false by circling T or F, respectively. 1. (T/F) Rasterization occurs before vertex transformation in the graphics pipeline. 2. (T/F)
More informationDATA STRUCTURES USING C
DATA STRUCTURES USING C Data Structures Overview: System Life Cycle Algorithm Specification Data Abstraction Performance Analysis Performance Measurement What is the "Data Structure"? Ways to represent
More informationChapter 7. Signed/Unsigned Binary Numbers. Digital Arithmetic and Arithmetic Circuits. Unsigned Binary Arithmetic. Basic Rules (Unsigned)
Chapter 7 Digital rithmetic and rithmetic Circuits igned/unsigned inary Numbers igned inary Number: binary number of fixed length whose sign (+/ ) is represented by one bit (usually M) and its magnitude
More information全面強化電路設計與模擬驗證. Addi Lin / Graser 2 / Sep / 2016
全面強化電路設計與模擬驗證 Addi Lin / Graser 2 / Sep / 2016 Agenda OrCAD Design Solution OrCAD Capture 功能應用 OrCAD Capture CIS 介紹 OrCAD PSpice 模擬與驗證 OrCAD Design Solution Powerful and Widely Used Design Solution Front-to-Back
More informationChapter 1. Linear Equations and Straight Lines. 2 of 71. Copyright 2014, 2010, 2007 Pearson Education, Inc.
Chapter 1 Linear Equations and Straight Lines 2 of 71 Outline 1.1 Coordinate Systems and Graphs 1.4 The Slope of a Straight Line 1.3 The Intersection Point of a Pair of Lines 1.2 Linear Inequalities 1.5
More informationGEOMETRIC OBJECTS AND TRANSFORMATIONS I
Computer UNIT Graphics - 4 and Visualization 6 Hrs GEOMETRIC OBJECTS AND TRANSFORMATIONS I Scalars Points, and vectors Three-dimensional primitives Coordinate systems and frames Modelling a colored cube
More informationOperating manual. LawMate WN7911B-ZZ. WiFi Module V 01
羅美國際有限公司 /LawMate International Co., Ltd. 台北市內湖區文湖街 60 巷 34 號 3 樓 /3F, No.34, Lane 60, Wenhu St., Taipei, Taiwan TEL:+886 2-8797-5728 / FAX:+886 2-8797-5727 Operating manual Operating manual LawMate WN7911B-ZZ
More information資工導論 Digital Data Processing 李哲榮
資工導論 Digital Data Processing 李哲榮 What is digitalization? Digitization is the representation of an object, image, sound, document or signal (usually an analog signal) by generating a series of numbers that
More informationRealtime 3D Computer Graphics Virtual Reality
Realtime 3D Computer Graphics Virtual Reality From Vertices to Fragments Overview Overall goal recapitulation: Input: World description, e.g., set of vertices and states for objects, attributes, camera,
More informationUser Guide. 3D Camera
User Guide 3D Camera Over View Weeview's SID Camera offers high resolution 3D video and 3D photo, and live stream in 3D with compatible streaming software. Viewers can truly re-live and re-define the experience.
More information虛擬機 - 惡意程式攻防的新戰場. 講師簡介王大寶, 小時候大家叫他王小寶, 長大後就稱王大寶, 目前隸屬一神祕單位. 雖然佯稱興趣在看書與聽音樂, 但是其實晚上都在打 Game. 長期於系統最底層打滾, 熟悉 ASM,C/C++,
王大寶, PK 虛擬機 - 惡意程式攻防的新戰場 講師簡介王大寶, 小時候大家叫他王小寶, 長大後就稱王大寶, 目前隸屬一神祕單位. 雖然佯稱興趣在看書與聽音樂, 但是其實晚上都在打 Game. 長期於系統最底層打滾, 熟悉 ASM,C/C++, 對於資安毫無任何興趣, 也無經驗, 純粹是被某壞人騙上台, 可以說是不可多得的素人講師!! 議程大綱 : 現今的 CPU 都支援虛擬化專用指令集, 讓 VM
More informationTHREE DIMENSIONAL GEOMETRY
For more important questions visit : www4onocom CHAPTER 11 THREE DIMENSIONAL GEOMETRY POINTS TO REMEMBER Distance between points P(x 1 ) and Q(x, y, z ) is PQ x x y y z z 1 1 1 (i) The coordinates of point
More informationCSCI E-74. Simulation and Gaming
CSCI E-74 Virtual and Augmented Reality for Simulation and Gaming Fall term 2017 Gianluca De Novi, PhD Lesson 3 General Introduction to OpenGL APIs and TRS Perspective Simulation Perspective simulation
More informationA very minimal introduction to TikZ (Jacques Crémer) 2015/08/24
TikZ 繪圖套件 104 學年度第一學期基礎統計 許湘伶 高雄大學統計學研究所 A very minimal introduction to TikZ (Jacques Crémer) 2015/08/24 Outline 1 Introduction 2 Lines 3 Curve 4 Function plot 5 Function plot 6 Label 7 With beamer 8 Loops
More informationgmtex10 : ARGIS_GMT 胡植慶國立臺灣大學地質科學系 Jyr-Ching HU, Department of Geosciences, NTU
gmtex10 : ARGIS_GMT 胡植慶國立臺灣大學地質科學系 Jyr-Ching HU, Department of Geosciences, NTU ArcGMT Extension of ArcView Function 1. convert GMT grid to Arc/INFO grid 2. convert Arc/INFO grid to GMT grid 3. convert
More informationUAK1-C01 USB Interface Data Encryption Lock USB 資料加密鎖. Specifications for Approval
Product Definition C-MING Product Semi-finished Product OEM/ODM Product Component USB Interface Data Encryption Lock USB 資料加密鎖 Specifications for Approval Approval Manager Issued By Revision History Revision
More informationLecture 3 Sections 2.2, 4.4. Mon, Aug 31, 2009
Model s Lecture 3 Sections 2.2, 4.4 World s Eye s Clip s s s Window s Hampden-Sydney College Mon, Aug 31, 2009 Outline Model s World s Eye s Clip s s s Window s 1 2 3 Model s World s Eye s Clip s s s Window
More informationJava 程式設計入門. 講師 : 陳昭源 CSIE, NTU September 28, 2005
Java 程式設計入門 講師 : 陳昭源 CSIE, NTU September 28, 2005 Outline Floating Point & Decimal Numbers Inheritance Polymorphism Design Principles Abstract Exercise Interface September 28, 2005 Page 2 Floating Point
More informationGPIB 儀器控制之概念及軟硬體介紹 研華股份有限公司 工業自動化事業群
GPIB 儀器控制之概念及軟硬體介紹 研華股份有限公司 工業自動化事業群 Outline 1. Introduction to Adavntech GPIB Card 2. Introduction to IEEE 488.1 3. Introduction to IEEE 488.2 & SCPI GPIB History General Purpose Interface Bus 由 HP 於
More informationComputer Graphics (CS 543) Lecture 10 (Part 1): 3D Clipping. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)
Computer Graphics (CS 543) Lecture 10 (Part 1): 3D Clipping Prof Emmanuel Agu Computer Science Dept. Worcester Polytechnic Institute (WPI) Liang Barsky 3D Clipping Goal: Clip object edge-by-edge against
More informationRTL8710BN Build and Debug Environment Setup IAR
Build and Debug Environment Setup IAR This document illustrates how to build Realtek low power Wi Fi software under IAR SDK environment. Table of Contents 1. Introduction...3 2. How to get IAR...3 3. Ameba
More information利用數據與軟體瞭解 讀者行為使用分析與服務平台選項
By using the data and software analysis to study the user experience & the option for the service platform in library field. 利用數據與軟體瞭解 讀者行為使用分析與服務平台選項 周頡 Jeremy Chou EBSCO Information Services Sales Director
More information11 Data Structures Foundations of Computer Science Cengage Learning
11 Data Structures 11.1 Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: 11.2 Define a data structure. Define an array as a data structure
More informationVersion Control with Subversion
Version Control with Subversion 指導教授郭忠義 邱茂森 95598051 1 Table of contents (1) Basic concepts of subversion (1)What is Subversion (2)Version Control System (3)Branching and tagging (4) Repository and Working
More informationA n d r o i d Ta b l e t P C
User Guide for LPT -200AR A n d r o i d Ta b l e t P C Table of Contents 1. Overviewing Product 2. H/W Spec. 3. Wi-Fi Output Power 4. Easy Setting Icons 5. Setting 1. Wi-Fi 2. Bluetooth 3. Airplane mode
More information