Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
fdc49613
Commit
fdc49613
authored
Jun 06, 2019
by
Jean-Christophe Fillion-Robin
Committed by
Adrien Boucaud
Jun 07, 2019
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
STYLE: vtkGLTFImporter and vtkGLTFReader: Improve class descriptions
parent
a2952bf2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
IO/Geometry/vtkGLTFReader.h
IO/Geometry/vtkGLTFReader.h
+7
-1
IO/Import/vtkGLTFImporter.h
IO/Import/vtkGLTFImporter.h
+8
-3
No files found.
IO/Geometry/vtkGLTFReader.h
View file @
fdc49613
...
...
@@ -17,7 +17,7 @@
* @class vtkGLTFReader
* @brief Read a GLTF file.
*
* vtkGLTFReader is a
source object
that reads
a
glTF file.
* vtkGLTFReader is a
concrete subclass of vtkMultiBlockDataSetAlgorithm
that reads glTF
2.0
file
s
.
*
* The GL Transmission Format (glTF) is an API-neutral runtime asset delivery format.
* A glTF asset is represented by:
...
...
@@ -41,6 +41,8 @@
*
* Materials are currently not supported in this reader. If you would like to display materials,
* please try using vtkGLTFImporter.
* You could also use vtkGLTFReader::GetGLTFTexture, to access the image data that was loaded from
* the glTF 2.0 document.
*
* This reader only supports assets that use the 2.x version of the glTF specification.
*
...
...
@@ -48,6 +50,10 @@
* https://github.com/KhronosGroup/glTF/tree/master/specification/2.0
*
* Note: array sizes should not exceed INT_MAX
*
* @sa
* vtkMultiBlockDataSetAlgorithm
* vtkGLTFImporter
*/
#ifndef vtkGLTFReader_h
...
...
IO/Import/vtkGLTFImporter.h
View file @
fdc49613
...
...
@@ -17,8 +17,8 @@
* @class vtkGLTFImporter
* @brief Import a GLTF file.
*
*
*
vtkGLTFImporter is an importer for glTF
files.
*
vtkGLTFImporter is a concrete subclass of vtkImporter that reads glTF 2.0
* files.
*
* The GL Transmission Format (glTF) is an API-neutral runtime asset delivery format.
* A glTF asset is represented by:
...
...
@@ -28,8 +28,9 @@
* - Image files (.jpg, .png) for textures
*
* This importer supports materials to the extent supported by vtk (ie: no metallic/roughness
* textures, normal maps, em
m
issive maps and alpha masking).
* textures, normal maps, emissive maps and alpha masking).
* This importer does not support animations, morphing and skinnng.
* If you would like to use animations, morphing or skinning, please try using vtkGLTFReader.
*
* This importer only supports assets that use the 2.x version of the glTF specification.
*
...
...
@@ -43,6 +44,10 @@
* The importer supports the KHR_lights_punctual extension except for this feature:
* - VTK does not support changing the falloff of the cone with innerConeAngle and outerConeAngle.
* The importer uses outerConeAngle and ignores innerConeAngle as specified for this situation.
*
* @sa
* vtkImporter
* vtkGLTFReader
*/
#ifndef vtkGLTFImporter_h
...
...
Mathieu Westphal
@mwestphal
mentioned in commit
96c329f3
·
Jun 07, 2019
mentioned in commit
96c329f3
mentioned in commit 96c329f347e29f9a4804448ed75fabb1b6ecf2d6
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment