Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,014 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Re: [SELL] Northern Veg pack [Re: fogman] #292703
10/06/09 06:46
10/06/09 06:46
Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Machinery_Frank Offline
Senior Expert
Machinery_Frank  Offline
Senior Expert

Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Widi: We did this purposely. We did not copy the polygons and flipped their normals for the leaves. This can produce some other problems (z-fighting) and creates more polygons. But you can do it yourself.

I checked the models in different real-time viewers and in a game engine, as you can see here (click right mouse on image to display it in higher resolution):



As you can see, the transparency and sorting works perfectly with the right shader. Even shadows work great (shadow mapping, stencils will not work) and shadows can take the alpha channel into account. So you can also see, that our alpha channels are well made.

In that engine I only had to set a checker for "double sided rendering" and for "alpha testing". I applied this material only to the leaves. The bark has another material with a normal map for the bumps.

I know, that this can be done in Gamestudio as well, we did it once with our games (Dexon Knight as an example). But you need to make a custom material for that.


Models, Textures and Games from Dexsoft
Re: [SELL] Northern Veg pack [Re: Machinery_Frank] #292731
10/06/09 13:07
10/06/09 13:07
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
@Pappenheimer: The Plants from Loopix are great, i have them already. Thanks.

@Landixus and fogman: The overlay is not possible with the texture from the flowers, because the background from this textures have many different colors. I think i have to colored the textures new....

@ Machinery_Frank: Ok, i understand that you don`t flip the normals, it is also not so much work to do it by myself. But why you don`t can bring the textures (from the Flowers_1) with the background with alpha = 0 or color 0,0,0 (for overlay) that i dont`understand.
But i say it here again: I buy a lot of others models from you, and they are great!!! Thanks



Last edited by Widi; 10/06/09 13:11.
Re: [SELL] Northern Veg pack [Re: Widi] #292734
10/06/09 13:31
10/06/09 13:31
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Originally Posted By: Widi
@Pappenheimer: The Plants from Loopix are great, i have them already. Thanks.

I think you miss-understood what I meant. I didn't mean Loopix's plants, but the ffp (Fixed Function, "Material") he provided to avoid the sorting problem, because his trees have the sorting issue.
Originally Posted By: Widi
@Landixus and fogman: The overlay is not possible with the texture from the flowers, because the background from this textures have many different colors. I think i have to colored the textures new....

The background color of a flower doesn't need to be black, from you screenshot I see that each model has a single background color - that's sufficient to use the overlay feature for them - no need to re-paint anything.

From the manual:
Quote:
For opaque textures (below 32 bit and no DDS), pixels become invisible when [...] or have the same color as the left upper pixel when d3d_autotransparency is set.


"pixels become invisible when they have the same color as the left upper pixel" - that's the thing, you need.

Re: [SELL] Northern Veg pack [Re: Pappenheimer] #292741
10/06/09 14:19
10/06/09 14:19
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
@Pappenheimer: i know that with the left upper pixel, but the background color from ONE texture going for example from 133,161,122 to 26,31,23. Many different colors... frown

Last edited by Widi; 10/06/09 14:19.
Re: [SELL] Northern Veg pack [Re: Widi] #292748
10/06/09 15:28
10/06/09 15:28
Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Machinery_Frank Offline
Senior Expert
Machinery_Frank  Offline
Senior Expert

Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Originally Posted By: Widi
But why you don`t can bring the textures (from the Flowers_1) with the background with alpha = 0 or color 0,0,0 (for overlay) that i dont`understand.


As I already told: We did this with good reasons. I will explain you why:

If we make the background behind the alpha channel black, then you will often see black borders around the vegetation, especially with mipmapping activated.
Because of that the best solution is to have a background that is very similar to the actual color of the vegetation / flower.

I know from experience that these black borders often appear with the overlay function. The alpha channel with a colored background does a better job here.


Models, Textures and Games from Dexsoft
Re: [SELL] Northern Veg pack [Re: Machinery_Frank] #292752
10/06/09 16:25
10/06/09 16:25
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Sorry, maybe i don`t understand, my english is not so good. There is a alpha channel, but all the alpha = 255 (the flowers AND the background).

Last edited by Widi; 10/06/09 16:38.
Re: [SELL] Northern Veg pack [Re: Widi] #292755
10/06/09 17:07
10/06/09 17:07
Joined: Dec 2007
Posts: 706
Schortens Germany
Landixus Offline
User
Landixus  Offline
User

Joined: Dec 2007
Posts: 706
Schortens Germany
Originally Posted By: Widi
Sorry, maybe i don`t understand, my english is not so good. There is a alpha channel, but all the alpha = 255 (the flowers AND the background).


This is a joke?

This is one of my Flowers with 24bit bmb black background

Attached Files shot_2_resize_resize.jpg

My Blog German: http://blog.quakeit.de/
www.quakeit.de ||
Airfix Game in Cooperation with:
www.3drt.com
Models Levels and Textures
Re: [SELL] Northern Veg pack [Re: Landixus] #292758
10/06/09 17:42
10/06/09 17:42
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
From the Skin Manager: 512x512x32, alpha is on. Background is NOT black..

No joke....

As you can see at my picture the most backgrounds are green, some brown and also a little black.

Last edited by Widi; 10/06/09 18:00.
Re: [SELL] Northern Veg pack [Re: Widi] #292783
10/06/09 23:55
10/06/09 23:55
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
you obviously dont get it. ok, with pixels zoomed in on something that is alpha transparent, the edges of the pixels are blurred for a smooth transition. now since the alpha will be blurred too, the areas that are black will be slightly visible all around the edges of the plants so if the next pixel over is black you'll have ugly rough black edges all around your plant.

Re: [SELL] Northern Veg pack [Re: lostclimate] #292787
10/07/09 02:01
10/07/09 02:01
Joined: Oct 2009
Posts: 11
Y
Yaz90 Offline
Newbie
Yaz90  Offline
Newbie
Y

Joined: Oct 2009
Posts: 11
am I the only one understanding Widi here? What he says is the entire alpha channel in his textures is WHITE aka fully visible.

I'm pretty sure Widi knows that the RGB channels can have any colors, such as green in his case. What he means with black is the areas in the alpha channel that should not be rendered, his problem is the entire alpah channel being white.

Last edited by Yaz90; 10/07/09 02:03.
Page 2 of 4 1 2 3 4

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | 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