Giter VIP home page Giter VIP logo

Comments (8)

gkjohnson avatar gkjohnson commented on September 26, 2024

Please provide a live example of what you're having issues with.

from three-bvh-csg.

pceeee avatar pceeee commented on September 26, 2024

The "resultObject" should have the material of the borders, but it seems that only the primary color from the texture is being taken

Screenshot 2024-02-12 alle 09 35 24
Screenshot 2024-02-12 alle 09 35 43
Screenshot 2024-02-12 alle 09 35 51
Screenshot 2024-02-12 alle 09 35 57

from three-bvh-csg.

gkjohnson avatar gkjohnson commented on September 26, 2024

This is not a live example. Please make an editable example using jsfiddle, codesandbox, etc.

from three-bvh-csg.

pceeee avatar pceeee commented on September 26, 2024

https://jsfiddle.net/lmigani/bthp50v7/38/

The project base was this: https://gkjohnson.github.io/three-bvh-csg/examples/bundle/simple.html

Texture:
wood

from three-bvh-csg.

gkjohnson avatar gkjohnson commented on September 26, 2024

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.

pceeee avatar pceeee commented on September 26, 2024

Sorry for the inconvenience, the preview it's working now.

https://jsfiddle.net/lmigani/52afyg7z/3/

from three-bvh-csg.

gkjohnson avatar gkjohnson commented on September 26, 2024

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.

pceeee avatar pceeee commented on September 26, 2024

Thank you very much

from three-bvh-csg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.