Table of Contents
1. What is LucidShape? .................................................................................................................... 2 2. Digital Mock Up for Lighting Products .......................................................................................... 3 2.1. The "Form Follows Function" Paradigm with LucidFunGeo ............................................... 4 Macrofocal Applications for Sharp Cutoff Lines ................................................................ 4 Poly Curve System Applications for Projector Type Headlamps ........................................ 5 Procedural Surface Applications for Structured Profiles ................................................... 6 2.2. Standard and Procedural Surfaces via the Conventional Approach ................................... 7 2.3. Geometry Creation from LucidShell Scripts ....................................................................... 7 2.4. Geometry Exchange with External CAD Tools .................................................................... 8 3. "Shape = Geometry + Material" as the Basic Concept in LucidShape ......................................... 9 3.1. Actor Materials .................................................................................................................. 9 3.2. Emitter Materials ............................................................................................................. 10 3.3. Sensor Materials .............................................................................................................. 11 4. Light Simulations ........................................................................................................................ 11 4.1. Forward Ray Tracing vs. Light Mapping ............................................................................ 11 4.2. Color Simulations ............................................................................................................. 11 4.3. The Luminance Camera .................................................................................................... 12 4.4. The Ray History Sensor .................................................................................................... 12 4.5. Parallel Simulations ......................................................................................................... 13 4.6. Light Sources ................................................................................................................... 13 5. Analysis Tools ............................................................................................................................ 14 5.1. Interactive Ray Trace for Shape Analysis .......................................................................... 14 5.2. Light Data Analysis .......................................................................................................... 14 5.3. Lens Analysis and Correction ........................................................................................... 15 6. Night Driving Simulations with LucidDrive ................................................................................. 16 7. Various Geometry Service Tools ................................................................................................. 17 7.1. Surface Approximation or Interpolation ........................................................................... 17 7.2. Tessellation ..................................................................................................................... 18
1. What is LucidShape?
LucidShape is a powerful 3D system for computer aided design of lighting (CAL) and optical product function. Its strengths are interactive tools for design, simulation and analysis.
Figure 1: Lighting setup with reflector (displayed in 2 independent views with light ray samples) and simulation result.
Light manipulating geometry ("shapes") can be calculated under optical conditions, and a rapid ray trace algorithm gives a prediction for the intended product's function. Several examination and documentation tools for shapes and light data support the development process. CAD data as well as photometry data can be imported and exported. LucidShape mainly consists of The interactive development environment LucidStudio to execute all design tasks and to display and analyze geometry and simulation results. LucidStudio runs under all modern MS Windows systems. Fig. 1 shows a LucidStudio screen shot. Depending on the type of data to be displayed and analysed, LucidStudio offers several view types: Geometry View: For all 2D and 3D geometry (reflectors, lenses etc.) Light Data View: For light data (photometry data, simulation results). Tree View: For the hierarchical display of all model objects in a structured tree. Light Screen View: For the display of light source filament images. Used together with the interactive raytracer (see Section 5.1). 2
Message View: For various text messages (object and process information, warnings, errors) The script interpreter LucidShell serves as a driver language for the LucidShape design system. It can be used to perform all tasks through a script procedure written in a C/C++ like language. This way, LucidShape can easily be extended. In addition, it can also be used to customize and extend dialogs and menus in LucidStudio. The LucidShell language also serves as a data storage format for the LucidShape system. It makes it easy to modify a saved model with any standard text editor. The language interpreter is available under LucidStudio or as a standalone command line tool.
Figure 3: Example for the "Form follows Function" paradigm in LucidShape: An LED based signal lamp computed directly from its lighting requirement (left) and verification of the computed result from simulation (right)
Macrofocal Applications for Sharp Cutoff Lines The macrofocal concept is a way to create sharp cutoff lines (e.g. for automotive low beam applications) by designing reflector or lens arrays that use the edge contours of the entire light source and not simply a point. In the LucidShape Macrofocal Applications, a typical setup would require the user to define 1. a planar grid as the base for the geometry array to be computed, and
2
Generally, geometry is created in LucidShape as NURBS (Non Uniform Rational B-Splines) curves or surfaces, a highly flexible mathematical geometry description based on control points which is the most common used in industry. 2 The macrofocal concept was first described 1965 in a paper by Spencer et al.
2. the required light function (target range, type of cutoff etc.) for each grid element. Once the setup is defined, the LucidShape macrofocal solver will compute the desired optical array within seconds.
Figure 4: Head lamp design producing sharp cutoff lines with the macrofocal concept. The example shows ECE and SAE low beam patterns.
Poly Curve System Applications for Projector Type Headlamps In LucidShape, Poly Curve Systems (PCS) are lighting setups whose computation is based on a number of curves with special optical functions. The full setups usually include a reflector, a shield, a light source and an aspherical lens. PCS systems are used for all kinds of automotive headlamp applications, in particular LED systems.
Procedural Surface Applications for Structured Profiles Generally, Procedural Surfaces are generated from mathematical operations on curves and/or surfaces. Based on this principle, LucidFunGeo offers a subset of tools which produce surfaces by procedural operations on profiled curves, resulting in profiled reflectors or lenses for a wide range of specific lighting tasks.
Figure 8: A two-dimensional array of 5x5 paraboloids, and its generating LucidShell script code using two nested "for" loops.
Figure 9: Two rotational paraboloids, a) in LucidStudio and b) in CATIA after having been transferred from LucidStudio and located at their appropriate positions in a bezel.
Figure 10: The basic principle in LucidShape: Shape = Geometry + Material, Material = Emitter or Actor or Sensor
Figure 11: A lens shape, built from an inner and outer surface and a refractive material with Schott glass as its inner medium.
Figure 12: An emitter shape to model a coil light source, built from a pipe surface (with a helix as base curve) and a Lambertian emitter material.
10
Figure 13: A setup with a planar surface equipped with a Lux sensor material.
4. Light Simulations
Generally, a light simulation is the process of computing a prediction for the light function of a given lighting fixture by making use of the involved shapes' (resp. their materials) physical properties. A simulation answers questions like: "What will be the light intensity distribution?" or "What will be the illumination distribution on the surface of interest?"
11
Figure 14: Result from a LucidShape color simulation of a low beam lens headlamp. The lens causes a narrow seam of blue and red coloured light above the cutoff line.
Figure 15: Lit appearance images of a signal lamp, rendered from a simulation with 10 rays.
of course, the render image quality scales directly with the number of rays in the ray trace simulation.
12
Figure 16: The Ray History Sensor: Marking a region in the simulation result (right picture) yields the display of the relevant rays in the Geometry View (left picture).
Figure 17: A D1R low beam light source from LucidShape's light source library
13
Also, ray files (as often provided by light source manufacturers) may directly be imported into LucidShape and used as light sources for simulations.
5. Analysis Tools
Depending on the type of view, LucidShape offers several analysis tools.
Figure 18: Interactive ray trace with a low beam reflector. A special window displaying the corresponding cylinder light source's filament images is updated dynamically with the user's mouse moves.
14
gradient calculations, and the viewing of cross sections of 2D light distributions. Also, filtering, addition, subtraction, and scaling can be performed on light distributions.
Figure 19: Light data from a high beam reflector simulation and a corresponding test table
15
Figure 20: Lens surface correction to minimize ray deviations. Checking the effects with checkerboard images.
16
17
7.2. Tessellation
Tessellated geometry offers some interesting advantages over the standard NURBS surface representation, as for example simplicity in structure (trimming of surfaces is no longer necessary) resulting in a significant speedup of ray trace simulations. As a drawback, Tessellation may blur subtle details if carried out with an insufficient number of triangles. LucidShape contains a powerful, flexible and fast tessellator.
Figure 23: Detail from a large optical setup after Tessellation in LucidShape
18