BillboardTextSceneNode Version 1.4.2 problem [SOLVED]

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Dragonazul
Posts: 24
Joined: Sun Sep 23, 2007 9:45 pm
Location: Spain

BillboardTextSceneNode Version 1.4.2 problem [SOLVED]

Post by Dragonazul »

Hi All,

I have an applicacion made with Irrlicht 1.4.2. I need to use BillboardTextSceneNode with colors under OpenGl. (As you know there is a bug in this version)

I can`t change this application to Irrlicht 1.5 so could anyone please told me what I have to do for repair only this bug into the Irrlicht 1.4.2 version. Or at least some clues. I have write to RogerBorg who fixed the problem but it has not write a post since February...

As it only fail in OpenGl y suppose the bug is in one of the COpenGLxxxxx.h/cpp files.

I have search it into the tracker bug but I haven't found it.

Thanks in advance
Last edited by Dragonazul on Wed Apr 15, 2009 1:54 pm, edited 1 time in total.
Dragonazul
Posts: 24
Joined: Sun Sep 23, 2007 9:45 pm
Location: Spain

Post by Dragonazul »

I get It...

After a deeply search into the COpengl files I found the solution into the CTextSceneNode.cpp

into the constructor change:

Code: Select all

//Material.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF;
//Material.ZBuffer = false;

Material.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL;
Material.ZBuffer = true;
Easy solution dificult search.
Post Reply