Menu

#190 interpolate16 has blit problems

open
nobody
None
5
2005-02-04
2005-02-04
No

hey. 2 problems.

1. when a color has blue & the alpha is 255, when
something is blitted or blitmasked with that color, it
sometimes appears a little translucent (not much, but
enough to be of concern since the alpha is supposed to
be 255). sphere_gl doesn't do this, but interpolate16
sure does, & possibly interpolate32 (tho i haven't tried it
on 32 yet).

2. when Triangle() is called and any/all of the points
have a y coordinate that's <0 or >GetScreenHeight()
that point isn't blitted "where it's supposed to be." the y
coordinate becomes locked to 0 <= y < GetScreenHeight
(), while the x coordinate is blitted in the correct spot
(even if x is outside the window). this is mainly in
interpolate16 (and possibly 32). sphere_gl does not have
this problem.

i don't want to use sphere_gl cuz it's too much for my
computer (celeron 500 mhz, 256 mb ram, intel integrated
graphics=LOUSY GL SUPPORT).

Discussion

  • Brian Robb

    Brian Robb - 2005-02-08

    Logged In: YES
    user_id=387078

    Could you make a test game?
    Then upload it here.

     
  • Alex Rosario

    Alex Rosario - 2005-02-08

    Logged In: YES
    user_id=988268

    the attached is before i made the improvements beaker
    suggested, but it still should show the same blitting problems.
    try changing the color of the cube to a blue based color &
    you'll see what i mean. keys are as follows:
    arrows - move camera
    [ ] - zoom camera
    ; ' - change piece type
    . / - tilt camera (i don't remember if this version has tilt, but if
    it does, use these keys to tilt)
    - = - change camera angle (same note as tilt)
    E R - change red value
    F G - change green value
    V B - change blue value

     
  • Alex Rosario

    Alex Rosario - 2005-02-08

    test map engine as well (the beta version)

     

Log in to post a comment.

MongoDB Logo MongoDB