Visualization and Geometric Interpretation of 3D Surfaces Donya Ghafourzadeh

Total Page:16

File Type:pdf, Size:1020Kb

Visualization and Geometric Interpretation of 3D Surfaces Donya Ghafourzadeh LiU-ITN-TEK-A-13/011-SE Visualization and Geometric Interpretation of 3D Surfaces Donya Ghafourzadeh 2013-04-30 Department of Science and Technology Institutionen för teknik och naturvetenskap Linköping University Linköpings universitet nedewS ,gnipökrroN 47 106-ES 47 ,gnipökrroN nedewS 106 47 gnipökrroN LiU-ITN-TEK-A-13/011-SE Visualization and Geometric Interpretation of 3D Surfaces Examensarbete utfört i Medieteknik vid Tekniska högskolan vid Linköpings universitet Donya Ghafourzadeh Handledare George Baravdish Examinator Sasan Gooran Norrköping 2013-04-30 Upphovsrätt Detta dokument hålls tillgängligt på Internet – eller dess framtida ersättare – under en längre tid från publiceringsdatum under förutsättning att inga extra- ordinära omständigheter uppstår. Tillgång till dokumentet innebär tillstånd för var och en att läsa, ladda ner, skriva ut enstaka kopior för enskilt bruk och att använda det oförändrat för ickekommersiell forskning och för undervisning. Överföring av upphovsrätten vid en senare tidpunkt kan inte upphäva detta tillstånd. All annan användning av dokumentet kräver upphovsmannens medgivande. För att garantera äktheten, säkerheten och tillgängligheten finns det lösningar av teknisk och administrativ art. Upphovsmannens ideella rätt innefattar rätt att bli nämnd som upphovsman i den omfattning som god sed kräver vid användning av dokumentet på ovan beskrivna sätt samt skydd mot att dokumentet ändras eller presenteras i sådan form eller i sådant sammanhang som är kränkande för upphovsmannens litterära eller konstnärliga anseende eller egenart. För ytterligare information om Linköping University Electronic Press se förlagets hemsida http://www.ep.liu.se/ Copyright The publishers will keep this document online on the Internet - or its possible replacement - for a considerable time from the date of publication barring exceptional circumstances. The online availability of the document implies a permanent permission for anyone to read, to download, to print out single copies for your own use and to use it unchanged for any non-commercial research and educational purpose. Subsequent transfers of copyright cannot revoke this permission. All other uses of the document are conditional on the consent of the copyright owner. The publisher has taken technical and administrative measures to assure authenticity, security and accessibility. According to intellectual property law the author has the right to be mentioned when his/her work is accessed as described above and to be protected against infringement. For additional information about the Linköping University Electronic Press and its procedures for publication and for assurance of document integrity, please refer to its WWW home page: http://www.ep.liu.se/ © Donya Ghafourzadeh Linköping Studies in Science and Technology Visualization and Geometric Interpretation of 3D Surfaces Donya Ghafourzadeh Department of Science and Technology Linköpings universitet, SE-581 83 Linköping, Sweden Linköping, April 2013 1 Dynamic Visualization for Multivariable Calculus Department of Science and Technology Linköpings universitet SE-581 83 Linköping Sweden 2 Abstract This thesis work presents a web-based interactive program for three-dimensional concepts of Multivariable Calculus course at Linköping University. It is focused on using computer graphics to develop geometric intuition through visualization. This thesis interactively visualizes partial derivatives and optimization concepts which are difficult to teach clearly in a traditional classroom using a two dimensional board. The program is a Netbeans project and is based on the Java programming language and OpenGL libraries, in order to run on all operating systems and obtain high quality 3D visualization results. Java OpenGL (JOGL) provides hardware supported 3D graphics and Swing is used as a Java GUI widget toolkit for designing the graphical user interface. The final results are published on the internet as Java Applet frames and Java Web Start applications to enhance the conceptual understanding of students. Therefore, this thesis promotes the strength of computer graphics and visualization tools in teaching. 3 Acknowledgments First and foremost I would like to thank my examiner, Sasan Gooran and my supervisor, George Baravdish, for their supports, valuable discussions, and granting me the opportunity to pursue this work. Further, I am extremely grateful for Olof Svensson. He gave me many constructive suggestions and made a great working environment for me during my thesis. And I am also very grateful for Paul Seeburger who provided me with valuable guidance and comments. Finally, I dedicate my work to my parents who always encouraged me to forward ahead in the race of life and excavate positive effects in my life. Norrköping, April 2013 Donya Ghafourzadeh 4 Table of contents 1 INTRODUCTION ................................................................................................................................................ 7 1.1 BACKGROUND ....................................................................................................................................................... 7 1.2 AIM AND PURPOSE ................................................................................................................................................. 8 1.3 LIMITATIONS ......................................................................................................................................................... 8 1.4 OUTLINE ................................................................................................................................................................ 8 2 LITERATURE STUDY ........................................................................................................................................ 9 2.1 THEORETICAL FOUNDATIONS OF MATHEMATICS ................................................................................................... 9 2.1.1 Derivative .......................................................................................................................................................... 9 2.1.1.1 Partial Derivatives..................................................................................................................................................... 9 2.1.1.2 Normal Vectors and Tangent Planes ....................................................................................................................... 10 2.1.1.3 Gradient Vectors ..................................................................................................................................................... 11 2.1.1.4 Directional derivatives ............................................................................................................................................ 11 2.1.2 Optimization ................................................................................................................................................... 11 2.1.2.1 Finding and Classifying Critical Points .................................................................................................................. 12 2.1.2.2 Lagrange Multiplier of two variables ...................................................................................................................... 12 2.1.2.3 Contour Plot ............................................................................................................................................................ 13 2.2 TECHNICAL FOUNDATIONS OF COMPUTER GRAPHICS.......................................................................................... 13 2.2.1 JOGL ................................................................................................................................................................ 13 2.2.2 Swing .............................................................................................................................................................. 14 2.2.3 Java Applet...................................................................................................................................................... 14 2.2.4 Java Web Start ................................................................................................................................................ 14 3 STATE OF THE ART ........................................................................................................................................ 15 3.1 MATHEMATICAL EXPRESSION PARSER ................................................................................................................ 15 3.2 USING EVENTS WITH GLCANVAS ........................................................................................................................ 16 3.3 THREE DIMENSIONAL SURFACES ......................................................................................................................... 17 3.4 PARAMETRIC SURFACES ....................................................................................................................................... 18 3.5 REALTIME MOUSE PICKING ................................................................................................................................. 18 3.6 3D PLOT ROTATION ............................................................................................................................................. 19 3.7 CREATING CONTOUR PLOTS ...............................................................................................................................
Recommended publications
  • Intro to Opengl
    Intro to OpenGL CS4620 Lecture 14 Guest Instructor: Nicolas Savva What is OpenGL? ● Open Graphics Library ● A low level API for 2D/3D rendering with the Graphics Hardware (GPU) ● Cross-platform (Windows, OS X, Linux, iOS, Android, ...) ● Developed by SGI in 1992 – 2014: OpenGL 4.5 – 2008: OpenGL 3.0 – 2006: OpenGL 2.1 ● Main alternative: DirectX/3D Cornell CS4620 Fall 2015 How does it fit in? ● Tap massive power of GPU hardware to render images ● Use GPU without caring about the exact details of the hardware Cornell CS4620 Fall 2015 CPU and GPU memory CPU BUS GPU SHADERS B B U U S S B U S F GPU MEMORY B SYSTEM MEMORY Display Cornell CS4620 Fall 2015 What OpenGL does for us ● Controls GPU ● Lets user specify resources...: – Geometry (vertices and primitives) – Textures – Shaders (programmable pieces of rendering pipeline) – Etc. ● ...and use them: – Rasterize and draw geometry Cornell CS4620 Fall 2015 How we will use OpenGL ● OpenGL version – We use 2.x-3.x (plus extensions) – Code avoids older, deprecated parts of OpenGL standard ● LWJGL – Lightweight Java Game Library – Java bindings for OpenGL API ● CS 4620/4621 Framework – Simplifies creating and using OpenGL resources Cornell CS4620 Fall 2015 LWJGL ● OpenGL originally written for C. ● LWJGL contains OpenGL binding for Java www.lwjgl.org/ ● Gives Java interface to C OpenGL commands ● Manages framebuffer (framebuffer: a buffer that holds the image that is displayed on the monitor) Cornell CS4620 Fall 2015 MainGame ● A window which can display GameScreens ● Initializes OpenGL context
    [Show full text]
  • Introduction to Opengl
    433-481 © Pearce 2001 Outline • OpenGL Background and History • Other Graphics Technology •Drawing • Viewing and Transformation • Lighting • JOGL and GLUT • Resources 433-380 Graphics and Computation Introduction to OpenGL Some images in these slides are taken from “The OpenGL Programming Manual”, which is copyright Addison Wesley and the OpenGL Architecture Review Board. http://www.opengl.org/documentation/red_book_1.0/ 2 OpenGL Background and History Other Graphics Technology • OpenGL = Open Graphics Library • Low Level Graphics • Developed at Silicon Graphics (SGI) • OpenGL • Successor to IrisGL • Cross Platform • Scene Graphs, BSPs (Win32, Mac OS X, Unix, Linux) – OpenSceneGraph, Java3D, VRML, • Only does 3D Graphics. No Platform Specifics PLIB (Windowing, Fonts, Input, GUI) • Version 1.4 widely available • DirectX (Direct3D) • Two Libraries – GL (Graphics Library) • Can mix some DirectX with OpenGL (e.g – GLU (Graphics Library Utilities) OpenGL and DirectInput in Quake III) 3 4 Platform Specifics The Drawing Process • Platform Specific OpenGL Interfaces ClearTheScreen(); DrawTheScene(); – Windows (WGL) CompleteDrawing(); – X11 (GLX) SwapBuffers(); – Mac OS X (CGL/AGL/NSOpenGL) – Motif (GLwMwidget) • In animation there are usually two buffers. Drawing usually occurs on the background buffer. When it is complete, it is brought to the – Qt (QGLWidget, QGLContext) front (swapped). This gives a smooth animation without the viewer • Java (JOGL) seeing the actual drawing taking place. Only the final image is viewed. • GLUT (GL Utility Library) • The technique to swap the buffers will depend on which windowing library you are using with OpenGL. 5 6 1 433-481 © Pearce 2001 Clearing the Window Setting the Colour glClearColor(0.0, 0.0, 0.0, 0.0); • Colour is specified in (R,G,B,A) form [Red, Green, Blue, Alpha], with glClear(GL_COLOR_BUFFER_BIT); each value being in the range of 0.0 to 1.0.
    [Show full text]
  • Achieving High and Consistent Rendering Performance of Java AWT/Swing on Multiple Platforms
    SOFTWARE—PRACTICE AND EXPERIENCE Softw. Pract. Exper. 2009; 39:701–736 Published online in Wiley InterScience (www.interscience.wiley.com). DOI: 10.1002/spe.920 Achieving high and consistent rendering performance of Java AWT/Swing on multiple platforms Yi-Hsien Wang and I-Chen Wu∗,† Department of Computer Science, National Chiao Tung University, Hsinchu, Taiwan SUMMARY Wang et al. (Softw. Pract. Exper. 2007; 37(7):727–745) observed a phenomenon of performance incon- sistency in the graphics of Java Abstract Window Toolkit (AWT)/Swing among different Java runtime environments (JREs) on Windows XP. This phenomenon makes it difficult to predict the performance of Java game applications. Therefore, they proposed a portable AWT/Swing architecture, called CYC Window Toolkit (CWT), to provide programmers with high and consistent rendering performance for Java game development among different JREs. They implemented a DirectX version to demonstrate the feasibility of the architecture. This paper extends the above research to other environments in two aspects. First, we evaluate the rendering performance of the original Java AWT with different combi- nations of JREs, image application programming interfaces, system properties and operating systems (OSs), including Windows XP, Windows Vista, Fedora and Mac OS X. The evaluation results indicate that the performance inconsistency of Java AWT also exists among the four OSs, even if the same hardware configuration is used. Second, we design an OpenGL version of CWT, named CWT-GL, to take advantage of modern 3D graphics cards, and compare the rendering performance of CWT with Java AWT/Swing. The results show that CWT-GL achieves more consistent and higher rendering performance in JREs 1.4 to 1.6 on the four OSs.
    [Show full text]
  • CS4621/5621 Fall 2015 Computer Graphics Practicum Intro to Opengl
    CS4621/5621 Fall 2015 Computer Graphics Practicum Intro to OpenGL/GLSL Professor: Kavita Bala Instructor: Nicolas Savva with slides from Balazs Kovacs, Eston Schweickart, Daniel Schroeder, Jiang Huang and Pramook Khungurn over the years. Announcements ● Course website: http://www.cs.cornell.edu/courses/CS4621/2015fa/ ● Piazza for practicum: https://piazza.com/cornell/fall2015/cs46215621/ ● First assignment GPUray (out soon) ● Graphics hardware diagnostic package Books and resources Today ● OpenGL over the decades ● Graphics Pipeline overview ● LWJGL basics (more of this next time) ● GLSL basics (our focus today) ● GPUray GPUray Overview • PPA1: port a simplified version of ray1 to GPU • Mostly deal with the fragment shader • LWJGL bindings (communicating with the GPU) • Shader compiling and linking • GLSL code GPUray Demo What is OpenGL? ● Open Graphics Library ● A low level API for 2D/3D rendering with the Graphics Hardware (GPU) ● Cross-platform (Windows, OS X, Linux, iOS, Android, ...) ● Developed by SGI in 1992 – 2014: OpenGL 4.5 – 2008: OpenGL 3.0 – 2006: OpenGL 2.1 ● Main alternative: DirectX/3D How does it fit in? ● Tap massive power of GPU hardware to render images ● Use GPU without caring about the exact details of the hardware What OpenGL does for us ● Controls GPU ● Lets user specify resources...: – Geometry (vertices and primitives) – Textures – Shaders (programmable pieces of rendering pipeline) – Etc. ● ...and use them: – Rasterize and draw geometry How we will use OpenGL ● OpenGL version – We use 2.x-3.x (plus extensions)
    [Show full text]
  • Opengl ESES Andand M3GM3G
    DevelopingDeveloping MobileMobile 3D3D ApplicationsApplications withwith OpenGLOpenGL ESES andand M3GM3G Kari Pulli Nokia Research Center & MIT CSAIL Jani Vaarala Nokia Ville Miettinen Hybrid Graphics Tomi Aarnio Nokia Research Center Mark Callow HI Corporation Today’sToday’s programprogram • Start at 1:45 • Break 3:30 – 3:45 • Intro • M3G Intro 10 min, Kari Pulli 5 min, Kari Pulli • OpenGL ES overview • M3G API overview 25 min, Kari Pulli 50 min, Tomi Aarnio • Using OpenGL ES • Using M3G 40 min, Jani Vaarala 45 min, Mark Callow • OpenGL ES • Closing & Q&A performance 5 min, Kari Pulli 30 min, Ville Miettinen • End at 5:30 ChallengesChallenges forfor mobilemobile gfxgfx • Small displays – getting much better • Computation – speed – power / batteries – thermal barrier • Memory MobileMobile graphicsgraphics applicationsapplications 3D Menu 3D Games 3D Animation Message from John ppy birt 3D Messaging Location services Advertising GSMGSM world:world: State-of-the-artState-of-the-art inin 20012001 • What’s the world’s most played electronic game? – The Guardian (May 2001) • Communicator demo 2001 – Remake of a 1994 Amiga demo – <10 year from PC to mobile • Began SW 3D engine at Nokia State-of-the-artState-of-the-art inin 2001:2001: JapanJapan (from(from AprilApril // May)May) J-SH51 J-SH07 by SHARP by SHARP Space Channel 5 GENKI 3D Characters ©SEGA/UGA,2001 ©SEGA/UGA,2002 (C) 2001 GENKI Snowboard Rider ©WOW ENTERTAINMENT INC., 2000-2002all rights reserved. ULALA (c)SEGA/UGA.2001 • High-level API with skinning, flat shading / texturing, orthographic
    [Show full text]
  • Javatm Platform Micro Edition Software Development Kit
    JavaTM Platform Micro Edition Software Development Kit Version 3.0 Sun Microsystems, Inc. www.sun.com April 2009 [email protected] Copyright © 2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and in other countries. U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Use is subject to license terms. This distribution may include materials developed by third parties. Sun, Sun Microsystems, the Sun logo, Java, JavaFX, Java 2D, J2SE, Java SE, J2ME, Java ME, Javadoc, JavaTest, JAR, JDK, NetBeans, phoneME, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the U.S. and other countries. Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.
    [Show full text]
  • Interpretive Opengl for Computer Graphics Bo Chen, Harry H
    ARTICLE IN PRESS Computers & Graphics 29 (2005) 331–339 www.elsevier.com/locate/cag Technical section Interpretive OpenGL for computer graphics Bo Chen, Harry H. Chengà Integration Engineering Laboratory, Department of Mechanical and Aeronautical Engineering, University of California, Davis, CA 95616, USA Abstract OpenGL is the industry-leading, cross-platform graphics application programming interface (API), and the only major API with support for virtually all operating systems. Many languages, such as Fortran, Java, Tcl/Tk, and Python, have OpenGL bindings to take advantage ofOpenGL visualization power. In this article, we present Ch OpenGL Toolkit, a truly platform-independent Ch binding to OpenGL for computer graphics. Ch is an embeddable C/ C++ interpreter for cross-platform scripting, shell programming, numerical computing, and embedded scripting. Ch extends C with salient numerical and plotting features. Like some mathematical software packages, such as MATLAB, Ch has built-in support for two and three-dimensional graphical plotting, computational arrays for vector and matrix computation, and linear system analysis with advanced numerical analysis functions based on LAPACK. Ch OpenGL Toolkit allows OpenGL application developers to write applications in a cross-platform environment, and all of the OpenGL application source code can readily run on different platforms without compilation and linking processes. In addition, the syntax ofCh OpenGL Toolkit is identical to C interfaceto OpenGL. Ch OpenGL Toolkit saves OpenGL programmers’ energies for solving problems without struggling with mastering new language syntax. Ch OpenGL Toolkit is embeddable. Embedded Ch OpenGL graphics engine enables graphical application developers or users to dynamically generate and manipulate graphics at run-time.
    [Show full text]
  • 2D Animation of Recursive Backtracking Maze Solution Using Javafx Versus AWT and Swing
    2020 International Conference on Computational Science and Computational Intelligence (CSCI) CSCI-ISSE Full/Regular Research Paper 2D Animation of Recursive Backtracking Maze Solution Using JavaFX Versus AWT and Swing Anil L. Pereira School of Science and Technology Georgia Gwinnett College Lawrenceville, GA, USA [email protected] Abstract—This paper describes software developed by the AWT and Swing have been used widely in legacy software author, that constructs a two-dimensional graphical maze and uses [8]. Even though, software developers claim that there is a steep animation to visualize the recursive backtracking maze solution. learning curve for JavaFX [9], applications using AWT and The software is implemented using three Java graphics Swing are being rewritten with JavaFX. This is because of technologies, Java Abstract Window Toolkit, Java Swing and JavaFX’s look and feel and other features mentioned above. JavaFX. The performance of these technologies is evaluated with Also, the performance is claimed to be better, due to its graphics respect to their graphics rendering frame rate and heap memory rendering pipeline for modern graphics processing units (GPUs) utilization. The scalability of their rendering performance is [10]. This pipeline is comprised of: compared with respect to maze size and resolution of the displayed • A hardware accelerated graphics pipeline called Prism maze. A substantial performance gap between the technologies is reported, and the underlying issues that cause it are discussed, • A windowing toolkit for Prism called Glass such as memory management by the Java virtual machine, and • A Java2D software pipeline for unsupported graphics hardware accelerated graphics rendering. hardware • High-level support for making rich graphics simple Keywords—graphics; animation; JavaFX; Swing; AWT with Effects and 2D and 3D transforms I.
    [Show full text]
  • Sun Java Wireless Toolkit for CLDC User's Guide
    User’s Guide Sun JavaTM Wireless Toolkit for CLDC Version 2.5.2 Sun Microsystems, Inc. www.sun.com v252 September 2007 Copyright © 2007 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and in other countries. U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Use is subject to license terms. This distribution may include materials developed by third parties. Sun, Sun Microsystems, the Sun logo, Java, Javadoc, Java Community Process, JCP,JDK, JRE, J2ME, and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. OpenGL is a registered trademark of Silicon Graphics, Inc. Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.
    [Show full text]
  • A Portable AWT/Swing Architecture for Java Game Development
    SOFTWARE—PRACTICE AND EXPERIENCE Softw. Pract. Exper. 2007; 37:727–745 Published online 2 November 2006 in Wiley InterScience (www.interscience.wiley.com). DOI: 10.1002/spe.786 A portable AWT/Swing architecture for Java game development Yi-Hsien Wang, I-Chen Wu∗,† and Jyh-Yaw Jiang Department of Computer Science, National Chiao Tung University, Hsinchu, Taiwan SUMMARY Recently, the performance of Java platforms has been greatly improved to satisfy the requirements for game development. However, the rendering performance of Java 1.1, which is still used by about one-third of current Web browser users, is not sufficient for high-profile games. Therefore, practically, Java game developers, especially those who use applets, have to take this into consideration in most environments. In order to solve the above problems, this paper proposes a portable window toolkit architecture called the CYC Window Toolkit (CWT) with the ability to: (1) reach high rendering performance particularly in Java 1.1 applications and applets when using DirectX to render widgets in CWT; (2) support AWT/Swing compatible widgets, so hence the CWT can be easily applied to existing Java games; (3) define a general architecture that supports multiple graphics libraries such as AWT, DirectX and OpenGL, multiple virtual machines such as Java VM and .NET CLR, and multiple operating systems (OSs) such as Microsoft Windows, Mac OS and UNIX-based OSs; (4) provide programmers with one-to-one mapping APIs to directly manipulate DirectX objects and other game-related properties. The CWT has also been applied to an online Java game system to demonstrate the proposed architecture.
    [Show full text]
  • An Approach to 3D on the Web Using Java Opengl
    НАУЧНИ ТРУДОВЕ НА РУСЕНСКИЯ УНИВЕРСИТЕТ - 2009, том 48, серия 6.1 An Approach to 3D on the Web using Java OpenGL Tzvetomir Vassilev, Stanislav Kostadinov Един подход към 3D в интернет с използване на Java OpenGL: Статията описва един подход за визуализация на тримерни сцени с използване на Java OpenGL и XML. Разгледани са няколко съществуващи технологии и са описани техните предимства и недостатъци. Предложен е формат базиран върху X3D и Open Inventor и е разработено Java приложение за визуализацията му. С негова помощ могат да се създават аплети за визуализация на тримерни обекти. Размерът на приложението е малък и зареждането му става достатъчно бързо. Изисква се на клиетна да е инсталиран единствено Java plugin за съответния браузер. Key words: 3D visualization, OpenGL, XML. INTRODUCTION Web technologies developed very quickly in the recent years and penetrated many different fields in human life. More and more applications require visualization of three- dimensional (3D) objects. Different graphics libraries and packages have been developed, like OpenGL, Direct3D, Open Inventor, etc. However, there is no common standard and format for the visualization and storage of 3D objects on the Web. This paper describes several existing file formats and technologies for the visualization of 3D data on the web, addressing their features and disadvantages. It proposes a new format, based on Open Inventor and XML and describes a web application, based on Java OpenGL (JOGL). The user does not have to install any additional web browser plug-in for the visualization, apart from the widely used Java standard edition, which on many machines is pre-installed.
    [Show full text]
  • CS480/580 Introduction to Computer Graphics
    CS480/580 Introduction to Computer Graphics Sudhanshu Kumar Semwal http://www.cs.uccs.edu/esemwal EN 180, Department of Computer Science Phone: 262-3545. E-mail: [email protected] Office Hours: Tuesday/Thursday: 7:15pm-8:15pm Wednesday: 11 am-12 pm This course is an introduction to the concepts in Computer Graphics. Programming assignments could be completed using the OpenGL Graphics library, JoGL, or Maya. You can implement your projects on a computer of your choice. Note that a working demo is required for all programming assignments in this class. Please make sure that OpenGL sample programs are working on your system at your earliest convenience, so that programming assignment demon- strations can be shown without any problem. In the past, several students have successfully used their own notebooks, PCs, Linux boxes, Macs. If you are planning to use VisualC++ then you might need several (.dll, .obj) files during compilation/linking which may not be installed at systems which you might be using. Several OpenGL examples are available on Internet sites (e.g. www.opengl.org). Please be aware that you will be responsible for installing necessary software on your system and a working demo is required for all programming assignments. PCs in any of the laboratories could also be used for student demonstrations. Please make sure that you have the required li- braries so that your programs could be recompiled during the demonstration. Please contact me if interested. There are many sites for sample openGL code and compiling instructions as well. For example, (a) Nate Robins tutorial at www.cs.utah.edu/enarobins; 1 (b) www.opengl.org; (c) http://nehe.gamedev.net (d) www.sgi.com/software/opengl; (e) www.cs.unm.edu/e angel.
    [Show full text]