JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Texture rendering

    General Discussions
    3
    3
    444
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pippo LoVe
      Pippo LoVe last edited by

      Is it possible to apply a texture to a solid? Is it foreseen in the future?

      If that's not possible, what makes implementation difficult?
      Thank you

      z3dev 1 Reply Last reply Reply Quote 0
      • z3dev
        z3dev @Pippo LoVe last edited by

        @Pippo-LoVe as mentioned, JSCAD focuses on designs for 3D printing, and therefore colors are essential. Colors are assigned to a geometry / shape after completing all operations.

        Colors can also be assigned to individual polygons on 3D geometries.

        Having said the above, textures may be possible. But there have not been many requests for this support.

        1 Reply Last reply Reply Quote 0
        • hrgdavor
          hrgdavor last edited by

          If it is not intended in jscad, I have some code that converts jscad models to three.js BufferGeometry ...

          I have intentionally skipped generating normals (hoping it would give me more speed).

          without normals polygons can be colored, but image texture can not be applied correctly, but fortunately it should not be too difficult.

          https://threejsfundamentals.org/threejs/lessons/threejs-custom-buffergeometry.html

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors