Comments (8)
Please provide a live example of what you're having issues with.
from three-bvh-csg.
The "resultObject" should have the material of the borders, but it seems that only the primary color from the texture is being taken
from three-bvh-csg.
This is not a live example. Please make an editable example using jsfiddle, codesandbox, etc.
from three-bvh-csg.
https://jsfiddle.net/lmigani/bthp50v7/38/
The project base was this: https://gkjohnson.github.io/three-bvh-csg/examples/bundle/simple.html
from three-bvh-csg.
Your demo page does not work. Have you tested it? I'm happy to take a look but I'm not planning to spend my time fixing your broken demonstration code just so I can understand your issue. If you'd like help you need to make an effort to provide a live, working demonstration that shows your problem, as I've asked for twice now.
from three-bvh-csg.
Sorry for the inconvenience, the preview it's working now.
https://jsfiddle.net/lmigani/52afyg7z/3/
from three-bvh-csg.
You're removing the UVs from the result which are needed for textures. Make sure the UVs are included:
csgEvaluator.attributes = [ 'position', 'normal' ]; // make sure "uv" is included in the set of attributes
from three-bvh-csg.
Thank you very much
from three-bvh-csg.
Related Issues (20)
- New failure case HOT 1
- Fix "isTriDegenerate" function
- Intersecting edges are being incorrectly reported HOT 1
- Any hint to avoid hitting maxDepth? HOT 1
- How to use multiple ExtrudeGeometry holes HOT 2
- Clear cached bounding boxes from result
- Large performance cost for coplanar triangles HOT 13
- I would like to ask, is there anything wrong with my Boolean operation to create geometry? HOT 1
- T-vertices after subtracting mesh from a plane HOT 4
- csg operation error HOT 4
- How to update a CSG Operation HOT 9
- Add a real simple example HOT 3
- Only upload the changed attribute ranges using "updateRange"
- Ensure floating point operations are done on small values where possible
- Weird geometry after second coplanar subtraction of cubes HOT 5
- Question about getOperationAction in operations.js and when it ignores triangles HOT 1
- Threejs 165 support dependency errors HOT 1
- Constrained Delaunay Triangulation
- pointCloud HOT 1
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 three-bvh-csg.