Jump to content

drawing text on a model


Terminator
 Share

Recommended Posts

Hello,

is there an easy way to draw text on an object? I was working on a project and I needed to attach different texts on certain objects, so what I did is that I transformed the text into images and I added the image as a texture (which is not the best solution, since I may have a lot of texts, so if I used this approach I will end with a lot of images).

so my questions is, is there a ways to draw texts on a 3D object using the code without assuming that each text is an image?

Link to comment
Share on other sites

As @Deltakosh posted, a dynamic texture is the best method in my opinion. Simply create a dynamic Texture and apply it to the ambient, emmissive, or other channel of your material. A dynamicTexture will also provide you with additional options and functionality which are unique in WebGL.

DB

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...