gltfjsx

🎮 Turns GLTFs into JSX components (by pmndrs)

Gltfjsx Alternatives

Similar projects and alternatives to gltfjsx

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better gltfjsx alternative or higher similarity.

gltfjsx reviews and mentions

Posts with mentions or reviews of gltfjsx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-02.
  • React + Three.js. Creating your own 3D shooter. Part 1
    3 projects | dev.to | 2 Oct 2023
    Then we need to generate a react component that will contain the markup of this model to add it to the scene. Let's use the official resource from the @react-three/fiber developers.
  • Optimization checklist GLTF models in Three.js?
    2 projects | /r/threejs | 6 Jun 2023
  • Need help figuring out how many texture set to use and how to split them up (more in comments)
    2 projects | /r/Substance3D | 29 Mar 2023
  • Can someone help me rendering .gltf files into react?
    2 projects | /r/threejs | 16 Feb 2023
    you should also consider https://github.com/pmndrs/gltfjsx this usually is the best choice and the tool will also compress your files (up to 99% smaller).
  • Scroll animations with React Three Fiber and GSAP
    3 projects | dev.to | 15 Feb 2023
    /* Auto-generated by: https://github.com/pmndrs/gltfjsx */ import { useGLTF, useScroll } from "@react-three/drei"; import { useFrame } from "@react-three/fiber"; import gsap from "gsap"; import React, { useLayoutEffect, useRef } from "react"; export const FLOOR_HEIGHT = 2.3; export const NB_FLOORS = 3; export function Office(props) { const { nodes, materials } = useGLTF("./models/WawaOffice.glb"); const ref = useRef(); const tl = useRef(); const libraryRef = useRef(); const atticRef = useRef(); const scroll = useScroll(); useFrame(() => { tl.current.seek(scroll.offset * tl.current.duration()); }); useLayoutEffect(() => { tl.current = gsap.timeline(); // VERTICAL ANIMATION tl.current.to( ref.current.position, { duration: 2, y: -FLOOR_HEIGHT * (NB_FLOORS - 1), }, 0 ); // Office Rotation tl.current.to( ref.current.rotation, { duration: 1, x: 0, y: Math.PI / 6, z: 0 }, 0 ); tl.current.to( ref.current.rotation, { duration: 1, x: 0, y: -Math.PI / 6, z: 0 }, 1 ); // Office movement tl.current.to( ref.current.position, { duration: 1, x: -1, z: 2, }, 0 ); tl.current.to( ref.current.position, { duration: 1, x: 1, z: 2, }, 1 ); // LIBRARY FLOOR tl.current.from( libraryRef.current.position, { duration: 0.5, x: -2, }, 0.5 ); tl.current.from( libraryRef.current.rotation, { duration: 0.5, y: -Math.PI / 2, }, 0 ); // ATTIC tl.current.from( atticRef.current.position, { duration: 1.5, y: 2, }, 0 ); tl.current.from( atticRef.current.rotation, { duration: 0.5, y: Math.PI / 2, }, 1 ); tl.current.from( atticRef.current.position, { duration: 0.5, z: -2, }, 1.5 ); }, []); return ( ); } useGLTF.preload("./models/WawaOffice.glb");
  • Hey guys, i have a problem with HTML (website) on 3D model screen.
    2 projects | /r/threejs | 25 Dec 2022
    Another helpful tool you can use https://gltf.pmnd.rs/ or use react-there’s command line tool gltfjsx to make a component of your mesh.
  • I would like to focus more on using threejs and blender to develop 3D experiences; how should I improve my portfolio site? Thanks for the advice!
    4 projects | /r/reactjs | 11 Dec 2022
    https://github.com/pmndrs/react-three-fiber in combination with https://github.com/pmndrs/gltfjsx will give you a better experience. https://github.com/pmndrs/drei contains tons of components that would improve the visual look.
  • threlte v5.0 is here! A completely new developer experience that is faster, more powerful, and incredibly flexible.
    4 projects | /r/sveltejs | 16 Nov 2022
    Unfortunately it's not that easy. While in this component there are only two imports happening, these two imports will still have an impact on your bundle size that is larger than the actual two files imported. This is the nature of three.js. A popular tool to minify three.js for production is this minifier. It's an interesting topic for sure but our goal is not to market threlte against other frameworks but to cooperate. There's a lot of tooling that threlte is able to benefit from in the react-three-fiber ecosystem and there's the intention from both sides to do so. One of the first candidates for this could be gltfjsx. For me personally using Svelte over React is huge.
  • How to traverse scene and exclude a mesh?
    2 projects | /r/threejs | 27 Oct 2022
    change the paradigm and all of this goes away. skip to 0:20 in the video at the top and you get at least an impression what normal web dev is like: https://github.com/pmndrs/gltfjsx
  • Create a First Person Movement in React Three Fiber - Part 2
    4 projects | dev.to | 25 Sep 2022
    We are not going to see all the code of the components but it's important to know some key concepts. The next component is ThreeModel.js which is the model of the three. To do this I have used a model from internet and this utility to create a React component from a gLTF.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 17 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic gltfjsx repo stats
54
4,114
8.1
2 months ago
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com