|
[OpenLayer] A few bugs |
Epsi
Member #5,731
April 2005
|
Hi, First I would like to say that OpenLayer is the best library that I've ever used. But I've found what I think is bugs (using the latest snapshot ofcourse). 1) "Ellipse" is not in "ol::" namespace, you have to use ol::Ellipse currently. 2) Ellipse: Impossible to set outline width higher than 1.0. Else the shape move very fast in diagonal and disapear (ex: ol::Ellipse ellipse(200.0,200.0,100.0,60.0,2.0); 3) TextRenderer: Print() with CENTER mode for multi-lines strings slows down the game by 75% (!!). No effect on fps with a single line... 4) Anti-Aliasing: With my Gfx Card (GeForce Go 6200), I get strange results, commented on the screenshots: So antialiasing works for Bitmap(), but not for the Shape(). However if I force antialiasing with the card settings (instead of leaving the app control it), it works... So it's probably something missing in the OL code. That's all for now (we really need an OL part in those forums ) Thanks ___________________________________ piccolo: "soon all new 2d alegro games will be better. after i finsh my MMRPG. my game will serve as a code reference. so you can understand and grab code from." |
Richard Phipps
Member #1,632
November 2001
|
I'm not sure why you are having these problems. Fladimir doesn't seem to be around at the moment either. Perhaps someone else can help? |
biscuitz
Member #5,679
March 2005
|
That's probably because OL uses fsaa, which is a hardware routine (I don't think GL supports a software routine) ---Allegro Version 4.2.0 (beta4) |
juvinious
Member #5,145
October 2004
|
ummmm.. Ellipse IS in the ol namespace. __________________________________________ |
Epsi
Member #5,731
April 2005
|
character.cpp:257: error: `Ellipse' undeclared (first use this function) ol::Ellipse fix the problem. For rectangle or Poly you can use wider outline width than 1.0 (wich is a good thing). Why limit it with Ellipses ? (and it should not bug like that if 1.0 is the maximum) ___________________________________ piccolo: "soon all new 2d alegro games will be better. after i finsh my MMRPG. my game will serve as a code reference. so you can understand and grab code from." |
Trezker
Member #1,739
December 2001
|
Me is working on something that runs just fine on my computer. Guilt has gotten this from debug.
|
Marcello
Member #1,860
January 2002
|
trezker: you know you can type 'bt' right? |
Trezker
Member #1,739
December 2001
|
No, what is that? |
Marcello
Member #1,860
January 2002
|
Backtrace, it prints out the whole stack from the crash/break-point. |
Trezker
Member #1,739
December 2001
|
Well, that's what guilt gave me, what about it? And I can't possbly do a backtrace from the crash point since it doesn't crash on my computer. |
|