Merging 3D objects

3D data may be merged into existing 3d space. In order to do this, use .load function.

.load(file, {})

file short file name. Fully qualified url should be divided into path and short file name.

Some of parameters are displayed below. For fiull description see documentation for window object.

path Path to folder with objects and textures
merge boolean. This parameter must be set to true fro merging.
parent Parent node. Used for merging.
callback function, called after loading. Used with merge parameter.
type Type of file. Usually just an extension. Use this parameter, if extension is different from standard ones or if you should add extra parameters to url after file name.
nonotify Do not send notification.

Example

In this article