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 (M_D), 1,430 guests, and 3 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
How to avoid rendering of non-visible objects? #371346
05/20/11 09:45
05/20/11 09:45
Joined: Sep 2004
Posts: 130
Italy
Alessandro Offline OP
Member
Alessandro  Offline OP
Member

Joined: Sep 2004
Posts: 130
Italy
Hello,

if an object is inside camera frustum area, the object will be rendered, even if the object self is completely hidden from other objects.
Is there any way/method/trick to avoid this?

Thank you for your help!

Re: How to avoid rendering of non-visible objects? [Re: Alessandro] #371349
05/20/11 10:03
05/20/11 10:03
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
Occlusion culling is not natively supported by GS since its a quite advanced technique, but you can do your own implementaion of course. Return 1 in the material event to prefent the rendering once you figured out that the object should be culled.

Re: How to avoid rendering of non-visible objects? [Re: Hummel] #371350
05/20/11 10:15
05/20/11 10:15
Joined: Sep 2004
Posts: 130
Italy
Alessandro Offline OP
Member
Alessandro  Offline OP
Member

Joined: Sep 2004
Posts: 130
Italy
Originally Posted By: Hummel
Return 1 in the material event to prefent the rendering once you figured out that the object should be culled.


Thank you, but can you better explain me that? What do you mean for Return 1 in the material event?

Re: How to avoid rendering of non-visible objects? [Re: Alessandro] #371525
05/22/11 09:42
05/22/11 09:42
Joined: Sep 2004
Posts: 130
Italy
Alessandro Offline OP
Member
Alessandro  Offline OP
Member

Joined: Sep 2004
Posts: 130
Italy
bump


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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