component-material
🧩 Compose modular materials in React (by pmndrs)
gltfjsx
🎮 Turns GLTFs into JSX components (by pmndrs)
component-material | gltfjsx | |
---|---|---|
1 | 58 | |
157 | 5,001 | |
- | 2.2% | |
1.2 | 7.3 | |
over 3 years ago | 2 months ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
component-material
Posts with mentions or reviews of component-material.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-15.
-
How to reproduce Death Stranding UI with react and react-three-fiber
For the translucent blue color we can use a simple shader by using component-material on the first material
gltfjsx
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 2024-05-25.
- glTF JSX – Turn glTF Assets into React-Three-Fiber Components
-
Frontend resources! 🚀
GLTFs into JSX: Convert GLTF files into JSX components
-
Building Your First Browser Game with Three.js and React: Part 2 - Implementing 3D Models
We will create two components using the GLTFJSX tool. This tool transforms 3D models (in gltf format or others) into ready-to-use components for your React Three Fiber project. Try it yourself with our two models!
-
Implementing 3D Graphics in React
Creating geometric shapes is fun, but we can also create 3D models using applications like Blender, Maya, Sketchfab, and TurboSquid. In this section, we will run a 3D model using an already-created model from Sketchfab. We will use the GLTF file model. We will also use the GLTF pipeline, and GLTFJSX packages to convert the GLTF file to Draco GLTF and then to a React JSX file. To start first;
-
How can I get rid of these gaps?
Hello! I loaded a model using https://gltf.pmnd.rs and it displays correctly, but there are weird gaps that you can see through on the edges. This is a Next.js project with ts. I'm using @react-three/fiber and @rect-three/drei to use three.js in react. I'll attach the file that creates this object, but if there's anything more you need, just ask me. Here's the file that contains the code of this object:
-
React + Three.js. Creating your own 3D shooter. Part 1
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.
-
Add texture to loaded glb, threejs
especially for what you describe above. it can lay out a glb model declaratively, the whole scene is yours to control. watch the first video here https://github.com/pmndrs/gltfjsx and then use that tool:
- Optimization checklist GLTF models in Three.js?
-
Any good tutorials on creating dynamic animations?
stuff like this doesn't have to be keyframed, you can just rotate model groups. im sure this will be overwhelming atm but if you have the time watch the video there https://github.com/pmndrs/gltfjsx models in threejs are blobs, they are not meant to do anything. people traverse them and create mutations. but that tool puts the entire model scene under your control, every node in its graph is declarative now, to my it dynamic is trivial at that point.
-
which skills to learn from Blender for three js
the second practically doesn't exist in vanilla three. a gltf is a blob that you throw into the scene. pair three with react and blender will be a lot more useful: https://github.com/pmndrs/gltfjsx (watch the first video there)
What are some alternatives?
When comparing component-material and gltfjsx you can also consider the following projects:
react-three-flex - 💪📦 Flexbox for react-three-fiber
gltf-pipeline - Content pipeline tools for optimizing glTF assets. :globe_with_meridians:
leva - 🌋 React-first components GUI
react-three-fiber - 🇨🇭 A React renderer for Three.js [Moved to: https://github.com/pmndrs/react-three-fiber]
death-stranding-ui - Death Stranding UI made in React
drei - 🥉 useful helpers for react-three-fiber
react-three-a11y - ♿️ Accessibility tools for React Three Fiber
triplex - The visual IDE for React/Three Fiber.
xr - 🤳 VR/AR for react-three-fiber
drei - 🌭 useful helpers for react-three-fiber [Moved to: https://github.com/pmndrs/drei]
model-viewer - Easily display interactive 3D models on the web and in AR!
component-material vs react-three-flex
gltfjsx vs gltf-pipeline
component-material vs leva
gltfjsx vs react-three-fiber
component-material vs death-stranding-ui
gltfjsx vs drei
component-material vs react-three-a11y
gltfjsx vs leva
component-material vs triplex
gltfjsx vs xr
component-material vs drei
gltfjsx vs model-viewer