Socket
Book a DemoInstallSign in
Socket

t3d-3dtiles

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

t3d-3dtiles

An extension for 3D Tiles based on t3d.js

0.3.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

t3d-3dtiles

NPM Package

A 3D Tiles extension for t3d.js.

Examples

Licensing

This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.

Dependencies

  • NASA-AMMOS/3DTilesRendererJS: Licensed under the Apache License 2.0. Copyright © 2020 California Institute of Technology. See LICENSE for details. The core module is directly referenced from NASA-AMMOS/3DTilesRendererJS, while other parts have been modified to work with the t3d.js rendering engine while maintaining the original functionality.

Quick Start

Most of the interfaces and usage are similar to NASA-AMMOS/3DTilesRendererJS.

Here is the basic usage of t3d-3dtiles:

import { TilesRenderer } from 't3d-3dtiles';

// Create tiles with tileset URI
const tiles = new TilesRenderer('./path/to/tileset.json');

// Add tiles.group to scene
scene.add(tiles.group);

// Add camera to tiles, you can add multiple cameras
tiles.addCamera(camera);

// Set screen size for tiles
tiles.setResolution(width, height);

function loop(count) {
    requestAnimationFrame(loop);

    ...
    	
    tiles.update(); // Update tiles every frame

    forwardRenderer.render(scene, camera);
}
requestAnimationFrame(loop);

Keywords

3dtiles

FAQs

Package last updated on 01 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.