Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, dr_panther), 791 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Bad sorting problem #379054
07/29/11 00:57
07/29/11 00:57
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline OP
User
Iglarion  Offline OP
User

Joined: Jul 2004
Posts: 785
Serbia
We have big problems with alphamaps in 3dgs. If we use tree without overlay we have bad sorting, but seams looks very fluid and have nice transistion and this is what we wanna have.
In second tree we see the raw seams, sorting is ok, but seams looks totaly bad! Where we can use fluid seams like in first tree with right sorting?



Attached Files alphaproblems.JPG

IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Re: Bad sorting problem [Re: Iglarion] #379056
07/29/11 02:20
07/29/11 02:20
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Sorting is never done on a per-polygon basis. Since the objects are transparent, they don't write to the z-buffer, so they can't stop anything rendered later from being rendered over them. The last polygons rendered will appear over everything else, so if you can change the order in which the polygons are stored (which can be done in Blender, I believe, and other programs by copying and pasting, probably) you can reduce this problem.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Bad sorting problem [Re: JibbSmart] #379070
07/29/11 09:28
07/29/11 09:28
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
The manual is your friend, look under "Transparency": http://manual.3dgamestudio.net/wed_entities.htm

I don't think that a certain order of polygons would solve the problem, because when you look at the tree from the other side the order is still wrong. The only way would be ordering them in real time but no engine does that.

Re: Bad sorting problem [Re: Spirit] #379074
07/29/11 11:39
07/29/11 11:39
Joined: Feb 2008
Posts: 85
Germany
Schloder87 Offline
Junior Member
Schloder87  Offline
Junior Member

Joined: Feb 2008
Posts: 85
Germany
in our game we only can see the tree from one side. but i really dont know how to order polygons right? does anyone has some kind of tutorial?


Visit IGRAVISION at: http://www.igravision.com
_________________________
Re: Bad sorting problem [Re: Schloder87] #379076
07/29/11 12:11
07/29/11 12:11
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
That's a different thing. Its about cull mode. You don't have a face at the backside of your tree. With a setting in the material for that model you can set the backside visible.

Re: Bad sorting problem [Re: Pappenheimer] #379077
07/29/11 12:13
07/29/11 12:13
Joined: Feb 2008
Posts: 85
Germany
Schloder87 Offline
Junior Member
Schloder87  Offline
Junior Member

Joined: Feb 2008
Posts: 85
Germany
oh no what i wanted to express is, that other side is not important for us. because player will only see the tree from front side, back side is not important, but how to order the polygons right for this??


Visit IGRAVISION at: http://www.igravision.com
_________________________
Re: Bad sorting problem [Re: Schloder87] #379078
07/29/11 12:21
07/29/11 12:21
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline OP
User
Iglarion  Offline OP
User

Joined: Jul 2004
Posts: 785
Serbia
Just to be clearer, we need this for sidescroller view, behind tree is sky.


IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Re: Bad sorting problem [Re: Schloder87] #379079
07/29/11 12:23
07/29/11 12:23
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
In blender there's an "Xsort" function that sorts vertex data in the X direction. I guess you'd want to orientate your tree such that the X direction is the direction you'd want to view it from, then use the Xsort function, then rotate it back.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Bad sorting problem [Re: JibbSmart] #379218
07/30/11 15:07
07/30/11 15:07
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline OP
User
Iglarion  Offline OP
User

Joined: Jul 2004
Posts: 785
Serbia
Hi Jibb, i just download blender and i cant find "Xsort" function there. Any other sugestions?


IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Re: Bad sorting problem [Re: Iglarion] #379221
07/30/11 15:46
07/30/11 15:46
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Hm... Blender 2.5 and above has a search function... I think you hit "space" and then just start typing the name of the function you're looking for. However, I still use 2.49 because it's what I'm familiar with, and I only use blender for a few simple things that Sculptris+ZBrush would be overkill for.

In Blender 2.49, select the object you want to edit and hit TAB to go into Edit Mode. Once there, in the default layout, the centre-bottom of your screen should have all sorts of different buttons labelled "Noise", "Hash", "Xsort", and a bunch of others.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Page 1 of 2 1 2

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