Class X3DLoader
- All Implemented Interfaces:
org.j3d.renderer.aviatrix3d.loader.AVLoader
The loader considers sensor handling and routing to be behaviours. Some asynchronous loading of files for textures is performed. Sound file loading is performed if audio clips are asked for. For example, if behaviours are not requested then Inlines will not have their content loaded.
If the loader asks for no behaviors, then we will still load nodes that use behaviors, but will disable their use. For example, a LOD will still need to have all of the geometry loaded, just not shown or activated because the LOD's internal behavior is disabled. Scripts are considered to be behaviours, and they will not be loaded at all if behaviour loading is disabled. However, we will take out other items. For example, we make no attempt to load textures, scripts or anything else that may require asynchronous loading of the content outside the single call to load().
The default setup for runtime activities is
ListsRouterFactory
and
MemCacheLoadManager
- Version:
- $Revision: 1.5 $
- Author:
- Justin Couch
-
Field Summary
Fields inherited from class org.xj3d.loaders.ogl.BaseLoader
errorReporter, vrml97Only
Fields inherited from interface org.j3d.renderer.aviatrix3d.loader.AVLoader
BACKGROUNDS, FOGS, GEOMETRY, LAYERS, LIGHTS, LOAD_ALL, RUNTIMES, VIEWPOINTS
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.xj3d.loaders.ogl.BaseLoader
getLoadFlags, getNavigationEnabled, isInternalModelKept, keepInternalModel, load, load, load, registerURNLocation, setErrorReporter, setLoadFlags, setNavigationEnabled
-
Constructor Details
-
X3DLoader
public X3DLoader()Construct a default loader implementation with no flags set. When asked to load a file it will not produce anything unless flags have been set through thesetFlags()
method.
-