New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

visione-3d

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

visione-3d

This is a simple Vue component with Three.js to display any 3d object in usdz and obj format with its materials.

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

STADIO Visione 3D 👟

This is a simple Vue component with Three.js to display any 3d object in usdz and obj format with its materials.

Usage

Here a simple example with vite framework and vue

<script setup lang="ts">
   import Visione3D from "./components/Visione3D.vue"

   //@ts-ignore
   import okaObj from "./assets/models/oka/baked_mesh.obj"
   //@ts-ignore
   import okaMtl from "./assets/models/oka/baked_mesh.mtl"
   //@ts-ignore
   import okaUSDZ from "./assets/models/oka/baked_mesh.usdz"
   import "./assets/models/oka/baked_mesh_tex0.png"
   import "./assets/models/oka/baked_mesh_norm0.png"
   import "./assets/models/oka/baked_mesh_ao0.png"

   import { ref } from "vue"
   import { OBJ } from "./models/format"

   let modelTest = ref<OBJ>({ obj: okaObj, mtl: okaMtl })
</script>

<template>
	<Visione3D :model="modelTest" />
</template>

FAQs

Package last updated on 21 Oct 2023

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