JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Texture rendering

    Scheduled Pinned Locked Moved General Discussions
    3 Posts 3 Posters 821 Views 2 Watching
    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 LoVeP Offline
      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

      z3devZ 1 Reply Last reply Reply Quote 0
      • hrgdavorH Offline
        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
        • z3devZ Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Powered by NodeBB | Contributors