2
\$\begingroup\$

How would I create and implement a texture of text that wraps around a 3D model? The texture will just be white and you should be able to add text to it, but I need to create this so that when the texture is wrapped around a model of a person, the person is then composed of lines of text and the lines should not be distorted.

In my head the way I would do it is to put the flattened texture in a file, and draw text on to it. Is this the best way? are there any issues that I'm unaware of that I might come across?

\$\endgroup\$
  • \$\begingroup\$ A render target is probably what you are looking for. What engine are you using? \$\endgroup\$ – FallenAvatar Jan 23 '12 at 1:31
  • 2
    \$\begingroup\$ It might help to realize that this problem has little to do specifically with text. \$\endgroup\$ – notlesh Jan 23 '12 at 2:28
  • \$\begingroup\$ well it might indeed help, yes. So can you? \$\endgroup\$ – SirYakalot Jan 23 '12 at 9:53
  • \$\begingroup\$ "I have zero experience with textures" Then you should get experience with textures before trying to do something so specific. There's plenty of information online about texture mapping. \$\endgroup\$ – Nicol Bolas Jan 23 '12 at 16:31
  • \$\begingroup\$ I'll edit the question....... \$\endgroup\$ – SirYakalot Jan 23 '12 at 16:33
2
\$\begingroup\$

Here is a link This is part of a DX10 tutorial series, but this one covers rendering to a texture. I think you can abstract it and render text to it very easily. (Never tried to render text in DX before)

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.