An Introduction to the Scheme Macro Language in TracePro

Size: px
Start display at page:

Download "An Introduction to the Scheme Macro Language in TracePro"

Transcription

1 An Introduction to the Scheme Macro Language in TracePro Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA

2 Moderator: Andy Knight Technical Sales Manager Lambda Research Corporation Presenter: Dave Jacobsen Senior Application Engineer Lambda Research Corporation

3 Format A minute presentation followed by a minute question and answer session Please submit your questions anytime using Question box in the GoToWebinar control panel

4 An Introduction to the Scheme Macro Language in TracePro Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA

5 In this webinar you will: Gain an understanding as to what the Scheme macro language is and how it can be used in TracePro Discover how you can use the Macro Recorder in TracePro to write Scheme macros without having to write anything Learn how to use the Scheme macro language to automate and simplify tasks in TracePro, such as repetitive raytraces and saving data Watch a demonstration on how to use a Scheme macro to move the sun around a solar concentrator in a TracePro model and automatically save the results

6 In this webinar you will: See an example on how to use the Scheme macro language in conjunction with the Interactive Optimizer in TracePro to automate such tasks as optimizing the position of a lighting source for uniform illumination Have your questions answered in the Question and Answer session

7 Current TracePro Release TracePro (just released) Can be downloaded by anyone with a current Maintenance and Support Agreement

8 An Introduction to the Scheme Macro Language in TracePro

9 What is Scheme? Powerful and flexible macro capability based on the Scheme programming language. Scheme is a dialect of the LISP language, commonly used in artificial intelligence applications The Scheme language is easily extensible. Extends the capabilities of TracePro. Lambda Research has extended Scheme with over 750 commands specific to TracePro. Extends the capabilities of ACIS within TracePro. Spatial Technology (authors of ACIS) and Schemers, Inc. have extended Scheme to include nearly 1000 ACIS-specific commands.

10 Working with Scheme in TracePro Easy implementation through TracePro user interface. The Scheme Editor has context-sensitive highlighting, parenthesis matching, online help, and a DDE interface to TracePro. The Macro Recorder records Scheme commands corresponding to keystrokes and mouse clicks and saves them in a file.

11 Macro Reference Guide in TracePro Searchable Macro Reference Guide with syntax examples. Accessible in TracePro at Help->Macro Reference.

12 Macro Reference Guide in TracePro Searchable Macro Reference Guide with syntax examples. Accessible in TracePro at Help->Macro Reference.

13 Entering Scheme Commands in the Command Line To open Message/Macro Window - Macros->Output

14 An Example: Inserting a Block Step 2 Step 1 Step 1: Type command: (insert:block ) Note: All commands must be enclosed in parenthesis Step 2: Click Execute This will insert a 10 x 10 x 10mm block at the origin

15 An Example: Inserting a Block - Result

16 The Scheme Editor To open the Scheme Editor Macros->Open Editor

17 The Scheme Editor An Example To open the Scheme Editor Macros->Open Editor

18 The Scheme Editor An Example Macro name (define InsertBlock (lambda ( ) (define Block (insert:block )) (property:apply-name Block "WebinarBlock") ) ) Simple Scheme macro to insert a 10 x 10 x 10mm block and rename it WebinarBlock

19 The Scheme Editor An Example Load the macro into TracePro by going to Macros->Execute and then browsing to the location of the macro.

20 The Scheme Editor An Example Step 1 Step 2 To run the macro Type the macro name, (InsertBlock), in the Command line. Remember, the parenthesis must be included. Click Execute

21 The Scheme Editor - An Example - Result

22 The TracePro Macro Recorder The Macro Recorder records Scheme commands corresponding to keystrokes and mouse clicks and saves them in a file. Allows you to write Scheme macros without having to write any code.

23 Steps for Using the TracePro Macro Recorder 1. Start the Macro Recorder Macros->Recorder->Start 2. Define Macro Name 3. Define Filepath and Filename for the macro 4. Perform desired actions in TracePro 5. Stop the Macro Recorder Macros->Recorder->Stop 6. Open New Model Window 7. Load the Macro Macros->Execute and browse the location of the macro 8. Type the name of the macro in the Command line of the Message/Macro window, remember the parenthesis, and then click Execute

24 The TracePro Macro Recorder A Live Demonstration

25 Solar Macro Example

26 Solar Macro Example Path of Sun Sun CPC reflector Solar Cell

27 (define rootpath "C:/TraceProProjects/CPCData/") (define filename "") (define angle "") Solar Macro Example (define SUN (lambda (dist theta phi) (define PI ) (define t (* PI (/ theta 180.0))) (define p (* PI (/ phi 180.0))) (define z (* dist (cos t))) (define x (* dist (sin t) (cos p))) (define y (* dist (sin t) (sin p))) (define raxis (gvector:cross (gvector 0 0 1) (gvector x y z))) (define trans1 (transform:rotation (position 0 0 0) raxis theta)) (define trans2 (transform:translation (gvector x y z))) (define trans (transform:compose trans1 trans2)) (define sunplate (insert:cylcone 1 10)) (property:apply-name sunplate "Sun") (property:apply-name (cadr (entity:faces sunplate)) "emitter") (property:apply-flux-surface-source (cadr (entity:faces sunplate)) ) (entity:transform sunplate trans) (raytrace:set-wavelengths (raytrace:source-get-by-name "Sun/emitter")) )) Note: Math functions in Scheme are Forward Polish Notation Eg. (+ 2 3) = 5

28 Solar Macro Example (define CPC (lambda () (define concentrator (insert:3d-compound-reflector )) (property:apply-name concentrator "CPC") (property:apply-name (car (entity:faces concentrator)) "Innerside") (property:apply-surface (car (entity:faces concentrator)) (list "Perfect Mirror" "Default")) (edit:rotate concentrator ) )) (define SolarCell (lambda () (define die (insert:block )) (property:apply-name die "SolarCell") (property:apply-name (car (entity:faces die)) "detector") (property:apply-surface (car (entity:faces die)) (list "Perfect Absorber" "Default")) (edit:move die ) ))

29 Solar Macro Example (define demo (lambda (from to steps) (define inc (/ (- to from) (- steps 1))) (file:new) (CPC) (SolarCell) (view:set-up (gvector 0 0 1)) (view:set-eye (position )) (do ((i 0 (+ i 1))) ((= i steps )) (define theta (+ from (* i inc))) (print (string-append "Raytracing the sun at theta = " (number->string theta) " degrees")) (define phi (if (>= theta 0.0) 0 180)) (set! angle (* 1 theta)) (set! theta (abs theta)) (if (> i 0) (entity:delete (entity:get-by-name "Sun"))) (SUN 100 theta phi)

30 Solar Macro Example (view:zoom-all) (raytrace:source) (analysis:ray-sorting ) (print (string-append "Flux on target at sun angle of " (number->string angle) " = ")) (display (raytrace:get-incident-flux (entity:get-by-name "detector"))) (newline) (edit:select (entity:get-by-names "SolarCell" "detector")) (analysis:refresh) (analysis:irradiance-normal (gvector 0 0-1)) (analysis:irradiance-up (gvector 0 1 0)) (analysis:irradiance) (window:horizontal-tile) (set! filename (string-append rootpath "_Irradiance at_" (number->string angle) "_degrees.txt")) (analysis:irradiance-save filename) (system:sleep 1000) ) )) (display "Command: (demo fromang toang steps)") (newline) (display "Example: (demo )") (newline)

31 Solar Macro Example A Live Demonstration

32 Scheme Macros and the TracePro Interactive Optimizer

33 Scheme Macros and the TracePro Interactive Optimizer The Scheme macro language can be used in conjunction with the TracePro Interactive Optimizer Utility to extend the capabilities of the optimizer. Examples: Performing Boolean operations on parts sent from the optimizer to TracePro Optimizing spatial and angular positions of objects using the optimization targets defined in the Interactive Optimizer Applying properties to objects sent from the optimizer to TracePro

34 Scheme and the Interactive Optimizer - Example LED lens optimization from June 2011 Webinar on LED Luminaire Design

35 Scheme and the Interactive Optimizer - Example Goal is to optimize angular position of the lenses for best uniformity of a target 10 meters long located 8 meters from the LEDs and lenses

36 Scheme and the Interactive Optimizer - Example Define variable called angle. Initial value is 12-degrees. This is the lower limit for the variable. The upper limit is degrees.

37 Scheme and the Interactive Optimizer - Example Scheme code entered in the After-Scheme column for Object 4

38 Scheme and the Interactive Optimizer - Example angle variable used to define rotation of LEDs and lenses This command runs another Scheme macro loaded in TracePro Scheme code entered in the After-Scheme column for Object 4

39 Scheme and the Interactive Optimizer - Example This Scheme macro names one surface of each LED Emitter and assigns a Surface Source Property to it.

40 Scheme and the Interactive Optimizer - Example Scheme code entered in the Pre-processor column. This code will be run first.

41 Scheme and the Interactive Optimizer - Example This code deletes the copies of the LEDs and Lenses that are made in TracePro

42 Scheme and the Interactive Optimizer - Example Initial Irradiance Map 12-degrees between each LED/Lens

43 Scheme and the Interactive Optimizer - Example Best Result Optimization Log 39 iterations

44 Scheme and the Interactive Optimizer - Example Final Irradiance Map 29.4-degrees between each LED/Lens

45 Scheme and the Interactive Optimizer - Example Final LED and Lens Positions, 29.4-degree separation from center

46 Additional Resources 2-day Scheme programming course at Lambda Research Corp. headquarters in Littleton, Massachusetts Next session, August 18-19, 2011 Schemers Inc. is a company devoted to Scheme education and publishing. (Contact information in TracePro manual.) The SCHEME Programming Language (R. Kent Dybvig) The Schemer s Guide (Second Edition) Getting Started With ACIS Using Scheme Authoritative and highly technical reference on the Scheme language can be found on MIT web site.

47 Special Offers Special Offer #1 $1000 USD off the price of the TracePro Bridge for SolidWorks Special Offer #2 Save 50% on back maintenance and support. Contact your local sales representative for full details. Offers valid May 1 st July 31 st, 2011

48 Thank You

49 Questions and Answers

50 For Additional Information Please Contact: Lambda Research Corporation Littleton, MA

Using TracePro for LED Lighting Design Applications. Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA

Using TracePro for LED Lighting Design Applications. Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA Using TracePro for LED Lighting Design Applications Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA 01460 www.lambdares.com Moderator: Andy Knight Technical Sales Manager Lambda

More information

Optical Reflector Design using the TracePro Interactive Optimizer

Optical Reflector Design using the TracePro Interactive Optimizer Optical Reflector Design using the TracePro Interactive Optimizer Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA 01460 www.lambdares.com Moderator: Andy Knight Technical Sales Manager

More information

Design Verification and Analysis Tools in TracePro. Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA

Design Verification and Analysis Tools in TracePro. Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA Design Verification and Analysis Tools in TracePro Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA 01460 www.lambdares.com Moderator: Andy Knight Technical Sales Manager Lambda Research

More information

How to use the new TracePro Solar Utility for comprehensive solar calculations

How to use the new TracePro Solar Utility for comprehensive solar calculations How to use the new TracePro Solar Utility for comprehensive solar calculations Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA 01460 Moderators: Andy Knight Technical Sales Manager

More information

Tips, Tricks, and Shortcuts to Improve Productivity and Efficiency with TracePro

Tips, Tricks, and Shortcuts to Improve Productivity and Efficiency with TracePro Tips, Tricks, and Shortcuts to Improve Productivity and Efficiency with TracePro Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA 01460 www.lambdares.com Moderator: Andy Knight Technical

More information

Getting Started with TracePro. A TracePro Webinar March 2, 2016

Getting Started with TracePro. A TracePro Webinar March 2, 2016 Getting Started with TracePro A TracePro Webinar March 2, 2016 Presenter Presenter Dave Jacobsen Sr. Application Engineer Lambda Research Corporation Moderator Mike Gauvin Vice President of Sales and Marketing

More information

Accurate LED Source Modeling using TracePro

Accurate LED Source Modeling using TracePro Accurate LED Source Modeling using TracePro Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA 01460 Moderator: Mike Gauvin Vice President of Sales and Marketing Lambda Research Corporation

More information

Ray and Path Sorting in TracePro

Ray and Path Sorting in TracePro Ray and Path Sorting in TracePro A Lambda Research Corporation Webinar December 15, 2016 Presenter Presenter Dave Jacobsen Sr. Application Engineer Lambda Research Corporation Moderator Mike Gauvin Vice

More information

TracePro s Monte Carlo Raytracing Methods, reducing statistical noise, memory usage and raytrace times

TracePro s Monte Carlo Raytracing Methods, reducing statistical noise, memory usage and raytrace times TracePro s Monte Carlo Raytracing Methods, reducing statistical noise, memory usage and raytrace times Presented by : Lambda Research Corporation 25 Porter Rd. Littleton, MA 01460 www.lambdares.com Moderator:

More information

TRACEPRO AN INTRODUCTION TO THE NEW SIMPLIFIED MENU STRUCTURE AND NEW FEATURES. July 15, 2015

TRACEPRO AN INTRODUCTION TO THE NEW SIMPLIFIED MENU STRUCTURE AND NEW FEATURES. July 15, 2015 TRACEPRO 7.6 - AN INTRODUCTION TO THE NEW SIMPLIFIED MENU STRUCTURE AND NEW FEATURES July 15, 2015 Presenter Presenter Mike Gauvin Vice President of Sales and Marketing Lambda Research Corporation Moderator

More information

Optimizing the TracePro Optimization Process

Optimizing the TracePro Optimization Process Optimizing the TracePro Optimization Process A TracePro Webinar December 17, 2014 Presenter Presenter Dave Jacobsen Sr. Application Engineer Lambda Research Corporation Moderator Mike Gauvin Vice President

More information

Update Guide Release 7.6 Revised: 26-Feb-2015

Update Guide Release 7.6 Revised: 26-Feb-2015 Update Guide Release 7.6 Revised: 26-Feb-2015 Lambda Research Corporation 25 Porter Road Littleton, MA 01460 USA Tel. (+1) 978-486-0766 support@lambdares.com Lambda Research Corporation COPYRIGHT AND

More information

TracePro Stray Light Simulation

TracePro Stray Light Simulation TracePro Stray Light Simulation What Is Stray Light? A more descriptive term for stray light is unwanted light. In an optical imaging system, stray light is caused by light from a bright source shining

More information

Elliptical Reflector Tutorial. 6/16/2000 TracePro Elliptical Reflector Tutorial 1

Elliptical Reflector Tutorial. 6/16/2000 TracePro Elliptical Reflector Tutorial 1 Elliptical Reflector Tutorial 6/16/2000 TracePro Elliptical Reflector Tutorial 1 Opening the Elliptical Reflector File Open the File Menu and select the Open option. A Open file dialog box will appear.

More information

MODELING LED LIGHTING COLOR EFFECTS IN MODERN OPTICAL ANALYSIS SOFTWARE LED Professional Magazine Webinar 10/27/2015

MODELING LED LIGHTING COLOR EFFECTS IN MODERN OPTICAL ANALYSIS SOFTWARE LED Professional Magazine Webinar 10/27/2015 MODELING LED LIGHTING COLOR EFFECTS IN MODERN OPTICAL ANALYSIS SOFTWARE LED Professional Magazine Webinar 10/27/2015 Presenter Dave Jacobsen Senior Application Engineer at Lambda Research Corporation for

More information

This tutorial illustrates how to use TracePro for the analysis of LCD Back Lights. The steps include:

This tutorial illustrates how to use TracePro for the analysis of LCD Back Lights. The steps include: Requirements Models: None Properties: None Editions: TracePro Expert Introduction This tutorial illustrates how to use TracePro for the analysis of LCD Back Lights. The steps include: Generating a solid

More information

Ghost and Stray Light Analysis using TracePro. February 2012 Webinar

Ghost and Stray Light Analysis using TracePro. February 2012 Webinar Ghost and Stray Light Analysis using TracePro February 2012 Webinar Moderator: Andy Knight Technical Sales Manager Lambda Research Corporation Presenter: Michael Gauvin Vice President of Sales Lambda Research

More information

Bulb & Reflector. Opening a File

Bulb & Reflector. Opening a File Opening a File Open the File Menu and select the Open option. A Open file dialog box will appear. After the Open file Dialog box appears click on the file eliprefl filename with the left mouse button to

More information

Fluorescence. Requirements. Introduction. Models: FluorescenceExampleBegin.oml. Properties: FluorescenceExampleProperties.txt

Fluorescence. Requirements. Introduction. Models: FluorescenceExampleBegin.oml. Properties: FluorescenceExampleProperties.txt Fluorescence Requirements Models: FluorescenceExampleBegin.oml Properties: FluorescenceExampleProperties.txt Editions: TracePro Expert Introduction TracePro Expert is capable of modeling fluorescent material.

More information

Illumination Design, Analysis, and Optimization Software

Illumination Design, Analysis, and Optimization Software SUPERIOR OPTO-MECHANICAL SOFTWARE Illumination Design, Analysis, and Optimization Software TracePro is award-winning opto-mechanical software used for design, analysis, and optimization of optical and

More information

TracePro Tutorial Tissue Optics

TracePro Tutorial Tissue Optics TracePro Tutorial Tissue Optics Splitting the Screen To view the System Tree, select Window Split, then drag the mouse to the right to position the vertical splitter bar. Alternatively, you can place your

More information

Update Guide Release 7.7 Revised: 03-Feb-2016

Update Guide Release 7.7 Revised: 03-Feb-2016 Update Guide Release 7.7 Revised: 03-Feb-2016 Lambda Research Corporation 25 Porter Road Littleton, MA 01460 USA Tel. (+1) 978-486-0766 support@lambdares.com Lambda Research Corporation COPYRIGHT AND

More information

Update Guide Release Revised: 03-Aug-2018

Update Guide Release Revised: 03-Aug-2018 Update Guide Release 2018.4 Revised: 03-Aug-2018 Lambda Research Corporation 25 Porter Road Littleton, MA 01460 USA Tel. (+1) 978-486-0766 support@lambdares.com Lambda Research Corporation COPYRIGHT AND

More information

Update Guide Release Revised: 07-Dec-2018

Update Guide Release Revised: 07-Dec-2018 Update Guide Release 2018.6 Revised: 07-Dec-2018 Lambda Research Corporation 25 Porter Road Littleton, MA 01460 USA Tel. (+1) 978-486-0766 support@lambdares.com Lambda Research Corporation COPYRIGHT AND

More information

Textured RepTile Backlight

Textured RepTile Backlight Requirements Models: None Properties: None Editions: TracePro Expert Introduction There are a number of optical systems that use small, repeated optical geometry to perform. Examples include the structure

More information

Scheme Tutorial. Introduction. The Structure of Scheme Programs. Syntax

Scheme Tutorial. Introduction. The Structure of Scheme Programs. Syntax Scheme Tutorial Introduction Scheme is an imperative language with a functional core. The functional core is based on the lambda calculus. In this chapter only the functional core and some simple I/O is

More information

Software for Opto-Mechanical Modeling. RayViz Installation Guide Release Revision 10/24/2018

Software for Opto-Mechanical Modeling. RayViz Installation Guide Release Revision 10/24/2018 Software for Opto-Mechanical Modeling RayViz Installation Guide Release 2018 Revision 10/24/2018 Lambda Research Corporation 25 Porter Road Littleton, MA 01460-1434 USA Tel. (+1) 978-486-0766 FAX (+1)

More information

Optimize Structured LCD Backlight Components Accurately and Quickly

Optimize Structured LCD Backlight Components Accurately and Quickly T E C H N I C A L N O T E Optimize Structured LCD Backlight Components Accurately and Quickly With TracePro Opto-Mechanical Design Software s Textured RepTile Optimization Utility TracePro s Textured RepTile

More information

NEAR FIELD GONIOMETRIC SYSTEMS FOR SOLID STATE LIGHTING: LUMINANCE, INTENSITY, COLOR, AND

NEAR FIELD GONIOMETRIC SYSTEMS FOR SOLID STATE LIGHTING: LUMINANCE, INTENSITY, COLOR, AND NEAR FIELD GONIOMETRIC SYSTEMS FOR SOLID STATE LIGHTING: LUMINANCE, INTENSITY, COLOR, AND SPECTRA AS A FUNCTION OF ANGLE Douglas Kreysar Chief Operating Officer Presentation Outline What is a Near Field

More information

The Closest Thing to Working at the Speed of Light.

The Closest Thing to Working at the Speed of Light. Software for Opto-Mechanical Modeling The Closest Thing to Working at the Speed of Light. Lambda Research Corporation 80 Taylor Street P.O. Box 1400 8230 East Broadway, Suite E2 Littleton, MA 01460-4400

More information

Lightpipe. Requirements. Introduction. This example shows you how to create and analyze a lightpipe using TracePro.

Lightpipe. Requirements. Introduction. This example shows you how to create and analyze a lightpipe using TracePro. Requirements Models: None Properties: None Editions: TracePro LC, Standard and Expert Introduction In this tutorial we will be creating a curved light pipe from scratch. This example shows you how to create

More information

Scheme. Functional Programming. Lambda Calculus. CSC 4101: Programming Languages 1. Textbook, Sections , 13.7

Scheme. Functional Programming. Lambda Calculus. CSC 4101: Programming Languages 1. Textbook, Sections , 13.7 Scheme Textbook, Sections 13.1 13.3, 13.7 1 Functional Programming Based on mathematical functions Take argument, return value Only function call, no assignment Functions are first-class values E.g., functions

More information

Coupling FEA Analysis and Solid Model Ray Tracing to look at Focal Plane Deformations

Coupling FEA Analysis and Solid Model Ray Tracing to look at Focal Plane Deformations Coupling FEA Analysis and Solid Model Ray Tracing to look at Focal Plane Deformations By Tom Brokaw OPTI 521 Tutorial Model of a 5 foot diameter solar collector (F1 parabola), a 1 ft diameter receiver

More information

Functional Programming. Pure Functional Programming

Functional Programming. Pure Functional Programming Functional Programming Pure Functional Programming Computation is largely performed by applying functions to values. The value of an expression depends only on the values of its sub-expressions (if any).

More information

Installation Guide Release 7.0

Installation Guide Release 7.0 Optics Software for Layout and Optimization Installation Guide Release 7.0 Revision 05/25/2017 Lambda Research Corporation 25 Porter Road Littleton, MA 01460 Tel. 978-486-0766 FAX 978-486-0755 support@lambdares.com

More information

TracePro Revision History

TracePro Revision History TracePro Revision History Version 3.3 V3.3.7 New: Coating DLL surface properties have been enhanced. DLL writer can work in a mode where ray directions and Stokes vector parameters are sent from the DLL

More information

TracePro Tutorial: Creating Source Files

TracePro Tutorial: Creating Source Files TracePro Tutorial: Requirements Models: None Properties: None Editions: TracePro LC, Standard or Expert Introduction A file containing ray data can be inserted into a TracePro model and used as a source.

More information

Ray Tracing. Johns Hopkins Department of Computer Science Course : Rendering Techniques, Professor: Jonathan Cohen

Ray Tracing. Johns Hopkins Department of Computer Science Course : Rendering Techniques, Professor: Jonathan Cohen Ray Tracing Recursive Ray Tracing Gather light from various directions by tracing rays Each pixel shows light at a surface trace ray from eye to surface Each surface illuminated by lights and other surfaces

More information

SCHEME 8. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. March 23, 2017

SCHEME 8. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. March 23, 2017 SCHEME 8 COMPUTER SCIENCE 61A March 2, 2017 1 Introduction In the next part of the course, we will be working with the Scheme programming language. In addition to learning how to write Scheme programs,

More information

Daylight illumination system by vertical Transparent Prismatic Lightguide for an office building

Daylight illumination system by vertical Transparent Prismatic Lightguide for an office building 360 Daylight illumination system by vertical Transparent Prismatic Lightguide for an office building Antonio ALVAREZ FERNANDEZ-BALBUENA* Researcher, E-mail: antonioa@opt.ucm.es Daniel VAZQUEZ-MOLINÍ* Professor,

More information

Summer 2017 Discussion 10: July 25, Introduction. 2 Primitives and Define

Summer 2017 Discussion 10: July 25, Introduction. 2 Primitives and Define CS 6A Scheme Summer 207 Discussion 0: July 25, 207 Introduction In the next part of the course, we will be working with the Scheme programming language. In addition to learning how to write Scheme programs,

More information

Documentation for LISP in BASIC

Documentation for LISP in BASIC Documentation for LISP in BASIC The software and the documentation are both Copyright 2008 Arthur Nunes-Harwitt LISP in BASIC is a LISP interpreter for a Scheme-like dialect of LISP, which happens to have

More information

Topic 9: Lighting & Reflection models 9/10/2016. Spot the differences. Terminology. Two Components of Illumination. Ambient Light Source

Topic 9: Lighting & Reflection models 9/10/2016. Spot the differences. Terminology. Two Components of Illumination. Ambient Light Source Topic 9: Lighting & Reflection models Lighting & reflection The Phong reflection model diffuse component ambient component specular component Spot the differences Terminology Illumination The transport

More information

Software for Opto-Mechanical Modeling. RayViz for SolidWorks User s Manual Release Revision 6/6/2017

Software for Opto-Mechanical Modeling. RayViz for SolidWorks User s Manual Release Revision 6/6/2017 Software for Opto-Mechanical Modeling RayViz for SolidWorks User s Manual Release 7.8.1 Revision 6/6/2017 Lambda Research Corporation 25 Porter Road Littleton, MA 01460 Tel. 978-486-0766 FAX 978-486-0755

More information

Topic 9: Lighting & Reflection models. Lighting & reflection The Phong reflection model diffuse component ambient component specular component

Topic 9: Lighting & Reflection models. Lighting & reflection The Phong reflection model diffuse component ambient component specular component Topic 9: Lighting & Reflection models Lighting & reflection The Phong reflection model diffuse component ambient component specular component Spot the differences Terminology Illumination The transport

More information

Scheme procedures can be used with the Scheme AIDE demonstration application or any other Scheme based application.

Scheme procedures can be used with the Scheme AIDE demonstration application or any other Scheme based application. Chapter 2. Scheme Procedures This chapter describes how to write Scheme procedures to enhance the functionality provided in the Scheme ACIS Interface Driver Extension (Scheme AIDE. Scheme AIDE (formerly

More information

TracePro Revision History

TracePro Revision History TracePro Revision History TracePro 2018 Release (Version 18.2) New: Add functionality to update models from RayViz 5427, 6254 New: File Sources now contribute to Photo Realistic Rendering 6381 Update:

More information

FRESNEL LENS. Examples. RepTile Examples CHAPTER 9. Fresnel lens. RepTile Examples

FRESNEL LENS. Examples. RepTile Examples CHAPTER 9. Fresnel lens. RepTile Examples CHAPTER 9 FRESNEL LENS RepTile Examples Examples RepTile Examples Expert In general, the steps involved in using RepTile surfaces consist of first creating a RepTile surface property within TracePro and

More information

Person s Optics Test SSSS

Person s Optics Test SSSS Person s Optics Test SSSS 2017-18 Competitors Names: School Name: All questions are worth one point unless otherwise stated. Show ALL WORK or you may not receive credit. Include correct units whenever

More information

Today we will start to look at illumination models in computer graphics

Today we will start to look at illumination models in computer graphics 1 llumination Today we will start to look at illumination models in computer graphics Why do we need illumination models? Different kinds lights Different kinds reflections Basic lighting model 2 Why Lighting?

More information

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ = Radiometry (From Intro to Optics, Pedrotti -4) Radiometry is measurement of Emag radiation (light) Consider a small spherical source Total energy radiating from the body over some time is Q total Radiant

More information

Radiometry (From Intro to Optics, Pedrotti 1-4) Radiometry is measurement of Emag radiation (light) Consider a small spherical source Assume a black

Radiometry (From Intro to Optics, Pedrotti 1-4) Radiometry is measurement of Emag radiation (light) Consider a small spherical source Assume a black Radiometry (From Intro to Optics, Pedrotti -4) Radiometry is measurement of Emag radiation (light) Consider a small spherical source Assume a black body type emitter: uniform emission Total energy radiating

More information

Using the Discrete Ordinates Radiation Model

Using the Discrete Ordinates Radiation Model Tutorial 6. Using the Discrete Ordinates Radiation Model Introduction This tutorial illustrates the set up and solution of flow and thermal modelling of a headlamp. The discrete ordinates (DO) radiation

More information

CS 325 Computer Graphics

CS 325 Computer Graphics CS 325 Computer Graphics 04 / 02 / 2012 Instructor: Michael Eckmann Today s Topics Questions? Comments? Illumination modelling Ambient, Diffuse, Specular Reflection Surface Rendering / Shading models Flat

More information

Enhanced Coating DLL. API Specification. Lambda Research Corporation

Enhanced Coating DLL. API Specification. Lambda Research Corporation Enhanced Coating DLL API Specification Lambda Research Corporation (last updated May 23, 2017) 1 Introduction This API specification identifies all function calls and parameters passed between the main

More information

POLYHEDRAL SPECULAR REFLECTOR

POLYHEDRAL SPECULAR REFLECTOR 32 C h a p t e r 3 POLYHEDRAL SPECULAR REFLECTOR The goal of the Full Spectrum Photovoltaics Project was to design and prototype a 50% module efficiency photovoltaic system. Of the three designs we initially

More information

SCHEME 7. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. October 29, 2015

SCHEME 7. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. October 29, 2015 SCHEME 7 COMPUTER SCIENCE 61A October 29, 2015 1 Introduction In the next part of the course, we will be working with the Scheme programming language. In addition to learning how to write Scheme programs,

More information

Anidolic Daylight Concentrator of Structural Translucent Concrete Envelope

Anidolic Daylight Concentrator of Structural Translucent Concrete Envelope Berkeley Education Alliance for Research in Singapore Singapore-Berkeley Building Efficiency and Sustainability in the Tropics Anidolic Daylight Concentrator of Structural Translucent Concrete Envelope

More information

Improved and customized secondary optics for photo-voltaic concentrators

Improved and customized secondary optics for photo-voltaic concentrators Improved and customized secondary optics for photo-voltaic concentrators Daniel Vázquez a, A. Álvarez Fernández-Balbuenaa, Ángel García-Botellab, and Javier Alda a a Applied Optics Complutense Group, University

More information

Functional programming in LISP

Functional programming in LISP Programming Languages Week 4 Functional programming in LISP College of Information Science and Engineering Ritsumeikan University review of part 3 enumeration of dictionaries you receive a sequence of

More information

Reflection and Refraction

Reflection and Refraction Reflection and Refraction INTRODUCTION Geometric optics is one of the oldest branches of physics, dealing with the laws of refraction and reflection. The law of reflection 1 was known to the ancient Greeks

More information

Assignment 8 Due November 29, Problems

Assignment 8 Due November 29, Problems Assignment 8 Due November 29, 2011 Text readings Fresnel equations, chapter 4.6 Polarization, chapter 8, sections 1, 2, 3, 5, 6, 7, and 8. Problems Problem 1 Polarization by Reflection: Given a polarizer

More information

Computer Graphics. Illumination Models and Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL

Computer Graphics. Illumination Models and Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL Computer Graphics Chapter 10 llumination Models and Surface-Rendering Methods Somsak Walairacht, Computer Engineering, KMTL Outline Light Sources Surface Lighting Effects Basic llumination Models Polygon

More information

Scattering measurements. Guidelines for measurements service

Scattering measurements. Guidelines for measurements service Scattering measurements Guidelines for measurements service 1 Content Introduction Light Tec Presentation Instruments availalable. Scattering measurements Refelctors Diffusers Colors issuses Volume Scattering

More information

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ = Radiometry (From Intro to Optics, Pedrotti -4) Radiometry is measurement of Emag radiation (light) Consider a small spherical source Total energy radiating from the body over some time is Q total Radiant

More information

Modern Programming Languages. Lecture LISP Programming Language An Introduction

Modern Programming Languages. Lecture LISP Programming Language An Introduction Modern Programming Languages Lecture 18-21 LISP Programming Language An Introduction 72 Functional Programming Paradigm and LISP Functional programming is a style of programming that emphasizes the evaluation

More information

Chapter 36. Image Formation

Chapter 36. Image Formation Chapter 36 Image Formation Apr 22, 2012 Light from distant things We learn about a distant thing from the light it generates or redirects. The lenses in our eyes create images of objects our brains can

More information

Global Illumination The Game of Light Transport. Jian Huang

Global Illumination The Game of Light Transport. Jian Huang Global Illumination The Game of Light Transport Jian Huang Looking Back Ray-tracing and radiosity both computes global illumination Is there a more general methodology? It s a game of light transport.

More information

11/6/17. Functional programming. FP Foundations, Scheme (2) LISP Data Types. LISP Data Types. LISP Data Types. Scheme. LISP: John McCarthy 1958 MIT

11/6/17. Functional programming. FP Foundations, Scheme (2) LISP Data Types. LISP Data Types. LISP Data Types. Scheme. LISP: John McCarthy 1958 MIT Functional programming FP Foundations, Scheme (2 In Text: Chapter 15 LISP: John McCarthy 1958 MIT List Processing => Symbolic Manipulation First functional programming language Every version after the

More information

CS 314 Principles of Programming Languages

CS 314 Principles of Programming Languages CS 314 Principles of Programming Languages Lecture 16: Functional Programming Zheng (Eddy Zhang Rutgers University April 2, 2018 Review: Computation Paradigms Functional: Composition of operations on data.

More information

Advanced Lens Design

Advanced Lens Design Advanced Lens Design Lecture 3: Optimization II 2013-10-29 Herbert Gross Winter term 2013 www.iap.uni-jena.de 2 Preliminary Schedule 1 15.10. Introduction Paraxial optics, ideal lenses, optical systems,

More information

Chapter 10. Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL

Chapter 10. Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL Computer Graphics Chapter 10 llumination Models and Surface-Rendering Methods Somsak Walairacht, Computer Engineering, KMTL 1 Outline Light Sources Surface Lighting Effects Basic llumination Models Polygon

More information

LightTools Illumination Design Software

LightTools Illumination Design Software LightTools Illumination Design Software Design, Analyze, Optimize and Deliver Illumination Optics synopsys.com/optical-solutions Design Highlights Design Highlights at a Glance Smart system modeling with

More information

Measuring Light: Radiometry and Photometry

Measuring Light: Radiometry and Photometry Lecture 10: Measuring Light: Radiometry and Photometry Computer Graphics and Imaging UC Berkeley CS184/284A, Spring 2016 Radiometry Measurement system and units for illumination Measure the spatial properties

More information

Name: Jonathan Smartt Title: Thin Lenses Investigation Date of Lesson: Week 2, Day 2 Technology Lesson: Yes Length: 75 minutes Course: Physics Grade

Name: Jonathan Smartt Title: Thin Lenses Investigation Date of Lesson: Week 2, Day 2 Technology Lesson: Yes Length: 75 minutes Course: Physics Grade Name: Jonathan Smartt Title: Thin Lenses Investigation Date of Lesson: Week 2, Day 2 Technology Lesson: Yes Length: 75 minutes Course: Physics Grade Level: 11 th or 12 th Source: Some information taken

More information

EO-1 Stray Light Analysis Report No. 3

EO-1 Stray Light Analysis Report No. 3 EO-1 Stray Light Analysis Report No. 3 Submitted to: MIT Lincoln Laboratory 244 Wood Street Lexington, MA 02173 P.O. # AX-114413 May 4, 1998 Prepared by: Lambda Research Corporation 80 Taylor Street P.O.

More information

Update Guide Release 6.6

Update Guide Release 6.6 Optics Software for Layout and Optimization Update Guide Release 6.6 Revised: 7-May-2012 Lambda Research Corporation 25 Porter Road Littleton, MA 01460 USA support@lambdares.com www.lambdares.com Lambda

More information

TI-84+ GC 3: Order of Operations, Additional Parentheses, Roots and Absolute Value

TI-84+ GC 3: Order of Operations, Additional Parentheses, Roots and Absolute Value Rev 6--11 Name Date TI-84+ GC : Order of Operations, Additional Parentheses, Roots and Absolute Value Objectives: Review the order of operations Observe that the GC uses the order of operations Use parentheses

More information

Mastering the Visual LISP Integrated Development Environment

Mastering the Visual LISP Integrated Development Environment Mastering the Visual LISP Integrated Development Environment R. Robert Bell Sparling SD7297 How do you create and edit your AutoLISP programming language software code? Are you using a text editor such

More information

Light collection engines with micro compound-eye arrays for pico-projection displays

Light collection engines with micro compound-eye arrays for pico-projection displays 5th International Conference on Mechanical Engineering, Materials and Energy (ICMEME 2016) Light collection engines with micro compound-eye arrays for pico-projection displays Heng ZHAO*, Jun WANG, Qing

More information

OPSE FINAL EXAM Fall CLOSED BOOK. Two pages (front/back of both pages) of equations are allowed.

OPSE FINAL EXAM Fall CLOSED BOOK. Two pages (front/back of both pages) of equations are allowed. CLOSED BOOK. Two pages (front/back of both pages) of equations are allowed. YOU MUST SHOW YOUR WORK. ANSWERS THAT ARE NOT JUSTIFIED WILL BE GIVEN ZERO CREDIT. ALL NUMERICAL ANSERS MUST HAVE UNITS INDICATED.

More information

Mathematics of Rainbows

Mathematics of Rainbows Mathematics of Rainbows MATH 171 Freshman Seminar for Mathematics Majors J. Robert Buchanan Department of Mathematics 2010 What is a Rainbow? A rainbow is created by water, sunlight, and the principles

More information

LightTools Illumination Design Software. Design, Analyze, Optimize and Deliver Illumination Optics

LightTools Illumination Design Software. Design, Analyze, Optimize and Deliver Illumination Optics LightTools Illumination Design Software Design, Analyze, Optimize and Deliver Illumination Optics Design Highlights Design Highlights at a Glance ``Smart system modeling with full optical accuracy and

More information

Simple Low Concentrating Module Design Increases Solar Cell Output 25%

Simple Low Concentrating Module Design Increases Solar Cell Output 25% Simple Low Concentrating Module Design Increases Solar Cell Output 25% 3D Solar: The Next Dimension In Solar Power May 16, 2012 to WREF 2012 Denver, CO by Daniel Simon Overview of WREF 2012 Paper 3D Solar

More information

Research Article Concept of Bee-Eyes Array of Fresnel Lenses as a Solar Photovoltaic Concentrator System

Research Article Concept of Bee-Eyes Array of Fresnel Lenses as a Solar Photovoltaic Concentrator System Photonics Volume 2015, Article ID 327342, 6 pages http://dx.doi.org/10.1155/2015/327342 Research Article Concept of Bee-Eyes Array of Fresnel Lenses as a Solar Photovoltaic Concentrator System Nura Liman

More information

Scheme Extension: Chapter 2. bool:chop

Scheme Extension: Chapter 2. bool:chop Chapter 2. Scheme Extensions Topic: Ignore Scheme is a public domain programming language, based on the LISP language, that uses an interpreter to run commands. ACIS provides extensions (written in C++)

More information

Interference of Light

Interference of Light Lecture 22 Chapter 22 Physics II Wave Optics: Interference of Light Course website: http://faculty.uml.edu/andriy_danylov/teaching/physicsii Wave Motion Interference Models of Light (Water waves are Easy

More information

Microsoft Word for Report-Writing (2016 Version)

Microsoft Word for Report-Writing (2016 Version) Microsoft Word for Report-Writing (2016 Version) Microsoft Word is a versatile, widely-used tool for producing presentation-quality documents. Most students are well-acquainted with the program for generating

More information

Scheme: Expressions & Procedures

Scheme: Expressions & Procedures Scheme: Expressions & Procedures CS F331 Programming Languages CSCE A331 Programming Language Concepts Lecture Slides Friday, March 31, 2017 Glenn G. Chappell Department of Computer Science University

More information

Measuring Light: Radiometry and Photometry

Measuring Light: Radiometry and Photometry Lecture 14: Measuring Light: Radiometry and Photometry Computer Graphics and Imaging UC Berkeley Radiometry Measurement system and units for illumination Measure the spatial properties of light New terms:

More information

Reflection W.S. 2. A periscope has a pair of mirrors in it. Draw the light path from the object to the eye of the observer.

Reflection W.S. 2. A periscope has a pair of mirrors in it. Draw the light path from the object to the eye of the observer. Reflection W.S. 1. Light from a flashlight shines on a mirror and illuminates one of the cards. Draw the reflected beam to indicate the illuminated card. Which card would you see? 2. A periscope has a

More information

FRED Display Application Note

FRED Display Application Note FRED Display Application Note Most displays consist of several optical components. The most important component is the source of light that illuminates the display. All displays need a mechanism to send

More information

Computational Mathematics/Information Technology. Worksheet 2 Iteration and Excel

Computational Mathematics/Information Technology. Worksheet 2 Iteration and Excel Computational Mathematics/Information Technology Worksheet 2 Iteration and Excel This sheet uses Excel and the method of iteration to solve the problem f(x) = 0. It introduces user functions and self referencing

More information

Analysis of a 4 Bar Crank-Rocker Mechanism Using COSMOSMotion

Analysis of a 4 Bar Crank-Rocker Mechanism Using COSMOSMotion Analysis of a 4 Bar Crank-Rocker Mechanism Using COSMOSMotion ME345: Modeling and Simulation Professor Frank Fisher Stevens Institute of Technology Last updated: June 29th, 2009 Table of Contents 1. Introduction

More information

COP4020 Programming Languages. Functional Programming Prof. Robert van Engelen

COP4020 Programming Languages. Functional Programming Prof. Robert van Engelen COP4020 Programming Languages Functional Programming Prof. Robert van Engelen Overview What is functional programming? Historical origins of functional programming Functional programming today Concepts

More information

I. Create the basic Analysis:

I. Create the basic Analysis: I. Create the basic Analysis: 1) Create a new analysis from the Finance General Ledger subject area. 2) Add the following fields: Fund, Object Group, Actuals, Actuals, Actuals, Actuals 3) Add the 3 standard

More information

Orientation. How do I use SYNOPSYS? What does it do?

Orientation. How do I use SYNOPSYS? What does it do? Orientation How do I use SYNOPSYS? What does it do? Those are both important questions, and the orientation in this section will make it easier for you to understand what s going on when you go through

More information

Chapter 15. Functional Programming Languages

Chapter 15. Functional Programming Languages Chapter 15 Functional Programming Languages Copyright 2009 Addison-Wesley. All rights reserved. 1-2 Chapter 15 Topics Introduction Mathematical Functions Fundamentals of Functional Programming Languages

More information

Radiometry and reflectance

Radiometry and reflectance Radiometry and reflectance http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 16 Course announcements Homework 4 is still ongoing - Any questions?

More information

Advanced modelling of gratings in VirtualLab software. Site Zhang, development engineer Lignt Trans

Advanced modelling of gratings in VirtualLab software. Site Zhang, development engineer Lignt Trans Advanced modelling of gratings in VirtualLab software Site Zhang, development engineer Lignt Trans 1 2 3 4 Content Grating Order Analyzer Rigorous Simulation of Holographic Generated Volume Grating Coupled

More information