It is currently Wed Dec 13, 2017 9:16 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: sprite rendering
PostPosted: Mon Aug 29, 2005 7:49 am 
i am working on gettting sprites to work. reading BT docs, the sprite buffer is parsed during the rendering to fill the in range temp buffer. for accuracy, can this be done after the rendering but before hblank? or if the game does a mid scan trick i am not sure if i need to code that by ppu cc. i was going to code it by ppu cc during hblank for getting the in range sprites ready for the next scan line. sorry if i didnt word this question right.

and, i have a registered log in name but can not log in. i had the password emailed to me and tried that but still failed.

matt


Top
  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 10:14 am 
Offline
User avatar

Joined: Wed Nov 10, 2004 6:47 pm
Posts: 1845
I loaded all the sprite data on cycle 256 of the previous scanline. That's probably "good enough" for every existing commercial game (I don't know of any which do mid-frame sprite tricks -- and if they do, they likely shut the PPU off for a few scanlines anyway)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 3:41 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
I can't say I'm right 'cuz my PPU engine starts at cc zero (instead of previous scanline bleh bleh). Anyway, by parsing the sprites during cc 0-255 would cause glitches due to $2002.20 being set prematurely (?). Taking cc 256 seems to fix this problem. It would require a real test though.

_________________
Zepper
RockNES developer


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 4:22 pm 
what about the sprite computing during hblank? anyone have problems doing that at the end instead of by each ppu cc

matt


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group