Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, Quad), 903 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
FPS drops when too close to a model/sprite #272232
06/17/09 00:45
06/17/09 00:45
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
Hi

The post title pretty much explains everything.
I have a model with about 16 faces, transparent, that is the 'projection' of the light of a light post. and under it,at the ground, a TGA sprite of something that simulates the light that hits the ground.(a circle with transparent edges)
I dont use the light engine at all.. its just simple models and simple sprites that simulates the light of street lighposts.

The game inside the city runs about 50fps. when i get too close of this model and sprite of light, the fps instateneously drops to 30/35...sometimes 40.

And the same happend to a old project/game of mine, the bullets that hitted the wall, created a sprite of a hole. when i get close to the wall and close to that sprite the fps drops.

anyone knows any explanation to that?

thanks in advance!

Re: FPS drops when too close to a model/sprite [Re: DestroyTheRunner] #272235
06/17/09 01:16
06/17/09 01:16
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline
Expert
Damocles_  Offline
Expert

Joined: Feb 2009
Posts: 2,154
The transparency forces the 3D renderer to calculate a mix
of the transparent and background parts per pixel. Non-transparent polys can just
draw over the old scene.

Its not unique to 3dgs, I have the same problems everytime a bigger
transparent object gets close, in different games.

Re: FPS drops when too close to a model/sprite [Re: Damocles_] #272423
06/18/09 03:13
06/18/09 03:13
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
hmm..
is there any workaround?

Re: FPS drops when too close to a model/sprite [Re: DestroyTheRunner] #272627
06/19/09 01:52
06/19/09 01:52
Joined: Feb 2008
Posts: 69
Australia
M
MegaMarioDeluxe Offline
Junior Member
MegaMarioDeluxe  Offline
Junior Member
M

Joined: Feb 2008
Posts: 69
Australia
Check the number of polygons that the model is using. It's recommended to use low-poly ones if your video card is weak (eg. intergrated video). Anything over 900 Polys may cause clipping.


----
MegaMario
Regular 3D Game Studio User
http://www.krystalgaming.net
Re: FPS drops when too close to a model/sprite [Re: MegaMarioDeluxe] #273180
06/21/09 20:13
06/21/09 20:13
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
it has only 16 polys... and when far enough it morphs to a small size sprite, like LOD.

Re: FPS drops when too close to a model/sprite [Re: DestroyTheRunner] #273236
06/22/09 06:54
06/22/09 06:54
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Yeah, i know this problem. Downloading the latest driver is the solution.

Re: FPS drops when too close to a model/sprite [Re: Cowabanga] #274536
06/27/09 07:20
06/27/09 07:20
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
i dont even know if there is a latest driver for my video card.
But the real question is, how does it not even happen with other games in my computer?
Damocles said that it happens in other games too, but i couldnt notice any fps drop in any other game in my computer when i get close to transparent objects.


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