Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
3 registered members (Grant, dr_panther, AndrewAMD), 1,379 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
view Clip problem #322610
05/08/10 12:41
05/08/10 12:41
Joined: Jan 2006
Posts: 29
O
oriongu Offline OP
Newbie
oriongu  Offline OP
Newbie
O

Joined: Jan 2006
Posts: 29
Hello,

I'm stumbling on to a strange bug.

A picture should explain better than i could say laugh



Can you explain why this happens?

Other problem i have, is that, all my models seems to have they normals flipped, but i'm absolutly sure thats not the case...

Thanks for your help again laugh
regards
Orion

Last edited by oriongu; 05/08/10 12:59.
Re: view Clip problem [Re: oriongu] #322618
05/08/10 13:44
05/08/10 13:44
Joined: Apr 2010
Posts: 172
W
wdlmaster Offline
Member
wdlmaster  Offline
Member
W

Joined: Apr 2010
Posts: 172
it looks like you're using 32bit Textures. If you don't need transparency, you can convert them to 24bit. Because - by default - the engine renders every Texture with alpha channel in the transparent pass.

And for the tree model(s) you have to use an effect, which writes into the z-buffer, to avoid sorting errors...

Re: view Clip problem [Re: wdlmaster] #322630
05/08/10 15:18
05/08/10 15:18
Joined: Jan 2006
Posts: 29
O
oriongu Offline OP
Newbie
oriongu  Offline OP
Newbie
O

Joined: Jan 2006
Posts: 29
Thanks, thats seem to have done the trick.

I dont quite understand what you by effect ? Which effect?

Re: view Clip problem [Re: oriongu] #322638
05/08/10 16:01
05/08/10 16:01
Joined: Apr 2010
Posts: 172
W
wdlmaster Offline
Member
wdlmaster  Offline
Member
W

Joined: Apr 2010
Posts: 172
define a new material (for example "mat_tree") and in the effect string write:

"technique t{ pass p{ zwriteenable = 1;}}"

OR - if you don't need "smooth" alphablending:

"technique t{ pass p{ alphatestenable = 1;alphablendenable = 0;}}"

and assign this material to the tree(s). Look up "material" in the manual if you need more help of how to create them.



Re: view Clip problem [Re: wdlmaster] #322664
05/08/10 18:32
05/08/10 18:32
Joined: Jan 2006
Posts: 29
O
oriongu Offline OP
Newbie
oriongu  Offline OP
Newbie
O

Joined: Jan 2006
Posts: 29
Ok thanks for taking your time to explain. This works fine laugh

Re: view Clip problem [Re: oriongu] #325519
05/27/10 00:38
05/27/10 00:38
Joined: May 2010
Posts: 13
I
IvanOFF Offline
Newbie
IvanOFF  Offline
Newbie
I

Joined: May 2010
Posts: 13
Thanks it's butifol OK

Re: view Clip problem [Re: IvanOFF] #325566
05/27/10 09:31
05/27/10 09:31
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
@IvanOFF: Please stop spamming here and reactivate old topics (You give answers on topics that are older than one month!!!)

Last edited by Widi; 05/27/10 09:31.

Moderated by  HeelX, Spirit 

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