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
3 registered members (Ayumi, NewbieZorro, TipmyPip), 13,888 guests, and 6 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
cull object at runtime #236321
11/13/08 16:31
11/13/08 16:31
Joined: Aug 2006
Posts: 155
R
RyuMaster Offline OP
Member
RyuMaster  Offline OP
Member
R

Joined: Aug 2006
Posts: 155


Hi! I'm trying to cull 3D object during runtime, it is esential for one of my
game scenes.
I can not think a way to do it using vertex animation. I can not "hide"
vertexes, as far as I know.
The only way I can think is to cull object at runtime somehow? I can not simply
cut its mesh, because it will need to return to normal later. And I think
creating mesh duplicate from object, cutting it somehow, will be too long.
Maybe some shader? Like, is it possible for shader to hide certain vertexes,
lets say, on the right side of objects X axis? Or anyone has some other
ideas of how to do it? Any help appreciated.
Regards,
Konstantin.


What kills me not, that makes me stronger.

***Working on RPG/RTS***
Re: cull object at runtime [Re: RyuMaster] #236323
11/13/08 16:58
11/13/08 16:58
Joined: Mar 2004
Posts: 92
Dresden
Revo Offline
Junior Member
Revo  Offline
Junior Member

Joined: Mar 2004
Posts: 92
Dresden
maybe you could use a alphamap for your texture and than shift the tex smile


-----3d Gamestudio Commercial---------
Vers. 7.8
Focus on Gaming
Re: cull object at runtime [Re: RyuMaster] #236331
11/13/08 17:38
11/13/08 17:38
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Originally Posted By: RyuMaster
Hi! I'm trying to cull 3D object during runtime, it is esential for one of my
game scenes.


What do you mean by "culling" the object. Culling means removing hidden and hence invisible surfaces of an object to me. This is automatically done by the engine. You don't need to that yourself.


Always learn from history, to be sure you make the same mistakes again...
Re: cull object at runtime [Re: Uhrwerk] #236378
11/13/08 20:36
11/13/08 20:36
Joined: Aug 2006
Posts: 155
R
RyuMaster Offline OP
Member
RyuMaster  Offline OP
Member
R

Joined: Aug 2006
Posts: 155
Sorry, I used word "culling" to make it sound simplier. So You know what I was thinking ^_^ Just cutting the object

Thanks, Revo, I'll look into alpha maps, maybe this will, indeed, be a solution smile


What kills me not, that makes me stronger.

***Working on RPG/RTS***
Re: cull object at runtime [Re: RyuMaster] #236383
11/13/08 21:13
11/13/08 21:13
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Some time ago there was a "dissolving shader" written by some user. Maybe you could do a search on the user contrubutions forum or the shader forum for this. If I remember right this one could do what you want to achieve.


Always learn from history, to be sure you make the same mistakes again...
Re: cull object at runtime [Re: Uhrwerk] #236392
11/13/08 23:08
11/13/08 23:08
Joined: Aug 2006
Posts: 155
R
RyuMaster Offline OP
Member
RyuMaster  Offline OP
Member
R

Joined: Aug 2006
Posts: 155
Thanks a lot for the tip! Currently, I can not find it neither using a7oogle or forum searches, probably it was there by different name? But I'll try some other search quires and see how far I can get.


What kills me not, that makes me stronger.

***Working on RPG/RTS***
Re: cull object at runtime [Re: RyuMaster] #236397
11/13/08 23:29
11/13/08 23:29
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
I spent some time seraching but I can't find it eather. Maybe someone else remembers?


Always learn from history, to be sure you make the same mistakes again...
Re: cull object at runtime [Re: Uhrwerk] #236524
11/14/08 17:24
11/14/08 17:24
Joined: Aug 2006
Posts: 155
R
RyuMaster Offline OP
Member
RyuMaster  Offline OP
Member
R

Joined: Aug 2006
Posts: 155
Hmmm... Probably I'll create topic in shaders forum. Looks like I'll have to write it myself.


What kills me not, that makes me stronger.

***Working on RPG/RTS***

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

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