This is the cl-wavefront Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:32:00 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-wavefront
A library to parse the Wavefront OBJ file format.
Yukari Hafner <shinmera@tymoon.eu>
Yukari Hafner <shinmera@tymoon.eu>
(GIT https://github.com/shirakumo/cl-wavefront.git)
zlib
1.0.0
documentation-utils
(system).
parse-float
(system).
cl-ppcre
(system).
package.lisp
(file).
objects.lisp
(file).
parser.lisp
(file).
serializer.lisp
(file).
documentation.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-wavefront/cl-wavefront.asd
cl-wavefront/package.lisp
cl-wavefront/objects.lisp
cl-wavefront/parser.lisp
cl-wavefront/serializer.lisp
cl-wavefront/documentation.lisp
cl-wavefront/objects.lisp
package.lisp
(file).
cl-wavefront
(system).
ambient-factor
(reader method).
(setf ambient-factor)
(writer method).
ambient-map
(reader method).
(setf ambient-map)
(writer method).
attributes
(reader method).
(setf attributes)
(writer method).
blend-u
(reader method).
(setf blend-u)
(writer method).
blend-v
(reader method).
(setf blend-v)
(writer method).
boost
(reader method).
(setf boost)
(writer method).
bump-channel
(reader method).
(setf bump-channel)
(writer method).
bump-map
(reader method).
(setf bump-map)
(writer method).
clamp
(reader method).
(setf clamp)
(writer method).
combine-meshes
(function).
context
(class).
diffuse-factor
(reader method).
(setf diffuse-factor)
(writer method).
diffuse-map
(reader method).
(setf diffuse-map)
(writer method).
displacement-map
(reader method).
(setf displacement-map)
(writer method).
emissive-factor
(reader method).
(setf emissive-factor)
(writer method).
emissive-map
(reader method).
(setf emissive-map)
(writer method).
extract-meshes
(function).
face
(class).
face-length
(reader method).
(setf face-length)
(writer method).
faces
(reader method).
(setf faces)
(writer method).
faces-to-mesh
(function).
file
(reader method).
(setf file)
(writer method).
group
(class).
groups
(reader method).
groups
(reader method).
(setf groups)
(writer method).
(setf groups)
(writer method).
illumination-model
(reader method).
(setf illumination-model)
(writer method).
index-data
(reader method).
(setf index-data)
(writer method).
lod
(reader method).
(setf lod)
(writer method).
material
(reader method).
material
(reader method).
material
(reader method).
(setf material)
(writer method).
(setf material)
(writer method).
(setf material)
(writer method).
material
(class).
materials
(reader method).
(setf materials)
(writer method).
mesh
(class).
metallic-factor
(reader method).
(setf metallic-factor)
(writer method).
metallic-map
(reader method).
(setf metallic-map)
(writer method).
multiplier
(reader method).
(setf multiplier)
(writer method).
name
(reader method).
(setf name)
(writer method).
named-object
(class).
normal-map
(reader method).
(setf normal-map)
(writer method).
normals
(reader method).
normals
(reader method).
(setf normals)
(writer method).
(setf normals)
(writer method).
object
(reader method).
(setf object)
(writer method).
object
(class).
objects
(reader method).
(setf objects)
(writer method).
origin
(reader method).
(setf origin)
(writer method).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
refractive-index
(reader method).
(setf refractive-index)
(writer method).
resolution
(reader method).
(setf resolution)
(writer method).
rough-metal-occlusion-map
(reader method).
(setf rough-metal-occlusion-map)
(writer method).
roughness-factor
(reader method).
(setf roughness-factor)
(writer method).
roughness-map
(reader method).
(setf roughness-map)
(writer method).
scale
(reader method).
(setf scale)
(writer method).
shared-faces
(function).
sheen-factor
(reader method).
(setf sheen-factor)
(writer method).
sheen-map
(reader method).
(setf sheen-map)
(writer method).
specular-exponent
(reader method).
(setf specular-exponent)
(writer method).
specular-factor
(reader method).
(setf specular-factor)
(writer method).
specular-map
(reader method).
(setf specular-map)
(writer method).
stencil-map
(reader method).
(setf stencil-map)
(writer method).
texture-map
(class).
texture-type
(reader method).
(setf texture-type)
(writer method).
transmission-factor
(reader method).
(setf transmission-factor)
(writer method).
transmission-filter
(reader method).
(setf transmission-filter)
(writer method).
transmission-map
(reader method).
(setf transmission-map)
(writer method).
turbulence
(reader method).
(setf turbulence)
(writer method).
uvs
(reader method).
uvs
(reader method).
(setf uvs)
(writer method).
(setf uvs)
(writer method).
vertex-data
(reader method).
(setf vertex-data)
(writer method).
vertices
(reader method).
vertices
(reader method).
(setf vertices)
(writer method).
(setf vertices)
(writer method).
%combine-meshes
(function).
current
(reader method).
(setf current)
(writer method).
size-per-element
(function).
cl-wavefront/parser.lisp
objects.lisp
(file).
cl-wavefront
(system).
parse
(function).
%parse
(generic function).
%read-line
(function).
*line-number*
(special variable).
compile-arglist-regex
(function).
define-map-parser
(macro).
define-parser
(macro).
define-property-parser
(macro).
parse-floats
(function).
parse-map
(function).
push-floats
(function).
read-wavefront-line
(function).
resolve-index
(function).
skip-line
(function).
cl-wavefront/serializer.lisp
parser.lisp
(file).
cl-wavefront
(system).
serialize
(generic function).
serialize-simple
(function).
cl-wavefront/documentation.lisp
serializer.lisp
(file).
cl-wavefront
(system).
Packages are listed by definition order.
org.shirakumo.fraf.wavefront
common-lisp
.
ambient-factor
(generic reader).
(setf ambient-factor)
(generic writer).
ambient-map
(generic reader).
(setf ambient-map)
(generic writer).
attributes
(generic reader).
(setf attributes)
(generic writer).
blend-u
(generic reader).
(setf blend-u)
(generic writer).
blend-v
(generic reader).
(setf blend-v)
(generic writer).
boost
(generic reader).
(setf boost)
(generic writer).
bump-channel
(generic reader).
(setf bump-channel)
(generic writer).
bump-map
(generic reader).
(setf bump-map)
(generic writer).
clamp
(generic reader).
(setf clamp)
(generic writer).
combine-meshes
(function).
context
(class).
diffuse-factor
(generic reader).
(setf diffuse-factor)
(generic writer).
diffuse-map
(generic reader).
(setf diffuse-map)
(generic writer).
displacement-map
(generic reader).
(setf displacement-map)
(generic writer).
emissive-factor
(generic reader).
(setf emissive-factor)
(generic writer).
emissive-map
(generic reader).
(setf emissive-map)
(generic writer).
extract-meshes
(function).
face
(class).
face-length
(generic reader).
(setf face-length)
(generic writer).
faces
(generic reader).
(setf faces)
(generic writer).
faces-to-mesh
(function).
file
(generic reader).
(setf file)
(generic writer).
group
(class).
groups
(generic reader).
(setf groups)
(generic writer).
illumination-model
(generic reader).
(setf illumination-model)
(generic writer).
index-data
(generic reader).
(setf index-data)
(generic writer).
lod
(generic reader).
(setf lod)
(generic writer).
material
(generic reader).
(setf material)
(generic writer).
material
(class).
materials
(generic reader).
(setf materials)
(generic writer).
mesh
(class).
metallic-factor
(generic reader).
(setf metallic-factor)
(generic writer).
metallic-map
(generic reader).
(setf metallic-map)
(generic writer).
multiplier
(generic reader).
(setf multiplier)
(generic writer).
name
(generic reader).
(setf name)
(generic writer).
named-object
(class).
normal-map
(generic reader).
(setf normal-map)
(generic writer).
normals
(generic reader).
(setf normals)
(generic writer).
object
(generic reader).
(setf object)
(generic writer).
object
(class).
objects
(generic reader).
(setf objects)
(generic writer).
origin
(generic reader).
(setf origin)
(generic writer).
parse
(function).
refractive-index
(generic reader).
(setf refractive-index)
(generic writer).
resolution
(generic reader).
(setf resolution)
(generic writer).
rough-metal-occlusion-map
(generic reader).
(setf rough-metal-occlusion-map)
(generic writer).
roughness-factor
(generic reader).
(setf roughness-factor)
(generic writer).
roughness-map
(generic reader).
(setf roughness-map)
(generic writer).
scale
(generic reader).
(setf scale)
(generic writer).
serialize
(generic function).
serialize-simple
(function).
shared-faces
(function).
sheen-factor
(generic reader).
(setf sheen-factor)
(generic writer).
sheen-map
(generic reader).
(setf sheen-map)
(generic writer).
specular-exponent
(generic reader).
(setf specular-exponent)
(generic writer).
specular-factor
(generic reader).
(setf specular-factor)
(generic writer).
specular-map
(generic reader).
(setf specular-map)
(generic writer).
stencil-map
(generic reader).
(setf stencil-map)
(generic writer).
texture-map
(class).
texture-type
(generic reader).
(setf texture-type)
(generic writer).
transmission-factor
(generic reader).
(setf transmission-factor)
(generic writer).
transmission-filter
(generic reader).
(setf transmission-filter)
(generic writer).
transmission-map
(generic reader).
(setf transmission-map)
(generic writer).
turbulence
(generic reader).
(setf turbulence)
(generic writer).
uvs
(generic reader).
(setf uvs)
(generic writer).
vertex-data
(generic reader).
(setf vertex-data)
(generic writer).
vertices
(generic reader).
(setf vertices)
(generic writer).
%combine-meshes
(function).
%parse
(generic function).
%read-line
(function).
*line-number*
(special variable).
compile-arglist-regex
(function).
current
(generic reader).
(setf current)
(generic writer).
define-map-parser
(macro).
define-parser
(macro).
define-property-parser
(macro).
parse-floats
(function).
parse-map
(function).
push-floats
(function).
read-wavefront-line
(function).
resolve-index
(function).
size-per-element
(function).
skip-line
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Combine meshes into a context
You can pass a MESH, vector, or list of MESHes. If no CONTEXT is
given, one is constructed and returned for you.
This will attempt to reduce shared vertex attributes between existing
mesh data in the context and the new meshes to properly pack the
data.
Each mesh will receive a group with the mesh’s name.
See EXTRACT-MESHES
See CONTEXT
See MESH
Extract a set of distinct meshes.
If no THING is given, all meshes present in the context are
extracted. Otherwise, you may pass a vector of FACEs, a GROUP, or an
OBJECT to extract meshes from.
As much as possible, names will be assigned to the resulting meshes.
See COMBINE-MESHES
See CONTEXT
See FACE
See GROUP
See OBJECT
See SHARED-FACES
See FACES-TO-MESH
Constructs a MESH instance from the given FACES array.
The consequences are undefined if the faces in the mesh vary in the
number of faces they address, the number of properties they store, or
the material they reference.
See SHARED-FACES
See EXTRACT-MESHES
Parse an OBJ or MTL file from a file, stream, or string representation.
Returns a CONTEXT that contains the parsed data.
May parse recursively if other files are referenced by the file
contents.
If you pass in a CONTEXT, the contents will be added to the passed
context instance.
A warning is signalled for any unrecognised directives.
An error is signalled for any malformed directives.
See CONTEXT
Shorthand to serialize a single packed mesh.
Constructs a MESH and then calls SERIALIZE.
The vertices are expected to only contain positions, and the indices
must denote triangles.
See SERIALIZE
See MESH
Splits the given faces array into sets of face arrays that share the same properties.
Specifically they all must share the same material, face length, and
attributes.
Accesses the ambient color factor.
This is a vector of three elements [ R G B ]
See METAL
Accesses the ambient texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the list of attributes stored in the mesh’s vertex data.
The order is significant. May contain the following:
:POSITION — Three single-floats for the world-space position of
the vertex.
:NORMAL — Three single-floats for the normal vector of the
vertex.
:UV — Two single-floats for the U and V coordinates in the
textures.
See MESH
Accesses whether the texture should blend U coordinates.
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
texture-map
)) ¶automatically generated writer method
Accesses whether the texture should blend V coordinates.
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
texture-map
)) ¶automatically generated writer method
Accesses the boosting factor for mipmap sharpness.
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
texture-map
)) ¶automatically generated writer method
Accesses the channel to use in the bump map texture.
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
texture-map
)) ¶automatically generated writer method
Accesses the bump texture map.
See MATERIAL
See TEXTURE-MAP
Accesses whether the texture should repeat or be clamped to its edges.
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
texture-map
)) ¶automatically generated writer method
Accesses the diffuse color factor.
This is a vector of three elements [ R G B ]
See METAL
Accesses the diffuse texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the displacement texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the emissive factor.
This is a vector of three elements [ R G B ]
See METAL
Accesses the emissive texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the number of vertices per face in the mesh.
See MESH
Accesses the vector of faces belonging to the group.
See GROUP
See FACE
Accesses the relative pathname of the texture map.
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
file
.
texture-map
)) ¶automatically generated writer method
file
.
Accesses the hash table of groups.
Each group can be accessed via its name.
See OBJECT
See CONTEXT
See GROUP
Accesses the intended illumination model of the material.
0. Color on and Ambient off
1. Color on and Ambient on
2. Highlight on
3. Reflection on and Ray trace on
4. Transparency: Glass on, Reflection: Ray trace on
5. Reflection: Fresnel on and Ray trace on
6. Transparency: Refraction on, Reflection: Fresnel off and Ray trace on
7. Transparency: Refraction on, Reflection: Fresnel on and Ray trace on
8. Reflection on and Ray trace off
9. Transparency: Glass on, Reflection: Ray trace off
10. Casts shadows onto invisible surfaces
See METAL
Accesses the vector of packed face indices.
This is a vector of (UNSIGNED-BYTE 32)s describing the vertex indices
that form the faces.
See MESH
Accesses the level of detail the group should be visible at.
See GROUP
context
)) ¶automatically generated reader method
mesh
)) ¶automatically generated writer method
context
)) ¶automatically generated writer method
Accesses the materials table in the context.
Each material is indexed by its name.
See CONTEXT
See MATERIAL
Accesses the metallic/metalness factor.
See METAL
Accesses the metallic texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the multiplier factor for the bump map.
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
texture-map
)) ¶automatically generated writer method
Accesses the string name of the object
See NAMED-OBJECT
named-object
)) ¶automatically generated reader method
name
.
named-object
)) ¶automatically generated writer method
name
.
Accesses the normal texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the normals of the object
For a FACE this is a vector of indices.
Note that the indices are zero-based, rather than one-based like in
the source OBJ file.
Fro a CONTEXT this is a vector of single floats.
See FACE
See CONTEXT
Accesses the objects table in the context.
Each object is indexed by its name.
There is always at least one object.
See CONTEXT
See OBJECT
Accesses the texture origin offset.
This is a vector of three elements [U V W]
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
texture-map
)) ¶automatically generated writer method
Accesses the refractive index if transmissive.
See METAL
Accesses the texture’s resolution.
This is a single value for square textures.
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
texture-map
)) ¶automatically generated writer method
Accesses the combined roughness/metal/occlusion texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the roughness factor.
See METAL
Accesses the roughness texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the texture scale factor.
This is a vector of three elements [U V W]
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
texture-map
)) ¶automatically generated writer method
Serializes the given mesh, vector of meshes, or context to an OBJ file.
This will also export a material library file if EXPORT-MATERIALS is
not-NIL (the default) and the context contains materials. The file
used for the material library is chosen as follows:
- If MATERIAL-LIBRARY-FILE is a string or pathname, then:
The material library path is merged with the main OBJ file’s
- If MATERIAL-LIBRARY-FILE is :CREATE (the default), then:
The material library path is the same as the main OBJ file’s, but
with the "mtl" pathname-type.
- If MATERIAL-LIBRARY-FILE is NIL, then:
No file is created and the materials are emitted into the main OBJ
file at the beginning. Note that this is not supported by all
parsers.
If EXPORT-MATERIALS is NIL but MATERIAL-LIBRARY-FILE is a string or
pathname, then only a reference to the material library file is
emitted into the OBJ file, but no MTL file is created and no material
definitions are emitted into the OBJ file.
If TARGET is a string or pathname, the OBJ file is output to that
path. IF-EXISTS follows the usual semantics of OPEN.
If the TARGET is not a FILE-STREAM or pathname designator, then
MATERIAL-LIBRARY-FILE must either be a string or pathname, or
EXPORT-MATERIALS must be set to NIL.
If the TARGET is :STRING, then the OBJ is written to a string, which
is then returned.
See CONTEXT
See MESH
See COMBINE-MESHES
texture-map
) (stream stream
) &key &allow-other-keys) ¶context
) (stream stream
) &key material-library-file export-materials if-exists) ¶list
) stream &rest args &key &allow-other-keys) ¶vector
) stream &rest args &key &allow-other-keys) ¶pathname
) &rest args &key if-exists &allow-other-keys) ¶string
) &rest args &key &allow-other-keys) ¶(eql :string)
) &rest args &key &allow-other-keys) ¶Accesses the sheen factor.
See METAL
Accesses the sheen texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the specular exponent.
See METAL
Accesses the specular color factor.
This is a vector of three elements [ R G B ]
See METAL
Accesses the specular texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the stencil decal texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the type of the texture.
This can be sphere, cube_top, cube_bottom...
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
texture-map
)) ¶automatically generated writer method
Accesses the transmission factor.
0.0 means opaque
1.0 means transparent
See METAL
Accesses the transmission color filter.
This is a vector of three elements [ R G B ]
See METAL
Accesses the transmission texture map.
See MATERIAL
See TEXTURE-MAP
Accesses the texture turbulence factor.
This is a vector of three elements [U V W]
See TEXTURE-MAP
texture-map
)) ¶automatically generated reader method
texture-map
)) ¶automatically generated writer method
Accesses the UV coordinates of the object
For a FACE this is a vector of indices.
Note that the indices are zero-based, rather than one-based like in
the source OBJ file.
Fro a CONTEXT this is a vector of single floats.
See FACE
See CONTEXT
Accesses the vector of packed vertices.
This is a vector of SINGLE-FLOATs, with the per-vertex data tightly
packed for easy upload to the GPU. The attributes stored per vertex is
described in the ATTRIBUTES list. The number of vertices per face is
stored in the FACE-LENGTH of the mesh. The material to use for every
face in the mesh is in MATERIAL.
See MESH
See ATTRIBUTES
See FACE-LENGTH
Accesses the vertices of the object
For a FACE this is a vector of indices.
Note that the indices are zero-based, rather than one-based like in
the source OBJ file.
Fro a CONTEXT this is a vector of single floats.
See FACE
See CONTEXT
named-object
) stream) ¶texture-map
) stream) ¶Representation of all the data in a collection of OBJ and MTL files.
See EXTRACT-MESHES
See VERTICES
See UVS
See NORMALS
See GROUPS
See MATERIALS
See OBJECTS
See PARSE
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
%parse
.
(setf current)
.
current
.
(setf groups)
.
groups
.
(setf material)
.
material
.
(setf materials)
.
materials
.
(setf normals)
.
normals
.
(setf object)
.
object
.
(setf objects)
.
objects
.
print-object
.
serialize
.
(setf uvs)
.
uvs
.
(setf vertices)
.
vertices
.
(make-array 0 :element-type (quote single-float) :adjustable t :fill-pointer t)
(make-array 0 :element-type (quote single-float) :adjustable t :fill-pointer t)
uvs
.
(make-array 0 :element-type (quote single-float) :adjustable t :fill-pointer t)
(make-hash-table :test (quote equal))
(make-hash-table :test (quote equal))
(make-hash-table :test (quote equal))
(make-instance (quote org.shirakumo.fraf.wavefront:object))
Representation of a face on a polygonal mesh.
All three arrays of VERTICES, UVS, NORMALS must be of the same length and each contain indices into their respective arrays in the CONTEXT of the FACE, modulo the size of each entry in the respective array.
Meaning for vertices, you should multiply the index by 4 to get the index of the first coordinate of the vertex in the context’s vertices array, and for UVs and normals you should multiply the index by 3.
See VERTICES
See UVS
See NORMALS
See MATERIAL
(make-array 0 :element-type (quote (unsigned-byte 32)) :adjustable t :fill-pointer t)
:vertices
(make-array 0 :element-type (quote (unsigned-byte 32)) :adjustable t :fill-pointer t)
:uvs
uvs
.
(make-array 0 :element-type (quote (unsigned-byte 32)) :adjustable t :fill-pointer t)
:normals
:material
Representation of a group of faces.
See EXTRACT-MESHES
See NAMED-OBJECT
See FACES
See LOD
Representation of a material defined in a Wavefront MTL file.
See NAMED-OBJECT
See ILLUMINATION-MODEL
See AMBIENT-FACTOR
See DIFFUSE-FACTOR
See SPECULAR-FACTOR
See SPECULAR-EXPONENT
See TRANSMISSION-FACTOR
See TRANSMISSION-FILTER
See REFRACTIVE-INDEX
See ROUGHNESS-FACTOR
See METALLIC-FACTOR
See SHEEN-FACTOR
See EMISSIVE-FACTOR
See AMBIENT-MAP
See DIFFUSE-MAP
See SPECULAR-MAP
See TRANSMISSION-MAP
See ROUGHNESS-MAP
See METALLIC-MAP
See SHEEN-MAP
See EMISSIVE-MAP
See BUMP-MAP
See DISPLACEMENT-MAP
See STENCIL-MAP
See NORMAL-MAP
See ROUGH-METAL-OCCLUSION-MAP
(setf ambient-factor)
.
ambient-factor
.
(setf ambient-map)
.
ambient-map
.
(setf bump-map)
.
bump-map
.
(setf diffuse-factor)
.
diffuse-factor
.
(setf diffuse-map)
.
diffuse-map
.
(setf displacement-map)
.
displacement-map
.
(setf emissive-factor)
.
emissive-factor
.
(setf emissive-map)
.
emissive-map
.
(setf illumination-model)
.
illumination-model
.
(setf metallic-factor)
.
metallic-factor
.
(setf metallic-map)
.
metallic-map
.
(setf normal-map)
.
normal-map
.
(setf refractive-index)
.
refractive-index
.
(setf rough-metal-occlusion-map)
.
rough-metal-occlusion-map
.
(setf roughness-factor)
.
roughness-factor
.
(setf roughness-map)
.
roughness-map
.
serialize
.
(setf sheen-factor)
.
sheen-factor
.
(setf sheen-map)
.
sheen-map
.
(setf specular-exponent)
.
specular-exponent
.
(setf specular-factor)
.
specular-factor
.
(setf specular-map)
.
specular-map
.
(setf stencil-map)
.
stencil-map
.
(setf transmission-factor)
.
transmission-factor
.
(setf transmission-filter)
.
transmission-filter
.
(setf transmission-map)
.
transmission-map
.
2
:illumination-model
#(0.0 0.0 0.0)
:ambient-factor
#(0.0 0.0 0.0)
:diffuse-factor
#(0.0 0.0 0.0)
:specular-factor
1.0
:specular-exponent
0.0
:transmission-factor
#(0.0 0.0 0.0)
:transmission-filter
1.0
:refractive-index
1.0
:roughness-factor
1.0
:metallic-factor
1.0
:sheen-factor
#(0.0 0.0 0.0)
:emissive-factor
:ambient-map
:diffuse-map
:specular-map
:transmission-map
:roughness-map
:metallic-map
:sheen-map
:emissive-map
:bump-map
:displacement-map
:stencil-map
:normal-map
:rough-metal-occlusion-map
Representation of packed vertex data.
See VERTEX-DATA
See INDEX-DATA
See ATTRIBUTES
See FACES-TO-MESH
See EXTRACT-MESHES
:vertex-data
:index-data
:material
:attributes
3
:face-length
Superclass for all objects which may carry a name.
See NAME
Representation of an "object".
An object encompasses one or more groups.
See EXTRACT-MESHES
See NAMED-OBJECT
See GROUPS
(make-hash-table :test (quote equal))
:group
Representation of a texture map.
See FILE
See BLEND-U
See BLEND-V
See BOOST
See ORIGIN
See SCALE
See TURBULENCE
See RESOLUTION
See CLAMP
See MULTIPLIER
See BUMP-CHANNEL
See SPECULAR-TYPE
(setf blend-u)
.
blend-u
.
(setf blend-v)
.
blend-v
.
(setf boost)
.
boost
.
(setf bump-channel)
.
bump-channel
.
(setf clamp)
.
clamp
.
(setf file)
.
file
.
(setf multiplier)
.
multiplier
.
(setf origin)
.
origin
.
print-object
.
(setf resolution)
.
resolution
.
(setf scale)
.
scale
.
serialize
.
(setf texture-type)
.
texture-type
.
(setf turbulence)
.
turbulence
.
t
:blend-u
t
:blend-v
1.0
:boost
#(0.0 0.0 0.0)
:origin
#(1.0 1.0 1.0)
:scale
#(0.0 0.0 0.0)
:turbulence
:resolution
:clamp
1.0
:multiplier
1
:bump-channel
:texture-type
Jump to: | %
(
A B C D E F G I L M N O P R S T U V |
---|
Jump to: | %
(
A B C D E F G I L M N O P R S T U V |
---|
Jump to: | *
A B C D E F G I L M N O R S T U V |
---|
Jump to: | *
A B C D E F G I L M N O R S T U V |
---|
Jump to: | C D F G M N O P S T |
---|
Jump to: | C D F G M N O P S T |
---|