Search found 7 matches

by Timo
Tue Aug 10, 2010 1:53 pm
Forum: Bug reports
Topic: [fixed]Unsupported Texture Format
Replies: 9
Views: 2979

This issue still seems to exist in the latest revision of the 1.7. It's not really serious, just a kind of annoying inconsistency between D3D and OpenGL drivers. If the format for addRenderTargetTexture() is not given (ECF_UNKNOWN), in D3D it uses the same format as screen buffer. But in OpenGL it a...
by Timo
Sat Mar 06, 2010 4:41 pm
Forum: Bug reports
Topic: Matrix multiplication order
Replies: 9
Views: 2806

Matrix multiplication order

Not probably a bug, but I just wanted to confirm whether it's intentional that the matrix multiplication is done in the wrong order. For example, if we have a simple multiplication like this: matrix4 M1, M2, M3; ... M3 = M1*M2; The result is not M1*M2, but M2*M1. This is assuming that the matrices a...
by Timo
Tue Feb 23, 2010 8:16 pm
Forum: Bug reports
Topic: ColorMask applied to clear operations in OpenGL
Replies: 1
Views: 428

ColorMask applied to clear operations in OpenGL

For example if you have a material set with colormask ECP_ALPHA, and you call beginScene(), setRenderTarget() etc, which by default clear the buffer, they will only clear the alpha channel. Perhaps this is desired behavior, but even if you set a new material with colormask ECP_ALL before the call to...
by Timo
Tue Feb 02, 2010 7:11 am
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht 1.7 BETA Phase
Replies: 34
Views: 9008

The change I have made is that those functions are now no longer called in the constructor - where they _never had_ worked - so nothing gets broken that did work before. You can't say they never worked. Even though virtual calls in constructor aren't recommended, their behavior is still well define...
by Timo
Mon Feb 01, 2010 1:25 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht 1.7 BETA Phase
Replies: 34
Views: 9008

Removing virtual in a base-class while keeping the function-name does actually sound like a pretty bad API change to me. You wouldn't even get a compile warning about stuff no longer working. That's already the case. You gotta assume that all the classes that override addChild() or updatAbsolutePos...
by Timo
Fri Jan 29, 2010 5:35 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht 1.7 BETA Phase
Replies: 34
Views: 9008

But in short - if that element really needs the virtual addChild call then it already didn't work before. The reason for the change was that virtual functions are _not_ called in constructors. I agree. I was just thinking it might be better to change addChild into a non-virtual function. They way i...
by Timo
Fri Jan 29, 2010 11:58 am
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht 1.7 BETA Phase
Replies: 34
Views: 9008

http://sourceforge.net/tracker/?func=detail&aid=2925420&group_id=74339&atid=540676 I see that there was a change made so that IGUIElement constructor doesn't call the virtual addChild() method anymore. This breaks components like CGUIPanel (used in GUIEditor) which requires that children...