Generative Modelling Language

This article relies largely or entirely on a single source. Please help improve this article by introducing citations to additional sources.
Find sources: "Generative Modelling Language" – news · newspapers · books · scholar · JSTOR (October 2024)

|

## Contents

* 1 Overview
* 2 The Generative Modelling Language
* 3 GML Example
* 4 Applications
* 5 See also
* 6 References
* 7 Further reading
* 8 External links

## Overview

Usual 3D file formats describe a virtual world in terms of geometric primitives. These may be cubes and spheres in a CSG tree, NURBS patches, a set of implicit functions, a triangle mesh, or just a cloud of points. The term "generative 3D modelling" describes a different paradigm for describing shape. The main idea is to replace 3D objects by object-generating operations: A shape is described by a sequence of processing steps, rather than the triangles which are the result of applying these operations. Shape design becomes rule design. The approach can be generally applied to any shape representation that provides a basic set of generating functions, called in this context 'elementary shape operators'. Its effectiveness has been demonstrated, e.g., in the field of procedural mesh generation, with Euler operators as complete and closed set of invertible shape generating functions for meshes, operating on the half-edge level.

Generative modelling gains efficiency through the possibility of creating high-level shape operators from low-level shape operators. Any sequence of processing steps can be grouped together to create a new combined operator. It may use elementary operators as well as other combined operators. Concrete values can easily be replaced by parameters, which makes it possible to separate data from operations: The same processing sequence can be applied to different input data sets. The same data can be used to produce different shapes by applying different combined operators from, e.g., a library of domain-dependent modelling operators. This makes it possible to create very complex objects from only a few high-level input parameters, such as for instance a style library.

## The Generative Modelling Language

The GML is a concrete implementation of the generative approach. It is a stack-based, interpreted programming language, very similar to Adobe's PostScript, but without any of the 2D layout operators. It provides instead a number of operators for creating 3D models (polygons, b-reps, subdivision surfaces). As a "shape programming language," it is a true generalization of "flat" 3D file formats like OBJ, DXF, or VRML that contain just lists of geometric primitives.

Together with its OpenGL-based runtime engine the GML can also be seen as a viewer with an integrated modeller, to overcome the usual separation of 3D modelling from interactive visualization. Both are interwoven instead. GML permits a concise representation of parameterized 3D objects which can be evaluated on-the-fly at runtime, rendered with adaptive level-of-detail, and allows for the interactive manipulation of all parameters.

## GML Example

| 1: |  | (0,0,-2) (1,1,0) 2 quad

|
|

2: |  | /cyan setcurrentmaterial
|  | 5 poly2doubleface
3: |  | (0,1,1) extrude
4: |  | (0,0,1) (1,0,1) normalize
|  | 0 project_ringplane
5: |  | (2,0,0) (0,1,-1) 2 quad
6: |  | /yellow setcurrentmaterial
|  | 5 poly2doubleface
7: |  | 0 bridgerings
| Image:GML-example-gehrung.png

## Applications

Procedural Model of Cologne Cathedral

With procedural models, the model complexity is no longer directly (i.e., linearly) related with the file size. The Procedural Cathedral,[1] a basic model of the Cologne Cathedral, contains 70 tracery windows, and a single window in highest resolution contains about 7 million triangles. These are "unfolded" from only 126 KB of GML code (18 KB zipped).

Gothic Window Tracery

Gothic architecture is a prime example for the effectiveness of procedural shape design: In the Gothic style, all geometric constructions are exclusively executed using compass and ruler. Variations were obtained by procedurally combining in ever changing ways a set of simple basic parameterized geometric operations. Therefore, it is practically impossible to find two tracery windows in different buildings that follow an identical geometric construction.

Interactive CAVE Designer

The interactive CAVE designer helps to fit a CAVE into a small room. Because of the concrete bars under the ceiling it is difficult to place it using only 2D plans of the room. Degrees of freedom (blue arrows) are the position and orientation of the projection screen cubicle, the opening angle of the projectors, and the position/orientation of the top mirror. The DOFs are mildly restricted to take only valid values. DOFs are kept consistent, i.e., when moving the cubicles, the projector centers move as well (or get reflected at the walls).

Generative Car Rim Model

Given a set of about 30 CAD models of car wheel rims, the task was to find a common parametrization that is capable of generating each of the individual instances (generative surface reconstruction). As a result, new, similar wheel rims can be synthesized within the design space that is spanned by the given 30 rims, that were manually classified into 3 main categories. A few of the high-level parameters can be directly manipulated using sliders and buttons (arrows and balls).

Chair Structure

Generative modelling suggests to differentiate between "structure" and "appearance" (e.g., the style) of 3D models. Surprisingly many objects have the same structure as a chair, i.e., they are "close" to a chair on the structural level. The differentiation then permits (in principle) to apply the appearance of one object in this class to another.

Didactic Voronoi Diagram Applet

Didactic applet showing the construction of Voronoi diagrams: Is it possible to reconstruct the centers of the Voronoi cells from the region boundaries? The interactive applet conveys a good intuition of the idea behind the formal proof.

## See also

* Procedural generation
* OpenSCAD

## References

1. ↑ Havemann, Sven (16 November 2005). "Generative Mesh Modeling". Ph.D. thesis: 247-254. doi:10.24355/dbbs.084-200603150100-7. https://leopard.tu-braunschweig.de/receive/dbbs_mods_00000008. Retrieved 2 October 2024.

## Further reading

* Michael Leyton. A Generative Theory of Shape (available from his homepage)
* John Snyder. Generative Modeling for Computer Graphics and CAD: Symbolic Shape Design Using Interval Analysis

## External links

* Generative-modeling.org[Usurped!] GML homepage.
* Dissertation of Sven Havemann on UB TU Braunschweig describes why and how GML was created
* Caltech pages on GENMOD

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Generative Modelling Language. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Generative_Modelling_Language&oldid=4349901"