Gamestudio Links
Zorro Links
Newest Posts
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
Zorro version 3.0 prerelease!
by TipmyPip. 02/24/26 17:09
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (Martin_HH, TipmyPip, AndrewAMD, Grant, USER0328), 5,287 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Sprite sorting & Overlay problem... #320109
04/19/10 18:37
04/19/10 18:37
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
hi there..

I don´t know where to put this correctly.. so.. i´m sry if this is the worng place..

Ok.. Questions:

1. if my skin has a black background color ( 24Bit no alpha ), and i set the OVERLAY flag to the model. How can i get away that black outlines around the sprites?

2. When i use a 32Bit TGA with Alpha Channel instead of that black background, the Sprites are all shown overlayed ( as if they are all at the same position ). i cann look through the first 5 rows.. the rows behind are cutted..etc..
Any way to fix that, so the front row is shown in front of every sprite behind...?

Last edited by Espér; 04/19/10 18:40.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Sprite sorting & Overlay problem... [Re: Espér] #320112
04/19/10 19:01
04/19/10 19:01
Joined: Apr 2010
Posts: 52
Hamburg, Germany
JXT Offline
Junior Member
JXT  Offline
Junior Member

Joined: Apr 2010
Posts: 52
Hamburg, Germany
Dein 2. Problem kapier ich nicht ^^

Aber zum ersten: versuchs mal mit d3d_alpharef wink

Re: Sprite sorting & Overlay problem... [Re: JXT] #320117
04/19/10 19:09
04/19/10 19:09
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
problem 2 is shown best here:


The front row of the cornfield is the greatest part invisible, and i can look through nearly every line ( that makes it look accurate...
Normally, the frontrow should stay in front of all rows and hide them.. but it doesn´t.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Sprite sorting & Overlay problem... [Re: Espér] #320119
04/19/10 19:14
04/19/10 19:14
Joined: Apr 2010
Posts: 52
Hamburg, Germany
JXT Offline
Junior Member
JXT  Offline
Junior Member

Joined: Apr 2010
Posts: 52
Hamburg, Germany
Tried to use "layer"?

And what's the alpha-value of the first rows? 100?

Re: Sprite sorting & Overlay problem... [Re: JXT] #320120
04/19/10 19:19
04/19/10 19:19
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
the corn isn´t created via script. it´s model based ( via skin ).. So.. there´s no layer XD

Last edited by Espér; 04/19/10 19:36.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Sprite sorting & Overlay problem... [Re: Espér] #320130
04/19/10 20:19
04/19/10 20:19
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Individual polygons of a model are not sorted, so it won't work unless you're using a shader that writes to the ZBuffer.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Sprite sorting & Overlay problem... [Re: JibbSmart] #320133
04/19/10 20:26
04/19/10 20:26
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
hmm.. ok.. is there a shader like Julz said out there?


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Sprite sorting & Overlay problem... [Re: Espér] #320156
04/19/10 23:45
04/19/10 23:45
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline
Serious User
Nowherebrain  Offline
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
yes it must have Zwrite enabled, and you can set d3d_autransparency = 1; to use 24 bit textures with alpha....refer to the manual for in depth instuctions.


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/
Re: Sprite sorting & Overlay problem... [Re: Nowherebrain] #320352
04/21/10 06:53
04/21/10 06:53
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482


Moderated by  Blink, Hummel, Superku 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1