Page 1 of 1

FillPoly error?

PostPosted: Feb 27, 2005 @ 3:54pm
by rvdweerd
Hi everone,

I am new to the PocketFrog library. So this me be some silly questions:

First question is about FillPoly. I have managed to create a star, but when I rotate it, the empty spaces between the points of the star are some times filled too. In other cases it doesn't draw (parts) of the point. Is this a bug or am I doing things wrong?

I attached a screen capture to illustrate my problem.

Second question:
In documentions I read you can disable the PocketFrog splash screen by setting:
m_config.splashScreenTime = 0;

This throws an error during compilation. splashScreenTime is not a member of Config.

Third question:
Does PocketFrog support VGA (640*480)? And how do I enable it?

Thanks in advance for your answers.

Richard

PostPosted: Feb 27, 2005 @ 4:52pm
by fast_rx

PostPosted: Feb 27, 2005 @ 5:20pm
by fzammetti

PostPosted: Feb 27, 2005 @ 7:13pm
by fast_rx
I wouldn't re-write it... I would just add a function to tesselate a concave polygon.

http://www.codeproject.com/Purgatory/po ... lation.asp

PostPosted: Feb 27, 2005 @ 7:13pm
by rvdweerd
Thanks guys for your quick answers.

So I need to update the fillpoly function myself? Either by splitting my objects or updating the fillpoly routine. When I have a new fillpoly that works. I'll let you know.

About the splashscreen. The documentation writes set member to zero, or create a SplashScreen(). In both cases the 'PocketHAL 0.7.3' appears. How can I replace that one with my own?

And what about VGA-support?

Tx Richard

PostPosted: Feb 27, 2005 @ 11:29pm
by fast_rx
To get rid of the 'PocketHAL 0.7.3' banner requires a donation to Thierry (look at droneship.com).

I haven't kept up with the VGA stuff, but I don't think it's done yet.