Comments (4)
Notes from three.js slack via @zadvorsky about converting from geometry to buffergeometry
Buffer geometry has a βuvβ attribute (geometry.attributes.uv) you can access and modify. Itβs a flat representation of the uvs, rather than indexed by face. Itβs an instance of https://threejs.org/docs/#api/en/core/BufferAttribute. You can either modify the values in attributes.uv.array directly, or use of the methods to set values with specific offsets.
you may have to do some fiddling to find the correct mapping of your uvs and the geometry uvs
from superframe.
Also see: https://discourse.threejs.org/t/updating-uv-coordinates-of-buffergeometry/9180/3
from superframe.
Also see: https://discourse.threejs.org/t/new-sprite-uv-mechanism/4486/3
from superframe.
fixed with #295
from superframe.
Related Issues (20)
- log component is pretty broken in a few ways
- look-at component does not accept vector after a selector has been used
- [orbit-controls] doesn't update camera children
- event-set cannot set attributes on components with a dash in their name. HOT 6
- geometry-merger, no working demo, example code doesn't work HOT 2
- Orbit-Controls: Rotating seems to reset the dolly maxDistance to 180 HOT 1
- [audio-analyser] mobile not supported
- geometry-merger not working HOT 3
- layout type line align center not working as expected
- Add support to "magicWindowTrackingEnabled: false" to "orbit-conrols" HOT 1
- Orbit camera and WASD is broken from 0.9.2, orbit camera broken from 1.4.0 HOT 1
- `getOrCreateObject3D` has been deprecated. Use `setObject3D()` and `object3dset` event instead.
- Haptics example not working HOT 2
- Needs update for aframe v1.4.0 HOT 2
- atlas-uvs component: loss of UVs coordinates when changing geometry
- [template] case mustache return handlebars compiler HOT 1
- orbit-controls doesnt work correctly with a-camera primitive HOT 8
- orbit-controls initialization position is inaccurate HOT 6
- [orbit-controls] Conflicts with TransformControls HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superframe.