Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,420 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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