Page 1 of 20 12311 ... LastLast
Results 1 to 10 of 191
  1. #1
    Moderator Cyberman's Avatar
    Join Date
    Nov 2001
    Posts
    1,824
    Originally posted by Dave2001
    Ok, well, I fixed the mario kart thing. It was using FORCE_BL with full alpha.

    Link is still translucent, though. He uses the ALPHA_CVG_SEL flag, but I'm not sure what that does. The docs barely have anything on it. They say:

    ALPHA_CVG_SEL
    use cvg (or alpha*cvg) for pixel alpha





    I'm not exactly sure what it's trying to do, but I think that's what causes link to be transparent, since the flags on the castle in mario64 have this problem too (shaded color) and have this flag.
    Hrmmm I'm not sure what CVG is.. but
    ALPHA_CVG_SEL is used in a number of things I've noticed for example:
    #define RM_AA_ZB_OPA_SURF(clk) \
    AA_EN | Z_CMP | Z_UPD | IM_RD | CVG_DST_CLAMP | \
    ZMODE_OPA | ALPHA_CVG_SEL | \
    GBL_c##clk(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)

    It's used in the macros in GBI.h refering to render mode. CVG * ALPHA gives you the alpha value? CVG might be a bit that's toggled or something elsewhere. IE 0 * ALPHA = 0 1 * ALPHA = ALPHA .. etc. Might he used for turning on and off opacity on a texture.
    Progress (n.):
    The process through which the Internet has evolved from smart people in front of dumb terminals to dumb people in front of smart terminals.
    -------------------------------------------------------------------
    Recursive (adj):
    see Recursive


    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    Moderator Dave2001's Avatar
    Join Date
    Dec 2001
    Location
    USA
    Posts
    310
    Ok, the thread's been split again, this is the new half.

  3. #3
    Moderator Dave2001's Avatar
    Join Date
    Dec 2001
    Location
    USA
    Posts
    310
    Hey, Ogy, you have the 'b' and the 'd' switched in the CRC for Waverace 64. I fixed it in my version, I just want to make sure you fix it in yours. And you also have the ucode # wrong, it should be 3 instead of 1.

  4. #4
    Warrior for God The Khan Artist's Avatar
    Join Date
    Mar 2002
    Location
    Purgatory
    Posts
    1,103
    Hey, that means this is part 3, not part 2.

  5. #5
    d1R3c764 & g1|\|64 m4|<3R Orkin's Avatar
    Join Date
    Mar 2002
    Location
    Oklahoma, USA
    Posts
    267
    Congrats to Dave2001 for the great progress is such little time! Even though I don't have a Glide compatible card, I'm enjoying watching this plugin progess.

    I started my own N64 GFX plugin once (got Mario looking half-way decent), but I got stuck cause I didn't have enough info. I never saw this "gbi.h" and the documentation you've referred to. Could you point me to where I can get it?

    Anyway, keep up the good work!

    Orkin

  6. #6
    Moderator Quvack's Avatar
    Join Date
    Nov 2001
    Location
    Melbourne, Australia
    Posts
    574
    Originally posted by The Khan Artist
    Hey, that means this is part 3, not part 2.
    smarty pants! well i fixed it anyway :p

  7. #7
    Moderator Cyberman's Avatar
    Join Date
    Nov 2001
    Posts
    1,824
    Hey Dave on spring break I assume (what's a break?)
    Anyhow what documentation are you using to get ALPHA_CVG_SEL means Alpha = Alpha * CVG? I'm curious about this is all
    I've been reminiscing my PSX GFX experiments (heh thank God GTE code is done by the EMU and not the plugin is all I can say!).

    You got me curious darn it!

    I probably should get around to working on that MESA GL version of the GPU I just found that the PSX one was more fun (fewer headaches too).

    Cyb
    Progress (n.):
    The process through which the Internet has evolved from smart people in front of dumb terminals to dumb people in front of smart terminals.
    -------------------------------------------------------------------
    Recursive (adj):
    see Recursive

  8. #8
    Moderator Dave2001's Avatar
    Join Date
    Dec 2001
    Location
    USA
    Posts
    310
    Well, Cyberman or Icepir8, whoever suggested it, the alpha on/off thing almost worked. It worked for Zelda, but not completely for Quest64. Also, I'm getting 4-bit Color Indexed (palettized) textures with this flag. See brian's hair and the person's face in the screenshot below. (Brian's hair is 4-bit Intensity, person's face is 4-bit CI, which doesn't do anything on ALPHA_CVG_SEL yet, hence it's completely transparent)

    (no, i'm not on spring break yet, that's the week after this next one)
    Attached Thumbnails Attached Thumbnails ss37.jpg  

  9. #9
    Moderator Dave2001's Avatar
    Join Date
    Dec 2001
    Location
    USA
    Posts
    310
    Ya know what, I think that ALPHA_CVG_SEL means full alpha, just like I originally said. There is only 1 thing that doesn't work, and I need another plugin author to verify this: open zelda, go up to a sign, so that it has a green arrow above it. Is the # of rupees texrect now ALPHA_CVG_SEL or not? I get it so that it changes from FORCE_BL to ALPHA_CVG_SEL, which I believe is incorrect.

    [edit]
    or actually... texrects probably don't use it. BUT, link's shadow always seems to be ALPHA_CVG_SEL, so someone please verify that.

    [edit 2]
    no, I change my mind about texrects now, one of the objects that doesn't work is a quad.
    Last edited by Dave2001; March 18th, 2002 at 05:26.

  10. #10
    Moderator Dave2001's Avatar
    Join Date
    Dec 2001
    Location
    USA
    Posts
    310
    Here's what I'm talking about. When I go up to a sign and the green arrow appears, the status now has the ALPHA_CVG_SEL that the green arrow set.

    [edit] oops... forgot to scale the image down to a reasonable size

    [edit 2] WAIT!!! I just found a suspicious line... SETOTHERMODE: IGNORED. Maybe there's another method of setting the mode I'm not yet handling.
    Attached Thumbnails Attached Thumbnails ss38.jpg  
    Last edited by Dave2001; March 18th, 2002 at 05:45.

Page 1 of 20 12311 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •