Using AVS/Express in an Introductory Computer Graphics Course.

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

Fundamentals of Engineering
AP STUDY SESSION 2.
1
1 Vorlesung Informatik 2 Algorithmen und Datenstrukturen (Parallel Algorithms) Robin Pomplun.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Processes and Operating Systems
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Objectives: Generate and describe sequences. Vocabulary:
UNITED NATIONS Shipment Details Report – January 2006.
Contents In today’s lecture we’ll have a look at:
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
Exit a Customer Chapter 8. Exit a Customer 8-2 Objectives Perform exit summary process consisting of the following steps: Review service records Close.
Create an Application Title 1A - Adult Chapter 3.
Process a Customer Chapter 2. Process a Customer 2-2 Objectives Understand what defines a Customer Learn how to check for an existing Customer Learn how.
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
Custom Services and Training Provider Details Chapter 4.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt BlendsDigraphsShort.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Points, Vectors, Lines, Spheres and Matrices
Polygon Scan Conversion – 11b
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
Solve Multi-step Equations
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.

Break Time Remaining 10:00.
Discrete Math Recurrence Relations 1.
Turing Machines.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
PP Test Review Sections 6-1 to 6-6
CME12, – Rzeszów, Poland Gergely Wintsche Generalization through problem solving Gergely Wintsche Mathematics Teaching and Didactic Center.
Bright Futures Guidelines Priorities and Screening Tables
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Slide 6-1 COMPLEX NUMBERS AND POLAR COORDINATES 8.1 Complex Numbers 8.2 Trigonometric Form for Complex Numbers Chapter 8.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
First Steps using AutoDESK Inventor
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
© 2012 National Heart Foundation of Australia. Slide 2.
Adding Up In Chunks.
Page 1 of 43 To the ETS – Bidding Query by Map Online Training Course Welcome This training module provides the procedures for using Query by Map for a.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
25 seconds left…...
Rational Functions and Models
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Analyzing Genes and Genomes
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Clock will move after 1 minute
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
Murach’s OS/390 and z/OS JCLChapter 16, Slide 1 © 2002, Mike Murach & Associates, Inc.
Copyright Tim Morris/St Stephen's School
Copyright © Cengage Learning. All rights reserved.
Presentation transcript:

Using AVS/Express in an Introductory Computer Graphics Course

2 Course Structure Undergraduate course is a modular scheme Students study 8 modules per year, each one for 15 weeks, for 3 years Second year: Tools for Graphics and Visua lisation Third year: Methods for Graphics and Visualisation

3 Tools for Graphics and Visualisation Uses 2D images to implement some of the standard algorithms in computer graphics:- –draw a circle –rotate, scale, and translate a 2D shape –window to viewport transformation –calculate co-ordinates of intersection of 2 lines –zoom in and out, & pan up/down/left/right –Bezier Curve drawing to fit 4 points

4 Visualisation component Create 3D shape from either: - –2D profile –surface co-ordinates Use AVS/Express to visualise the 3D shape Use AVS/Express to animate the 3D shape

5 Draw a Circle The co-ordinates of any point on the edge of a circle centred at the origin may be obtained from the following equations: - X = Radius*cosine(  ) Y = Radius*sine(  ) where  is the angle in radians between the X axis and a point on the circle (in an anti-clockwise direction)

6 Draw a Circle  =degrees*  /180 X = Radius*cosine(  ) Y = Radius*sine(  )  X-axis Y-axis Radius

7 Create 3D solid from 2D profile Profile Y X Solid of revolution of bottle shape Y X Z

8 Create 3d solid from 2D profile The students use the circle code to generate the X and Z co-ordinates (the Y co-ordinates remain constant for each point on the profile) They also have to generate an extra set of co-ordinates (exactly the same as the first set) to make AVS/Express join the last point up to the first one.

9 Surface Plot Specify a regular grid for the (x,y,z) co-ordinates Student has to generate a height for each co- ordinate based on a random number

10 a b c 3D Surface Randomly modify its new height within limits Create a new mid-way point Make its height the average of the adjacent points

11 Include the diagonals Also along the diagonals based on the heights of the four corners (a, b, c, and d) a b d c

12

13 Field file for a bottle # AVS field file # bottle ndim = 2 dim1 = 21 dim2 = 15 nspace = 3 veclen = 1 data = integer field = irregular

14 Field file for bottle (continued) coord 1 file=bottle.dat filetype=ascii skip=0 offset=0 stride=4 coord 2 file=bottle.dat filetype=ascii skip=0 offset=1 stride=4 coord 3 file=bottle.dat filetype=ascii skip=0 offset=2 stride=4 variable 1 file=bottle.dat filetype=ascii skip=0 offset=3 stride=4

15

16 3D axis with text title Bottle

17 Used crop to reduce the number of horizontal steps drawn Crop

18 Used crop to reduce the number of vertical points drawn Crop

19 Used downsize to reduce the number of steps drawn around the circle Downsize

20 Used downsize to reduce the number of profile points drawn Downsize

21

22 Field file for 3D solid example # AVS field file ndim = 2 dim1 = 9 dim2 = 11 nspace = 3 veclen = 1 data = integer field = irregular

23 Field file (continued) coord 1 file=xmastree.dat filetype= ascii Skip=0 offset=0 stride=4 coord 2 file=xmastree.dat filetype= ascii Skip=0 offset=1 stride=4 coord 3 file=xmastree.dat filetype= ascii Skip=0 offset=2 stride=4 variable 1 file=xmastree.dat filetype=ascii Skip=0 offset=3 stride=4

24

25 Neither downsize nor crop used on the first image

26 Used downsize to reduce the number of steps in each circle Downsize

27 Used downsize to reduce the number of profile points Downsize

28 Used crop to reduce the number of horizontal steps drawn Crop

29 Here is a selection of some other shapes created by the students

30 “Brolly”

31 “Rings”

32 “Speaker”

33 Cross section of a “speaker”

34 Two stroke cylinder

35 Animation using AVS/Express Once an image has been created, the students can animate the image using the keyframe method of animation This creates a series of views (keyframes) AVS/Express can save images from a view Then add frames between the keyframes to produce the animated sequence

36 Key-frame animation Need two images which depict the start and end frames Create an animation sequence by adding frames between the two images The two images must have a reasonable level of coherence

37 AVS/Express AVS/Express interpolates images between a series of captured visualisations Student captures the keyframes Assigns each keyframe to a time step AVS/Express automatically adds the required number of frames between these keyframes to produce an animated sequence

38 Keyframes and interpolated frames keyframes the user defines interpolated frames added by AVS/Express

39 AVS animation features Simple to add/delete/move keyframes If not a regular time interval between keyframes, then specify the time of next frame before adding it Can create a cyclic animation Playback control offers forwards, backwards, and “bounce”

40

41 Keyframe Controls

42 Module Panel Modules pull-down menu Playback the animation

43 Finally... Create 2D profile Create 3D data Use AVS/Express to animate the image Use AVS/Express to visualise the data This is how we teach visualisation in a level 2 module: - What could we do in the level 3 module?