You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the following code to render a simple box with Edges applied:
functionBox(){return(// Note the negative scaling<meshposition={[2,0,0]}rotation={[0.5,0,0]}scale={[-2,2,2]}><boxGeometryargs={[1,1,1]}/><Edgescolor="black"/><meshStandardMaterialcolor="orange"/></mesh>);}
With Drei version 9.101.0, the edges are nicely rendered:
With Drei version 9.102.0 and above, the edges no more show up:
This only happens when negative scaling factor is used in the surrounding <mesh>.
Thank you for contributing! We’re marking this issue as stale as a gentle reminder to revisit it and give it the attention it needs to move forward.
Any activity, like adding an update or comment, will automatically remove the stale label so it stays on our radar.
Feel free to reach out on Discord if you need support or feedback from the community. This issue will close automatically soon if there’s no further activity. Thank you for understanding and for being part of the project!
three
version: 0.166.1@react-three/fiber
version: 8.16.8@react-three/drei
version: 9.108.4node
version: 20.8.0npm
version: 10.1.0Problem description:
When using the following code to render a simple box with Edges applied:
With Drei version 9.101.0, the edges are nicely rendered:
With Drei version 9.102.0 and above, the edges no more show up:
This only happens when negative scaling factor is used in the surrounding
<mesh>
.Relevant code:
I created a repository that demonstrates this problem: https://github.com/nene/three-edges-react
Suggested solution:
Looks like there were major changes to Edges implementation in v9.102.0.
The text was updated successfully, but these errors were encountered: