About the "export" function of "Text" of

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
thomas1234
Posts: 14
Joined: Mon Jan 19, 2009 12:36 pm
Location: Hong Kong

About the "export" function of "Text" of

Post by thomas1234 »

Hello. I am new to Irrlicht and need help from yours again this time. Recently, I draw a 3d model with 3DS Max and export to .obj format. Most of the things including the materials seem showing well except the "text" that I made in 3DS Max cannot show with Irrlicht engine.

Here is the link of photo for rendering of 3DS Max

http://ihome.ust.hk/~eg_ich/render_3ds.jpg

and the link for the screenshot of my application written with irrlicht

http://ihome.ust.hk/~eg_ich/irrlicht.jpg

In fact, I just import the .obj file and add the light and shadow with irrlicht. But you can see that the "text" of the 3d model in 3Ds max are disappeared.

Anyone can help me ? :(
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Looks like the text layer wasn't exported from 3ds, maybe just try to bake it onto the texture.
skumar
Posts: 201
Joined: Thu Feb 14, 2008 6:24 pm
Location: kerala state india
Contact:

Post by skumar »

The text in 3ds max is not meshes ...its splines

splines will not be imported directly to irrlicht in such a manner...


The solution is that..use the extrude modifier to the text so that it will become a mesh...

Then export and it will work
skumar
thomas1234
Posts: 14
Joined: Mon Jan 19, 2009 12:36 pm
Location: Hong Kong

Post by thomas1234 »

Thanks for the reply of hybrid and skumar. The idea of skumar seems good. Let me try it tonight. :P
thomas1234
Posts: 14
Joined: Mon Jan 19, 2009 12:36 pm
Location: Hong Kong

Post by thomas1234 »

hybrid wrote:Looks like the text layer wasn't exported from 3ds, maybe just try to bake it onto the texture.
At the moment , I try to use skumar's method but I find out that it will use up the memory when there are numerous of words/text. :(

I would appreciate it if anybody could teach me how to bake the text onto the materials with using 3DS max. :)
skumar
Posts: 201
Joined: Thu Feb 14, 2008 6:24 pm
Location: kerala state india
Contact:

Post by skumar »

hi

Texts have moderately complex geometry to make smooth curves and other details. So it will surely have good polygon count...

Please specify what you exactly want..then i can give you good advice on that...
skumar
thomas1234
Posts: 14
Joined: Mon Jan 19, 2009 12:36 pm
Location: Hong Kong

Post by thomas1234 »

skumar wrote:hi

Texts have moderately complex geometry to make smooth curves and other details. So it will surely have good polygon count...

Please specify what you exactly want..then i can give you good advice on that...
Sorry for my poor english :( and thanks for your help.

Actually, I want to mark some words on the 3D box with 3DS max such as the picture below:

http://ihome.ust.hk/~eg_ich/MARK.jpg

and import with Irrlicht.
skumar
Posts: 201
Joined: Thu Feb 14, 2008 6:24 pm
Location: kerala state india
Contact:

Post by skumar »

Ya i got it!!

For such things its better to use some textures with the text and then bake it....

You can make such textures in some other image programs and then do uvmapping on your models....its a bit of trial error thing...you may take some time according to your skill...

if you want the text to have bump as well...please refer this tut

http://www.game-artist.net/forums/spotl ... pping.html
skumar
thomas1234
Posts: 14
Joined: Mon Jan 19, 2009 12:36 pm
Location: Hong Kong

Post by thomas1234 »

skumar wrote:Ya i got it!!

For such things its better to use some textures with the text and then bake it....

You can make such textures in some other image programs and then do uvmapping on your models....its a bit of trial error thing...you may take some time according to your skill...

if you want the text to have bump as well...please refer this tut

http://www.game-artist.net/forums/spotl ... pping.html
Thanks, man. Let me take a try according to the tutorial.
Post Reply