Search found 4 matches

by Youen
Sun Nov 26, 2006 6:45 pm
Forum: Beginners Help
Topic: Problem with classes [C++ question]
Replies: 16
Views: 1278

Just to explain why the code of the first post didn't work (since I think nobody explained it) :

your first file includes the second file, its ok
but the second file includes the first file, which gives you infinite recursion (first includes seconds includes first includes second, etc.).

In your ...
by Youen
Sun Nov 26, 2006 6:30 pm
Forum: Beginners Help
Topic: cant load png-texture
Replies: 4
Views: 709

Yes, it is a power of 2, and I have found the problem for transparency : I did not configure the MaterialTypeParam properly : it needs to be very low (since its the threshold at which the alpha value is considered to be completely transparent), but not zero because zero is considered the same as 0.5 ...
by Youen
Sun Nov 26, 2006 6:19 pm
Forum: Beginners Help
Topic: Png alpha problems
Replies: 9
Views: 872

what is the compiling error ?
by Youen
Sun Nov 26, 2006 5:37 pm
Forum: Beginners Help
Topic: cant load png-texture
Replies: 4
Views: 709

I have the same problem when using alpha channel in my texture. It seems to work when saving the png not interleaved. Anyway I got another problem when using the material type EMT_TRANSPARENT_ALPHA_CHANNEL : the texture, which should have a smooth border, is too tough (begins to slowly become ...