CSE325 Computer Science and Sculpture Prof. George Hart.

Slides:



Advertisements
Similar presentations
STL to DSP CONVERSION Glen Mullineux September 2008.
Advertisements

Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
CSE325 Computer Science and Sculpture Prof. George Hart.
CSE 681 Bounding Volumes. CSE 681 Bounding Volumes Use simple volume enclose object(s) tradeoff for rays where there is extra intersection test for object.
Introduction To 3D Modeling
Computer Graphics Inf4/MSc Computer Graphics Lecture 13 Illumination I – Local Models.
Shared Graphics Skills Cameras and Clipping Planes
CAP4730: Computational Structures in Computer Graphics Visible Surface Determination.
Computer Graphics Visible Surface Determination. Goal of Visible Surface Determination To draw only the surfaces (triangles) that are visible, given a.
In 3DMAX. Autodesk 3ds Max, formerly 3D Studio Max, is 3D computer graphics software for making 3D animations, models, and images. It was developed and.
CSE325 Computer Science and Sculpture Prof. George Hart.
Creating A model by Brooklyn Gose
Business and Computing Deanery 3D Modelling Tools Week 10 File formats and exporting models.
Irrlicht Engine Overview By Eric Osugi. Irrlicht's development started in 2003 with only Nikolaus Gebhardt. Only after the 1.0 release of Irrlicht in.
Meshes Dr. Scott Schaefer. 3D Surfaces Vertex Table.
OBJ File Format 2005/10/03. CAIG Lab,NCTU2 OBJ File Format A text file format First character of each line specifies the type of command #: just some.
Business and Computing Deanery 3D Modelling Week 3 Advanced modelling.
CSE325 Computer Science and Sculpture Prof. George Hart.
CSE325 Computer Science and Sculpture Prof. George Hart.
Content Subdivision First some basics (control point polygon, mesh)
SWE 423: Multimedia Systems Chapter 4: Graphics and Images.
Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation.
3D Concepts Coordinate Systems Coordinates specify points in space 3D coords commonly use X, Y, & Z A vertex is a 'corner' of an object Different coordinate.
Getting started © juhanita2015.
Polygon Shading. Assigning color to a shape to make graphical scenes look realistic, or artistic, or whatever effect we’re attempting to achieve But first.
CS-321 Dr. Mark L. Hornick 1 3-D Object Modeling.
CS 450: Computer Graphics REVIEW: OVERVIEW OF POLYGONS
Polygon Lists & 3-D File Formats Glenn G. Chappell U. of Alaska Fairbanks CS 481/681 Lecture Notes Monday, February 18, 2002.
Modeling Shapes with Polygonal Meshes. 3D Modeling Polygonal meshes capture the shape of complex 3D objects in simple data structures.
SOLID FIGURES SPI
CSE 381 – Advanced Game Programming Basic 3D Graphics
Polygon Modelling. 3D Representation Wire frame NURBS surface Solid Voxel Mesh.
Texture Mapping Applications 2. Parallax Mapping with Slope  parallax mapping assumes that the surface is a single plane  a better approximation  surface.
Lesson 10-6 Solid Figures.
10-6 Three-Dimensional Figures Course 1 Warm Up Warm Up Lesson Presentation Lesson Presentation Problem of the Day Problem of the Day.
Warm-Up Find the area of the kite Question 8 from the Test.
Geometry 10-1 Solids Face: the flat side of a figure
ME6104: CAD. Module 32. ME6104: CAD. Module 32. Systems Realization Laboratory Module 32 CAD-RP Transition ME 6104.
Geometric Modeling. Volumetric o Collection device obtains regular grid of measurement values Examples: CT, MRI, PET, Ultrasound o Values are interpreted/visualized.
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
Computer Graphics Basic 3D Geometry CO2409 Computer Graphics Week 5-1.
Geometric Modeling How to design a graphical model? How to create a digital description of a real-world object? Design Digitize.
GPH 338 Computer Animation Survey
What are these shapes? squarecircletrianglerectangle How many sides do each have? How many points do each have?
Mesh data structure & file format
By Eugene Adams.  Vertices  Edges  Faces  Polygons  Meshes  2D co-ordinates  3D co-ordinates.
CS418 Computer Graphics John C. Hart
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Vertices, Edges and Faces By Jordan Diamond. Vertices In geometry, a vertices is a special kind of point which describes the corners or intersections.
IAT-241 Animation Visualization  Visual thinking  Hand and digital drawing  3D spaces and transformations.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
Render methods. Contents Levels of rendering Wireframe Plain shadow Gouraud Phong Comparison Gouraud-Phong.
What is an STL file To get your model printed you will need to send us an stl file. This is a file format created to take the complexity out of a CAD model.
3D Object Representations. Introduction Line and circle and polygon algorithms- represented simple and smooth object. Some Natural object are neither.
CSc Computer Graphics Algorithm Lecture 20 Overview of 3D Modeling Techniques Ying Zhu Georgia State University.
D&E Communications Computer Science Wing Caputo Hall Dept. of Computer Science Millersville University Millersville, PA.
3D CAD What you need to know…. Main areas of CAD Modelling Techniques Modelling Edits Assembly Materials &Environment Use of Models File Types Basic Terms.
Computer graphics 3D solid modeling.
Ying Zhu Georgia State University
Tutorials available at jamestedder.net
CSc 8820 Advanced Graphics Algorithms
3D Modeling.
Computer Graphics.
Chapter 14 Shading Models.
Introduction to VRML for generating 3-D display
Tutorials available at jamestedder.net
Meshes.
Geometric and Intelligent Computing Laboratory
Viewing Tools V part 3.
Chapter 14 Shading Models.
Presentation transcript:

CSE325 Computer Science and Sculpture Prof. George Hart

Triangulated Surfaces Any 3D form (polyhedral or curved) can be approximated by a triangulated surface. Polygons of 4 or more sides can be divided into triangles. On a computer these are represented by listing the three corners for each triangle. A corner (a vertex) is described by XYZ coordinates

Many Triangles Allow Detail

Polygons Divide into Triangles An n-gon is represented as n-2 triangles 4 sides  25 sides  3 8 sides  6

Triangles in Space Each vertex has (X, Y, Z) coordinates List vertices starting with any of the three List counter-clockwise as seen from outside “Normal vector” points out from object Use “Right-handed” XYZ axes Triangle: (0,0,0) (0,1,0) (0,0,1) Or: (0,1,0) (0,0,1) (0,0,0) Or: (0,0,1) (0,0,0) (0,1,0)

“Right-Handed” Coordinate System

Example Tetrahedron A: (1 1 1) ( ) ( ) B: ( ) ( ) ( ) C: (1 1 1) ( ) ( ) D: (1 1 1) ( ) ( )

Many 3D File Formats Exist 3ds 3D Studio Binary cob Caligari objects scn Caligari lwo, lw LightWave obj Alias WaveFront objects objf Stripe objf file format off Object file format geo AOFF File Format raw RAW File Format rax RAX File Format x Direct X wrl VRML c4d Cinema 4D 3dm, 3dmf 3DMax iob Imagine dxf, dxb AutoCAD DXF 3dm Rhinoceros pro Power Render mts Metastream file flt OpenFlight ase 3D Studio MAX dwg AutoCAD DWG ndo Nendo si SOFTIMAGE spx SPX file format peo, geo Homeworld stl Stereolithography …

Note: We will Simplify A Lot Different 3D formats contain many different ways of describing not just triangles but also polygons, curves, colors, textures, images, lights, cameras, animation, hierarchical structure, annotations, compression, and more that is very useful in rendering images. We’ll ignore all that and just look at triangles Triangles are sufficient for describing form

stl File Format You can create an ASCII stl file in any text editor, e.g., word or wordpad Then view it in any 3D viewing program. Usually a 3D design program (e.g., Maya) is used to create/modify/view the file, but we will make files with a text editor as an exercise to understand the process. The stl file can then be given to a solid freeform fabrication machine to have your form physically created.

stl File Format Create file in any text editor Write a start line, an end line, and a group of 7 lines for each triangle. Triangles can be listed in any order. solid … endsolid

stl File Format For each triangle give 7 lines: facet normal outer loop vertex X Y Z endloop endfacet Only the X Y Z parts need to change for each triangle (Some programs need the “normal”) Easy to “copy” and “paste” in editor

Example stl File Format (ASCII) solid tetrahedron facet normal outer loop vertex vertex vertex endloop endfacet facet normal outer loop vertex vertex vertex endloop endfacet facet normal outer loop vertex vertex vertex endloop endfacet facet normal outer loop vertex vertex vertex endloop endfacet endsolid tetrahedron

Lab exercise Design an object (a pyramid; then an icosahedron) –determine coordinates of vertices –determine triangles Create.stl file in editor Save it with new name, e.g., pyramid.stl Paste in start line, group of 7 lines, and end line Edit it to have enough groups of 7 lines Edit each group to have the three XYZs for one triangle View it in 3D viewing program Find any problems and edit file to fix them

Demo Creating stl file Editing file Viewing file Possible errors: –Incorrect formatting –Unmatched edges –Backwards-facing faces