jPCT-AE - a 3d engine for Android > Support

Back Ground color

(1/1)

dan:
I have a question about background color.

The background of the sample app is blue.

But when i run my app which build from the source code,
the background is black.

Could you tell me what's wrong with it?

thank you!

EgonOlsen:
Nothing wrong. The source code just doesn't reflect the latest version of the demo. Look out for the line "fb.clear();". There, you can use "fb.clear(<RGBColor>);" instead to specify the background color. Just look at the JavaDoc of that method for more details. Sorry for causing some confusion.

dan:
Done.
thank you!!!

Navigation

[0] Message Index

Go to full version