Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Two graphics questions   Message List  
Reply | Forward Message #3058 of 15019 |
Re: Two graphics questions

I would have imagined that when an OBJ and a BG have the same
priority value, the OBJ would always be displayed above the BG. In my
GBA/PC environment I deal with it in this way, but not having the
proper SDK+Hardware, I have no way to be 100% sure. As for multiple
sources in an Alpha blend, I deal with it as follows:

BG1 = Priority value 1 (Terrain)
OBJs = Priority value 1 (Game characters, displayed above
terrain)
BG0 = Priority value 0 (Clouds)


Alpha Blend 1st target sources = BG0
Alpha Blend 2nd target sources = BG1 & OBJs

My environment would display the clouds as semitransparent above the
Game characters and the Terrain. (This may or may not be correct, I
may never know!).

Furthermore, let's say I had a third BG (BG2) of priority value 2
(underlying the Terrain) and the Terrain BG contained transparent
sections. If I also had BG2 flagged as an Alpha Blend 2nd source,
then my environment would show the clouds semitransparent over the
BG2 through the transparent sections of Terrain. This sounds logical
(Why else would you be able to flag multiple sources at once?). Does
this sound logical to anybody else??

Just my one shillings worth.

Niall
A bloke from Ireland




--- In gbadev@y..., groepaz <groepaz@g...> wrote:
> Hello fmoraes,
>
> Monday, April 30, 2001, 10:06:33 PM, you wrote:
>
> fnrc> 1. who has the highest priority in the end? OBJ or BG? I
mean, OBJ
> fnrc> priority 0 and background priority 0?
>
> backdrop -> obj -> bg (highest)
>
> fnrc> 2. with alpha blending, how does it work if you have more
than one
> fnrc> target surface? What if the first surface is transparent?
>
> objs blend only to the bg, not other sprites ... no, it doesnt quite
> look like what you would expect ;/
>
> --
> Best regards,
> groepaz mailto:groepaz@g...




Wed May 2, 2001 12:37 am

a_bloke_from_ireland@...
Send Email Send Email

Forward
Message #3058 of 15019 |
Expand Messages Author Sort by Date

Hi, I have two simple questions: 1. who has the highest priority in the end? OBJ or BG? I mean, OBJ priority 0 and background priority 0? 2. with alpha...
fmoraes@...
Send Email
Apr 30, 2001
8:06 pm

Hello fmoraes, Monday, April 30, 2001, 10:06:33 PM, you wrote: fnrc> 1. who has the highest priority in the end? OBJ or BG? I mean, OBJ fnrc> priority 0 and...
groepaz
groepaz@...
Send Email
Apr 30, 2001
8:48 pm

I would have imagined that when an OBJ and a BG have the same priority value, the OBJ would always be displayed above the BG. In my GBA/PC environment I deal...
a_bloke_from_ireland@...
Send Email
May 2, 2001
2:26 am

Hi fmoraes I would have imagined that when an OBJ and a BG have the same priority value, the OBJ would always be displayed above the BG. In my GBA/PC...
a_bloke_from_ireland@...
Send Email
May 2, 2001
5:26 am

I would have imagined that when an OBJ and a BG have the same priority value, the OBJ would always be displayed above the BG. In my GBA/PC environment I deal...
a_bloke_from_ireland@...
Send Email
May 2, 2001
6:24 am

actualy obj have higher default priority. In otherwords obj priority 0 would apear in front of background priority 0. -dovoto ... From: groepaz...
Rogers, Jason L. ET2 ...
rogersjl@...
Send Email
May 1, 2001
11:53 pm

I will also attempt to answer these questions =) ... From: groepaz To: fmoraes@... Sent: Monday, April 30, 2001 3:48 PM Subject: Re: [gbadev] Two...
Stephen Stair
sgstair@...
Send Email
May 2, 2001
1:38 am

... Hmm, no :) According to Nintendo docs, it goes like this (as you would expect): backdrop -> bg -> obj (highest) ...
VBRunner !
vbrunner_@...
Send Email
May 4, 2001
4:19 am

Ok, Thanks for all the replies. Now can someone clean up the confusion about the priorities between sprites and bg? BG priority 0 and OBJ priority 0, both...
fmoraes@...
Send Email
May 4, 2001
5:16 pm

OBJ >:|| - Nokturn ... From: fmoraes@... To: gbadev@yahoogroups.com Sent: Friday, May 04, 2001 7:15 PM Subject: [gbadev] Re: Two graphics questions Ok, ...
Nokturn
nokturn_@...
Send Email
May 4, 2001
6:20 pm

Today I was in the EFNet #GBADEV chat, asking people about the Qb lable I am making for Boofly ...
Christopher A. Haslage
kilokahn@...
Send Email
May 4, 2001
7:47 pm

What is you want to know about the emulator? It's pretty far along, though not ready for public use yet. It's not possible to emulate the Atari 2600 in C++ on...
Otaku
otaku@...
Send Email
May 4, 2001
8:45 pm

Otaku, Well, that isn't so bad. The problem is to find someone who knows ASM. It is surprising such an antique piece of machine cannot be emulated in the ...
Christopher A. Haslage
kilokahn@...
Send Email
May 4, 2001
11:02 pm

I'm not interested in doing any work on the Saturn. Plus I don't have the time. For now I'm concentrating on writing the VCS emulator by myself. ... From:...
Otaku
otaku@...
Send Email
May 5, 2001
12:41 am

... No First bg is drawn, then OBJs with the same pr. That means, if you have a BomberGirl sprite of prior. 0, it is displayed over the tile map with the ...
Nokturn
nokturn_@...
Send Email
May 4, 2001
11:13 pm

Hello Nokturn, ... N> No N> First bg is drawn, then OBJs with the same pr. That means, if you have a N> BomberGirl sprite of prior. 0, it is displayed over...
groepaz
groepaz@...
Send Email
May 4, 2001
11:48 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help