RoundedBoxBufferGeometry is buggy
See original GitHub issueRoundedBoxBufferGeometry
should render correctly for the default argument values.
geometry = new RoundedBoxBufferGeometry(); // no args
//
RoundedBoxBufferGeometry
should be a box with rounded edges. That means the six sides should have faces that are coplanar. That is, the vertex positions are not correct.
geometry = new RoundedBoxBufferGeometry( 10, 10, 10, 6, 2 ); // number of segments is even
//
UVs are not correct.
//
The normals for the triangles in the six primary faces must be parallel to the coordinate axes. That is, the vertex normals are not correct.
- Three.js version: [r.123dev]
/ping @gkjohnson If you want to have a look at this, that is fine with me. I am not going to pursue this.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:18 (7 by maintainers)
Top Results From Across the Web
Blog Refresh 2022 - Ryosuke
The first round didn't deviate too far from where we ended up. I had a fairly clear vision of what I ... Although...
Read more >vue-3d-model - UNPKG
... ","proto","TypeError","set","setPrototypeOf","test","buggy","Function","f" ... TypedArray","TAC","TypedArrayPrototype","v","setter","round","addElement" ...
Read more >背景にひと手間加えたい時に参考になりそうなスニペット集
BoxBufferGeometry (cubeSize, cubeSize, cubeSize); // BufferAttribute allows for more efficient passing of data to the GPU const material ...
Read more >Untitled
Code Example 'round' //ignored by WebGLRenderer } ); Examples WebGL ... BoxBufferGeometry(1,1,1) const geo = new THREE. ... barracuda buggy plans.
Read more >Three js rotate group
These are mostly the same as the previous chapter, except that we have replaced BoxBufferGeometry and TextureLoader, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is better, but the default values are not fixed, and passing in 1 for segments is buggy.
Also, the bounding box is too small. It should be the same size as the equivalent
BoxBufferGeometry
. In other words, the vertex positions are still not correct.I’d suggest reopening this, or creating a new issue.
I’ll do the change 👌