Lightwave Scene

From GICLWiki
(Difference between revisions)
Jump to: navigation, search
 
(7 intermediate revisions by one user not shown)
Line 4: Line 4:
 
'''Version ID:''' [[Version ID::NewTek LightWave Scene File Format]]
 
'''Version ID:''' [[Version ID::NewTek LightWave Scene File Format]]
  
'''Date released:''' Most recent format specs dated [[Version Date released::October 16, 1996]]
+
'''Date released:''' Most recent format specs dated [[Version Date released::June, 1995]]
  
 
'''Date:'''  [[Format Date::1990]]
 
'''Date:'''  [[Format Date::1990]]
Line 22: Line 22:
 
* '''Family Format(s):''' n/a
 
* '''Family Format(s):''' n/a
  
'''Description:''' n/a
+
'''Description:'''  
 +
The LightWave scene file is a standard ASCII text file that contains the information necessary to reconstruct a LightWave Scene. In addition to the objects, lights and camera, the scene file contains standard Layout settings that are set on a per scene basis. Layout information that is more "permanent" is saved in the LightWave config file.
 +
 
 +
The object geometry is not included in the scene file.  For each object instance the objects path and filename are listed along with other scene specific attributes.  The objects are stored as seperate binary files that contain the object geometry along with the objects surface attributes.
 +
 
 +
Objects are not saved when the Save Scene function is selected from the
 +
Scene Menu.  The user is required to save these by going to the Objects Menu
 +
and selecting either the Save Object or Save All Objects function.  This
 +
saves each object as an individual file and sets the path and filename that
 +
will be saved for that object instance in the scene file.
 +
 
 +
Lightwave scene files (*.lws) embed the pathnames to object files (*.lwo) within them, and that object files have pathnames to image files (for textures) embedded in them. Whatever those pathnames are in those files must be valid for the directory in which you are running the application that loads the scene file. For example, if I was loading in a scene file that referred to an object file called "data/object.lwo", then the file "object.lwo" should be located in a subdirectory of this current directory called "data".
  
 
'''History:''' A detailed account of LightWave 3D, from 1988 to 2009: [http://www.lightwiki.com/LightWave_History LightWave History].
 
'''History:''' A detailed account of LightWave 3D, from 1988 to 2009: [http://www.lightwiki.com/LightWave_History LightWave History].
  
'''Example(s):'''  
+
'''Example(s):''' Image examples can be found here: [http://www.okino.com/slidshow/lw.htm LightWave Scene Renderings]
  
 
'''Identifier:''' none.
 
'''Identifier:''' none.
  
'''Documentation:''' n/a
+
'''Documentation:''' Details found here: [http://www.martinreddy.net/gfx/3d/LWSC.txt LightWave Scene File Format, June 1995]
  
 
'''File Extensions:''' [[File Extension::.lws]]
 
'''File Extensions:''' [[File Extension::.lws]]
  
'''Applications:''' NewTek LightWave 3D
+
'''Applications:'''  
  
* '''Native application(s):''' n/a
+
* '''Native application(s):''' NewTek LightWave 3D
  
 
* '''Interoperable applications:''' n/a
 
* '''Interoperable applications:''' n/a
Line 63: Line 74:
  
 
'''File classification:'''
 
'''File classification:'''
* '''Type {Binary, Text}:''' Binary
+
* '''Type {Binary, Text}:''' Text
 
* '''Raster data:'''
 
* '''Raster data:'''
 
** '''Raster data 2D:'''  
 
** '''Raster data 2D:'''  
*** '''Is Supported:''' true
+
*** '''Is Supported:''' n/a
 
*** '''Description:'''  
 
*** '''Description:'''  
 
** '''Raster data 3D:'''
 
** '''Raster data 3D:'''
*** '''Is Supported:''' true
+
*** '''Is Supported:''' n/a
 
*** '''Description:'''  
 
*** '''Description:'''  
 
* '''Geometric representation:'''
 
* '''Geometric representation:'''
 
** '''Implicit representation:'''
 
** '''Implicit representation:'''
 
*** '''Implicit surfaces:'''  
 
*** '''Implicit surfaces:'''  
**** '''Is Supported:''' true
+
**** '''Is Supported:''' n/a
**** '''Description:''' The SRFS chunk contains a list of the names of all the surfaces in an object (note that in LightWave 3D terminology, the word "surface" is defined as a set of attributes that describe the color and shading characteristics of a group of polygons). Each surface name appears as a null-terminated character string. If the length of the string (including the null) is odd, an extra null byte is added. Surface names should be read from the file until as many bytes as the chunk size specifies have been read.
+
**** '''Description:'''  
 
*** '''Implicit curves:'''
 
*** '''Implicit curves:'''
**** '''Is Supported:''' true
+
**** '''Is Supported:''' n/a
**** '''Description:''' The CRVS chunk contains a list of all the spline curves in an object. Each entry consists of a short integer specifying the number of vertices in a curve followed by that many short integers specifying the vertices themselves in sequential order, followed by a short integer specifying which surface is used by the curve, followed by another short integer specifying bit-flags associated with the curve.  If bit zero is set then the first point is a continuity control point, and if bit one is set then the last point is.  The point and surface indices are as they are in the POLS chunk, except that curves cannot have details.  Curves should be read from the file until as many bytes as the chunk size specifies have been read.
+
**** '''Description:'''  
 
*** '''Point set:'''
 
*** '''Point set:'''
**** '''Is Supported:''' true
+
**** '''Is Supported:''' n/a
**** '''Description:''' The PNTS chunk contains a list of the X, Y, and Z coordinates of all the points in an object.  Each coordinate is stored as a four byte floating point number in IEEE format.  Therefore, the number of points in an object can be determined by dividing the size in bytes of the PNTS chunk by 12.
+
**** '''Description:'''
 
** '''Mesh:'''
 
** '''Mesh:'''
 
*** '''Manifold surface meshes:'''
 
*** '''Manifold surface meshes:'''
**** '''Is Supported:''' true
+
**** '''Is Supported:''' n/a
 
**** '''Description:'''  
 
**** '''Description:'''  
 
*** '''Manifold volume meshes:'''
 
*** '''Manifold volume meshes:'''
**** '''Is Supported:''' false
+
**** '''Is Supported:''' n/a
 
**** '''Description:'''  
 
**** '''Description:'''  
 
*** '''Non-manifold meshes:'''
 
*** '''Non-manifold meshes:'''
**** '''Is Supported:''' false
+
**** '''Is Supported:''' n/a
 
**** '''Description:'''
 
**** '''Description:'''
 
** '''Parametric representation:'''
 
** '''Parametric representation:'''
 
*** '''Parametric surfaces:'''
 
*** '''Parametric surfaces:'''
**** '''Is Supported:''' false
+
**** '''Is Supported:''' n/a
 
**** '''Description:'''
 
**** '''Description:'''
 
*** '''Parametric curves:'''
 
*** '''Parametric curves:'''
**** '''Is Supported:''' false
+
**** '''Is Supported:''' n/a
 
**** '''Description:'''
 
**** '''Description:'''
 
** '''Contour sets:'''
 
** '''Contour sets:'''
*** '''Is Supported:''' false
+
*** '''Is Supported:''' n/a
 
*** '''Description:'''
 
*** '''Description:'''
 
** '''NURBS:'''
 
** '''NURBS:'''
*** '''Is Supported:''' false
+
*** '''Is Supported:''' n/a
 
*** '''Description:'''
 
*** '''Description:'''
 
* '''Multi-resolution models:'''
 
* '''Multi-resolution models:'''
** '''Is Supported:''' false
+
** '''Is Supported:''' n/a
** '''Description:''' false
+
** '''Description:''' n/a
 
* '''Dynamics:'''
 
* '''Dynamics:'''
 
** '''Kinematics:'''
 
** '''Kinematics:'''
*** '''Is Supported:''' false
+
*** '''Is Supported:''' n/a
*** '''Description:''' LScript is scripting language supplied by NewTek that can generate automation.
+
*** '''Description:'''  
 
** '''Assembly:'''
 
** '''Assembly:'''
*** '''Is Supported:''' false
+
*** '''Is Supported:''' n/a
 
*** '''Description:'''  
 
*** '''Description:'''  
 
** '''Force(s):'''
 
** '''Force(s):'''
*** '''Is Supported:''' false
+
*** '''Is Supported:''' n/a
 
*** '''Description:'''
 
*** '''Description:'''
 
* '''Boundary representation'''
 
* '''Boundary representation'''
 
** '''Manifold surface boundary representations:'''
 
** '''Manifold surface boundary representations:'''
*** '''Is Supported:''' false
+
*** '''Is Supported:''' n/a
 
*** '''Description:'''
 
*** '''Description:'''
 
** '''Manifold volume boundary representations:'''
 
** '''Manifold volume boundary representations:'''
*** '''Is Supported:''' false
+
*** '''Is Supported:''' n/a
 
*** '''Description:'''
 
*** '''Description:'''
 
** '''Non-manifold boundary representations:'''
 
** '''Non-manifold boundary representations:'''
*** '''Is Supported:'''false
+
*** '''Is Supported:'''n/a
 
*** '''Description:'''
 
*** '''Description:'''
 
* '''Material transparency:'''
 
* '''Material transparency:'''
** '''Is Supported:''' false
+
** '''Is Supported:''' n/a
 
** '''Description:'''
 
** '''Description:'''
  
 
'''References:'''  
 
'''References:'''  
* [http://local.wasp.uwa.edu.au/~pbourke/dataformats/lightwave/ LightWave 3D Object File Format]
 
* [http://www.sandbox.de/osg/lightwave.htm LightWave File Format]
 
 
* [http://www.lightwiki.com/LightWave_History LightWave History at LightWiki]
 
* [http://www.lightwiki.com/LightWave_History LightWave History at LightWiki]
 +
* [http://www.okino.com/slidshow/lw.htm LightWave Scene Renderings]
 +
* [http://www.martinreddy.net/gfx/3d/LWSC.txt LightWave Scene File Format, June 1995]

Latest revision as of 16:30, 13 May 2009

Title(s): LightWave Scene

Version ID: NewTek LightWave Scene File Format

Date released: Most recent format specs dated June, 1995

Date: 1990

Creator(s): NewTek

Contributor(s): Allen Hastings & Stuart Ferguson

Relationships:

  • Previous Version(s): Inherited from Videoscape 3D and Aegis Modeler 3D on the Commodore Amiga, both circa. 1988.
  • Contains: none
  • Syntax Format(s): n/a
  • Family Format(s): n/a

Description: The LightWave scene file is a standard ASCII text file that contains the information necessary to reconstruct a LightWave Scene. In addition to the objects, lights and camera, the scene file contains standard Layout settings that are set on a per scene basis. Layout information that is more "permanent" is saved in the LightWave config file.

The object geometry is not included in the scene file. For each object instance the objects path and filename are listed along with other scene specific attributes. The objects are stored as seperate binary files that contain the object geometry along with the objects surface attributes.

Objects are not saved when the Save Scene function is selected from the Scene Menu. The user is required to save these by going to the Objects Menu and selecting either the Save Object or Save All Objects function. This saves each object as an individual file and sets the path and filename that will be saved for that object instance in the scene file.

Lightwave scene files (*.lws) embed the pathnames to object files (*.lwo) within them, and that object files have pathnames to image files (for textures) embedded in them. Whatever those pathnames are in those files must be valid for the directory in which you are running the application that loads the scene file. For example, if I was loading in a scene file that referred to an object file called "data/object.lwo", then the file "object.lwo" should be located in a subdirectory of this current directory called "data".

History: A detailed account of LightWave 3D, from 1988 to 2009: LightWave History.

Example(s): Image examples can be found here: LightWave Scene Renderings

Identifier: none.

Documentation: Details found here: LightWave Scene File Format, June 1995

File Extensions: .lws

Applications:

  • Native application(s): NewTek LightWave 3D
  • Interoperable applications: n/a

Magic numbers: n/a

Format(s): n/a

Rights: Proprietary license

Sustainability Factors: n/a

  • Standardization: n/a
  • Adoption: n/a
    • Licensing and patent claims: n/a
  • Self-documentation: n/a
  • External dependencies: n/a
  • Technical protection considerations: n/a

Typical use: 3D Design

File classification:

  • Type {Binary, Text}: Text
  • Raster data:
    • Raster data 2D:
      • Is Supported: n/a
      • Description:
    • Raster data 3D:
      • Is Supported: n/a
      • Description:
  • Geometric representation:
    • Implicit representation:
      • Implicit surfaces:
        • Is Supported: n/a
        • Description:
      • Implicit curves:
        • Is Supported: n/a
        • Description:
      • Point set:
        • Is Supported: n/a
        • Description:
    • Mesh:
      • Manifold surface meshes:
        • Is Supported: n/a
        • Description:
      • Manifold volume meshes:
        • Is Supported: n/a
        • Description:
      • Non-manifold meshes:
        • Is Supported: n/a
        • Description:
    • Parametric representation:
      • Parametric surfaces:
        • Is Supported: n/a
        • Description:
      • Parametric curves:
        • Is Supported: n/a
        • Description:
    • Contour sets:
      • Is Supported: n/a
      • Description:
    • NURBS:
      • Is Supported: n/a
      • Description:
  • Multi-resolution models:
    • Is Supported: n/a
    • Description: n/a
  • Dynamics:
    • Kinematics:
      • Is Supported: n/a
      • Description:
    • Assembly:
      • Is Supported: n/a
      • Description:
    • Force(s):
      • Is Supported: n/a
      • Description:
  • Boundary representation
    • Manifold surface boundary representations:
      • Is Supported: n/a
      • Description:
    • Manifold volume boundary representations:
      • Is Supported: n/a
      • Description:
    • Non-manifold boundary representations:
      • Is Supported:n/a
      • Description:
  • Material transparency:
    • Is Supported: n/a
    • Description:

References:

Personal tools