http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=283
Summary: 2x filter for ohrrpgce gfx_fb
Product: OHRRPGCE
Version: unknown
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: backend:gfx_fb
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I've made a mod that implements a 2x filter and smooths out the pixels on a
640x400x8 screen add these lines to the gfx_showpage sub in gfx_fb
'(add under line 57)
dim as integer fx, fy, p0, p1, p2, p3, p4'for 2x filtering
'(add under line 77 under the last next)
'added for 2x filtering
sptr = screenptr
for fy = 1 to 398 step 2
for fx = 1 to 638
p0 = PEEK (sptr +(fy * 640) + fx)
p1 = PEEK (sptr +((fy-1) * 640) + (fx-1))
p2 = PEEK (sptr +((fy-1) * 640) + (fx+1))
p3 = PEEK (sptr +((fy+1) * 640) + (fx+1))
p4 = PEEK (sptr +((fy+1) * 640) + (fx-1))
if p1 = p3 then p0 = p1
if p2 = p4 then p0 = p2
POKE sptr + (fy * 640) + fx, p0'pset(fx,fy),p0
next fx
next fy
--
Configure bugmail:
http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org