Content-Length: 39849 | pFad | http://naver.github.io/egjs-view3d/docs/options/model/src

src | View3D
Skip to main content

src

Typestring | string[] | null
Defaultnull

Source URL to fetch 3D model. glb / glTF models are supported.
If an array is given, it will load and display the models in the given order.

Example

Single

{
src: "/egjs-view3d/model/draco/alarm.glb"
}

LOD(Level of Detail) applied

View3D will load and display all 3D models given in the src array sequentially.
You can use this behavior to load 3D model with smaller size, which can decrease time to interactive.

info

Test this example with the network throttling applied.

Load 3D model
{
src: [
"/egjs-view3d/model/lod/plant/simplified.gltf",
"/egjs-view3d/model/draco/plant.glb"
],
poster: "/egjs-view3d/poster/plant.png"
}








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://naver.github.io/egjs-view3d/docs/options/model/src

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy