PoLyGon Format

PoLyGon Format

PoLyGon (abbreviated PLG) is a file format for storing 3D objects. It was originally invented by the people that made REND386. The file is a very simple and easy to read format ideal for very basic flat shaded or wire frame projections.

General description of the PLG format

Or at least some of its aspects.

The first line describes the object with a name, number of vertices, number of faces/polygons and an optional texture file. Then comes vertex list as X Y Z [U V] , where the U V coordinates are optional texture coordinates. The number of vertices foretold in the header has to match the number of lines here. then follows the list of faces that connects vertices into polygons. This is done by referencing to the vertex index as COLOR NUMOFVERTICES VERTINDEX0 VERTINDEX1 VERTINDEX.

As an example, this represents a box... BOX 8 6 0 0 0 200 0 0 200 200 0 0 200 0 0 200 200 200 200 200 200 0 200 0 0 200 0x11FF 4 0 1 2 3 0x11FF 4 4 5 6 7 0x11FF 4 7 6 1 0 0x11FF 4 6 5 2 1 0x11FF 4 5 4 3 2 0x11FF 4 4 7 0 3...where line 1 names the object "BOX", tells us that there's 8 vertices and 6 faces. It then lists the vertices on the next 8 lines so that the box stretches from (0, 0, 0) to (200, 200, 200). The last 6 lines creates the faces that you can see with the first string (0x11FF) indicating what color to use, the next number (4) states that there's four vertices creating this face, and that the first face involves (in the given order) vertices 0, 1, 2 and 3, that's (0, 0, 0), (200, 0, 0), (200, 200, 0), and (0, 200, 0).


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Format de Fichier de Polygones — PLY est un format de fichier informatique connu sous le nom de Polygon File Format (Format de Fichier de Polygones) ou le Stanford Triangle Format. The Le Digital Michelangelo Project à l Université Stanford utilisa le format PLY pour un scanner… …   Wikipédia en Français

  • Polygon mesh — A polygon mesh or unstructured grid is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling. The faces usually consist of triangles, quadrilaterals or other simple… …   Wikipedia

  • Format de fichier de polygones — The Le Digital Michelangelo Project à l Université Stanford utilisa le format PLY pour un scanner 3D de très haute résolution de David , sculpture de Michelangelo. PLY est un format de fichier informatique connu sous le nom de …   Wikipédia en Français

  • PLY (file format) — PLY is a computer file format known as the Polygon File Format or the Stanford Triangle Format.The format was principally designed to store three dimensional data from 3D scanners. It supports a relatively simple description of a single object as …   Wikipedia

  • JT (visualization format) — JT is a 3D data format developed by [http://www.siemens.com/plm/ Siemens PLM Software (formerly UGS Corp.)] and is used for product visualization, collaboration, and CAD data exchange. It can contain any combination of approximate (faceted) data …   Wikipedia

  • BSP (file format) — BSP is a map file extension used in games such as the Doom , Quake , and games that use Quake derived engines, such as the Half Life series. .BSP files use binary space partitioning to generate levels that can be rendered quickly while minimizing …   Wikipedia

  • LabelMe — is a project created by the MIT Computer Science and Artificial Intelligence Laboratory (CSAIL) which provides a dataset of digital images with annotations. The dataset is dynamic, free to use, and open to public contribution. The most applicable …   Wikipedia

  • Adobe Fireworks — Infobox Software name = Adobe Fireworks caption = Fireworks CS3 on Windows Vista developer = Adobe (formerly Macromedia) latest release version = CS4 (10.0) latest release date = release date and age|2008|9|23 latest preview version = latest… …   Wikipedia

  • Pointstream Software — is a software application used to capture, edit, and visualize densely sampled cloud point datasets derived from 3D scanners. Developed by Arius3D, located in Mississauga, Ontario, Canada, the software uses a pixel as it s basic primitive form.… …   Wikipedia

  • PLG — may stand for: *PoLyGon Format, A 3D file format *Parti Libéral Genevois ( Liberal Party of Geneva ) *Plasminogen *Pierre Luc Gagnon, a professional skateboarder *Paul Le Guen, French football manager …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”