drei
model-viewer
drei | model-viewer | |
---|---|---|
41 | 68 | |
7,427 | 6,528 | |
3.4% | 1.4% | |
9.4 | 8.7 | |
5 days ago | 12 days ago | |
JavaScript | TypeScript | |
MIT License | Apache License 2.0 |
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.
drei
-
Implementing 3D Graphics in React
In React, there are different libraries for rendering 3D. In this article, we will focus on how to use the Three.js Library, React Three Fiber library, and the React Three Drei library for creating 3D objects.
-
Show HN: 3D Framework for the Web. Built on Svelte and Three.js
I have been using react-three-fiber and react-three-drei - the react version of this project. The examples are over whelming and wonderful
https://docs.pmnd.rs/react-three-fiber/getting-started/examp...
One of my favorites is the image gallery. I modified this so that clicking on an image take you into another room (gallery).
https://github.com/pmndrs/drei is a collection of examples and helpers.
Most impressive to me is the one using a GLTF model, video textures on text, reflections and more. A standalone version is
https://bfplr.csb.app/
But even more impressive is the sandbox showing the not-very-many-lines-of-code at
https://codesandbox.io/p/sandbox/ground-reflections-and-vide...
A lot to putting a layer on top of threejs and I have run a fair number of head scratchers. But still the potential is huge. Using threejs has completely changed the way I look at website development. So if you are a svelte person I would definitely look into this.
-
figured out an outline shader, heres the code (raymarching)
the shader is here if you want it in vanilla https://github.com/pmndrs/drei/blob/master/src/core/Outlines.tsx though keep in mind it needs some additional work to support skeletons and instances, that's the code in the layout effect.
-
Cannot render glb file in frontend, instead it showing a black image
the eco system gives you so much freedom, especially when it comes to properly align, display your models, and to make them look nice. there are dozens of components for staging, lighting, soft shadows, you would miss out on all of that https://github.com/pmndrs/drei
- MeshPortalMaterial component from Drei is magic
-
Open Source Project Ideas for Three.js?
there are more pain points than can be enumerated. i think you should take a look here https://github.com/pmndrs/drei and pmndrs in general. also the eco system it has covered so far.
-
Suggestions needed
there's a whole eco system around three in react and next. it starts with react-three-fiber, drei has tons of helpers, and then there's three-next for when you need 100% lighthouse, persisting canvas across routes etc.
-
Best toolset for building a 3D Website?
Definitely ThreeJS and specifically React Three Fiber. React Three Fiber is an amazing wrapper around three that greatly reduces boilerplate. And because of how modular react is, the community has grown massively. With lots of helper components in the Drei library, and amazing examples in the author's Twitter. The Codesandbox is also a goldmine of example. And one of the best-produced courses by Bruno Simon to help you get started. He is the creator of this famous portfolio site.
-
Built a new splash page at the beginning of the year. Used the opportunity to experiment with react-three-fiber.
I picked the stack I did to expand upon my skill set. In particular, I wanted to brush up on react-three-fiber, react-spring & drei.
- How to achieve these controls?
model-viewer
-
Would it be possible to implement this 3d model viewer into 3d tavern?
I came across this after finding out about chatvrm https://modelviewer.dev and I was wondering if it would be possible to implement it into silly tavern or if anyone knows of similar extensions? I might try it myself but I really have no idea what I am doing but it would be cool to add any video game character to it with animations for a more realistic rp experience.
-
F3D is an open source 3D viewer, fast and minimalist
Shameless plug: if you are interested in viewing and/or embedding glTF or USDZ files on the web, I worked on an HTML element for that called
"It's like or tag for 3D models"
https://modelviewer.dev/
-
Time estimate from a pro
That said, maybe in your case, if it's a really minimal 3D viewer, it could be that the modelviewer.dev could what you need. You can use it like any other html element and just link it to a 3D model you export from blender as a .glb file. I think it also allows you to add labels.
- Want to create AR experience on Shopify
-
a free alternative to github pages that support at least repos of 60mb?
something free like github pages where can I load fore free about 60mb? basically I am using modelviewer.dev to render a 3d model, but I can't insert it directly into my website because I am using google sites, so I though about using an iframe via github but I am limited to 25mb, which the model is about 40/50mb I can't make it smaller
- a way to freerly render 3d models within google sites?
-
3d Models on Shopify.
Anyways, I would suggest that you use package by google. You can find it here: https://modelviewer.dev/ .. It takes care of loading the model and controls as well as show the "view in AR" button on supporting devices. More important than anything, you just give it the model and it takes care of everything else.
-
how do I export a 3d model with animated textures as glb?
I was going to use this: https://modelviewer.dev/
-
Tool to convert JS file into <script></script> friendly code to use in all in one HTML file?
I'd like to get the google 3d model-viewer working on Ordinals: https://modelviewer.dev/
- WebAR help
What are some alternatives?
react-three-fiber - 🇨🇠A React renderer for Three.js
three.js - JavaScript 3D Library.
three-mesh-bvh - A BVH implementation to speed up raycasting and enable spatial queries against three.js meshes.
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
threlte - A three.js component library for Svelte. [Moved to: https://github.com/threlte/threlte]
A-Frame - :a: Web framework for building virtual reality experiences.
react-three-arjs - AR.js with react-three-fiber
trois - ✨ ThreeJS + VueJS 3 + ViteJS ⚡
gltfjsx - 🎮 Turns GLTFs into JSX components
3d-model-convert-to-gltf - Convert 3d model (STL/IGES/STEP/OBJ/FBX) to gltf and compression
react-postprocessing - 📬 postprocessing for react-three-fiber
vircadia-native-core - Vircadia open source agent-based metaverse ecosystem.