Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Bug Report
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-11-2007, 07:21 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Most annoying Graal bug?

Well, maybe. Its possible you dont care as much about it as I do. But it's been like that since v4 was out. I already posted a thread back then, nothing fixed til now. This is going to be a really long explanation...

Ok, let's start. I wont explain the exact problem yet, because that might just confuse you. Here you got an image, taken from and used on Esteria:

Click image for larger version

Name:	image1.png
Views:	4103
Size:	653 Bytes
ID:	42773

Just a basic image, used to display the location name in form of text inside. A simple box, seriously, nothing special. Well, it has transparency set, thats actually causing the problem in some way. Will explain that later.

Next picture. A screenshot taken on Esteria, in my testlevel. The box is added, and a test text is shown inside. "Test 123", nothing special. But take a closer look, especially at the boxes outline:

Click image for larger version

Name:	image2.png
Views:	4097
Size:	23.7 KB
ID:	42774

See what I mean? You might, you might not. Here it is, zoomed at x4:

Click image for larger version

Name:	image3.png
Views:	4110
Size:	3.9 KB
ID:	42775

You now probably see what I mean. Some outlines are missing. The reason? I have no idea. I got some information though. As you can probably see, its the outlines over and left to the box. If theres some outlining stuff there, it will be removed.
Need more information? Well, it only happens if an alpha is set on the image (it has a fade-in and fade-out effect on Esteria). And if that applies, only if transparency is set in the image itself. So mode 0 images are no problem, you can just use a black background. But I'm using mode 1 here, because I dont want it to be displayed as a lighteffect. When it's happening? Always. But also kinda random. Because with this image, it didnt happen first. It worked perfectly. And then, out of nowhere, the bug popped up again.

No errors whatsoever are displayed in the F2 log, still, it's bugged. And seriously, it's annoying. I demand this to be fixed. Thank you for reading this.

Btw, the images are thumbnails. Gotta click on them for full view
Reply With Quote
  #2  
Old 09-11-2007, 07:31 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Yeah, this was the problem when I scripted them..
There is nothing wrong with the scripts, it's the images themself (how graal handles them)..

Was kinda annoying back then tho..

Please fix this?
__________________
Reply With Quote
  #3  
Old 09-11-2007, 07:31 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
I had it several times chompy ;P Not only when you did the script, I also had it with mine back then. Glad you answered here.
Reply With Quote
  #4  
Old 09-11-2007, 07:35 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
What do you mean with "if transparency is set in the image itself"? The image1.png you have posted first should normally work fine
Reply With Quote
  #5  
Old 09-11-2007, 07:39 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
If you use for example Paint Shop Pro or Photoshop or something similar to set transparency to the image. If you dont, so for example the image appears with a light green background in Graal, it would work perfectly.

Edit: Problem is, if you got an image, and transparency is set as described above, and you modify it with a script (either alpha, zoom, probably also rotate or anything else) then parts of the outline are removed. What I first thought when I saw this bug was that Graal would create alpha maps for the images on the fly and that the alpha map would be off one pixel to the right and one pixel to the bottom, so practically over the image (where it shouldnt be transparent).
Reply With Quote
  #6  
Old 09-11-2007, 08:01 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Ya, setting transparency to images in Graal offsets it by a pixel. Very, very annoying and it's been around since transparency has been put in.
Reply With Quote
  #7  
Old 09-11-2007, 08:06 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by DustyPorViva View Post
Ya, setting transparency to images in Graal offsets it by a pixel. Very, very annoying and it's been around since transparency has been put in.
I'm sure it's since v4. It worked pretty good with v2 as far as I remember...
Reply With Quote
  #8  
Old 09-11-2007, 08:21 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
I have no idea what you are speaking of really and have not experienced such kind of stuff, may be its graphics card related? Is there any place where I could test it ?
Reply With Quote
  #9  
Old 09-11-2007, 08:23 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Log onto Esteria. The boxes are also used in the start level. I can prepare a test level for you, so you can compare, if you want.

Edit: Nevermind, thats too complicated. Heres an image. At the bottom, the way it should look like, at the top, the way it looks like.

Click image for larger version

Name:	image4.png
Views:	3200
Size:	4.4 KB
ID:	42776
Reply With Quote
  #10  
Old 09-11-2007, 08:39 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva

Of course, this effect varies from image size and different things I can't replicate. But either way it's always a similar effect. This has also happened on every graphics card I've used before. It seems what it's doing is taking a part of the image and moving it left and/or right a pixel. So it seems the smaller the image, the closer it gets to the opposite side, causing it to clip like Crow posts.
It doesn't seem like it's entirely the same thing, but it seems like one in the same problem.
Reply With Quote
  #11  
Old 09-11-2007, 10:39 PM
TalonShriner TalonShriner is offline
Levelsmith
TalonShriner's Avatar
Join Date: Feb 2006
Posts: 138
TalonShriner is on a distinguished road
Send a message via AIM to TalonShriner
I have actually noticed that if you use pure white or pure black, it seems to mess up the transparency. Try changing the border to a really dark gray.
__________________
Shall our paths cross on the road to where ever us humans are racing to, and lets walk instead.
Reply With Quote
  #12  
Old 09-12-2007, 12:31 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by TalonShriner View Post
I have actually noticed that if you use pure white or pure black, it seems to mess up the transparency. Try changing the border to a really dark gray.
Pure Black automatically turns transparent in Graal. That's not a bug.
__________________
Do it with a DON!
Reply With Quote
  #13  
Old 09-12-2007, 02:42 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Exactly zero.

Talon, if you would actually have studied the image I posted, you would've seen that its not black.

Last edited by Crow; 09-12-2007 at 03:36 PM..
Reply With Quote
  #14  
Old 09-13-2007, 02:43 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Sorry for another rude double spam post (postcount++, yay), but...

BUMP!

I know, its just been like a day, but I want it to be fixed this time.
Reply With Quote
  #15  
Old 09-13-2007, 04:07 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It is not really a simple thing, will probably not fixed with the next version.
Reply With Quote
  #16  
Old 09-13-2007, 04:16 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Take your time Stefan. I just want to see it fixed. Doesnt really matter when. Well, in the next few versions would be nice I guess ;P
Reply With Quote
  #17  
Old 09-14-2007, 11:44 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
May be its a problem of the "anti-aliasing" for full pictures, could be interesting to see if there is the same effect when only drawing a part of an image alpha-blended
Reply With Quote
  #18  
Old 09-15-2007, 10:42 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Theres also some other small bug with some images, also happens when the image has transparency. Happen for example on Era, at the "North Gas Station". The windows are kinda bugged and look pretty weird when you move, but when they are on the top of you Graal window (so when you walk down a bit until they almost disappear) they look ok.

Edit: Here are two screenshots of the problem.

Click image for larger version

Name:	bug1.png
Views:	2117
Size:	104.0 KB
ID:	42809 Click image for larger version

Name:	bug2.png
Views:	2099
Size:	108.5 KB
ID:	42810


Edit2: And a video ;P

bug.zip
Reply With Quote
  #19  
Old 09-15-2007, 11:21 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Well you tried the thing with displaying only part of the image to see if it's fixing the problem?
Reply With Quote
  #20  
Old 09-15-2007, 11:38 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Not yet, will do that.

Edit: That seems to fix it..
Reply With Quote
  #21  
Old 09-15-2007, 11:47 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Hmmm so may be it should disable that anti-aliasing/smoothing when an image is drawn non-stretched
Reply With Quote
  #22  
Old 09-15-2007, 12:57 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
If that would fix it, yes it should ;P Should do that anyways, because adding that if the image has its normal shape is useless.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.