bugClanLib - Bugs: bug #4419, Artifacts at sprite borders

 
 

bug #4419: Artifacts at sprite borders

Submitted by:  Ingo Ruhnke <grumbel>
Submitted on:  Tue 22 Jul 2003 07:34:45 PM UTC  
 
Category: clanDisplaySeverity: 3 - Normal
Item Group: Incorrect BehaviourStatus: None
Privacy: PublicAssigned to: Magnus Norddahl <mbn>
Open/Closed: ClosedRelease: 0.7-CVS
Operating System: AllPlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 13 Sep 2003 01:06:32 AM UTC, comment #7:

Silly me, the bug occurs because only sprites use the packer (which adds the extra border), and not surfaces. Will fix this when I fix up CL_Surfaces next.

Kenneth Gangstoe <sphair>
Project Administrator
Sat 13 Sep 2003 01:03:13 AM UTC, comment #6:

I've tested the example, and the artifacts are still there yes. I get it for both TGA and PNG files.

Theory: The artifact fix works for multiple frames, but not single frames.

Kenneth Gangstoe <sphair>
Project Administrator
Thu 21 Aug 2003 09:17:34 PM UTC, comment #5:

If the bug doesnt appear with TGA but appears with PNG, then its more likely that the PNG provider may be broken (off by one). What dimensions does your image have?

Magnus Norddahl <mbn>
Project AdministratorIn charge of this item.
Thu 21 Aug 2003 09:25:34 AM UTC, comment #4:

Julius, what gfxcard do you use?

You are the only one that have seen this bug again since I fixed it adding that extra border. I have marked the bug as "Works for me" until I get some way to do further testing with this (or see it with my own eyes with my geforce 4).

Magnus Norddahl <mbn>
Project AdministratorIn charge of this item.
Thu 21 Aug 2003 09:24:55 AM UTC, comment #3:

I find this weird, as we did test this fix on fonts, and they certainly aren't 2^n x 2^n.

Julius: What OS/gfx card do you use?
Are you 100% sure you compiled, installed and used the latest CVS when testing this?

Kenneth Gangstoe <sphair>
Project Administrator
Thu 14 Aug 2003 08:27:14 PM UTC, comment #2:

Added border pixel code at borders of sprites to fix this. Initial tests indicate it works.

Magnus Norddahl <mbn>
Project AdministratorIn charge of this item.
Tue 22 Jul 2003 11:18:29 PM UTC, comment #1:

might be video memory issue. Images with 2^n size does not have such effect. Even when rotating.

Anonymous
Tue 22 Jul 2003 07:34:45 PM UTC, original submission:

ClanLib displays artefacts at the borders of sprites, something 1 pixel width. See attached screenshot for an example.

Ingo Ruhnke <grumbel>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #550:  clanlib07_gfxbug.jpg added by grumbel (92KiB - image/jpeg - Artefact on a sprite)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 13 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 09 Feb 2005 03:43:32 PM UTCgrumbelOpen/ClosedOpen=>Closed
Sat 13 Sep 2003 01:03:13 AM UTCsphairStatusWorks For Me=>(Error - Not Found)
  Operating SystemGNU/Linux=>(Error - Not Found)
  SummaryArtefacts at sprite borders=>
Thu 21 Aug 2003 09:25:34 AM UTCmbnOperating SystemAll=>(Error - Not Found)
  SummaryArtifacts at sprite borders=>
Thu 21 Aug 2003 09:24:55 AM UTCsphairOpen/ClosedClosed=>(Error - Not Found)
  Operating SystemGNU/Linux=>(Error - Not Found)
  SummaryArtefacts at sprite borders=>
Thu 21 Aug 2003 09:24:54 AM UTCsphairStatusFixed=>(Error - Not Found)
Thu 14 Aug 2003 08:27:14 PM UTCmbnStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
Sun 10 Aug 2003 06:09:29 PM UTCmbnAssigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1