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
ent: time for entity rendering #422984
05/22/13 01:49
05/22/13 01:49
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline OP
Serious User
DLively  Offline OP
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
When my camera looks off into the distance, the fps drop from 66 to 40-45.

I was debugging using the statistics panel, and noticed that when this happens, In the Geometry section "ent: time for entity rendering" raises from 5.0 - 20.0

Why is this? How can I fix it? Is this the problem that causes my games Fps to drop when There is a distance / two layers of map..?


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: ent: time for entity rendering [Re: DLively] #422989
05/22/13 02:07
05/22/13 02:07
Joined: Jan 2013
Posts: 17
B
BySharDe2 Offline
Newbie
BySharDe2  Offline
Newbie
B

Joined: Jan 2013
Posts: 17
What is the meaning of "looks off into the distance"?
Statistics panel always stay away from the camera.

Re: ent: time for entity rendering [Re: BySharDe2] #422990
05/22/13 03:14
05/22/13 03:14
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline OP
Serious User
DLively  Offline OP
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
The statisics panel actually shows exactly where the cameras xyz is including pan tilt and roll.

Off into the distance is to say that If I look directly at a wall (block) there is no distance to render.

The engine is rendering something off in the distance.. Is it perhaps trying to render everything it sees - I am using LOD so its not rendering much.

EDIT: Or it shouldnt be

Last edited by DevoN; 05/22/13 03:15.

A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: ent: time for entity rendering [Re: DLively] #422992
05/22/13 05:42
05/22/13 05:42

M
Malice
Unregistered
Malice
Unregistered
M



EDIT* Yes it is trying to render everything it sees that isn't blocked, clipped or back-facing.

(From my little knowledge) When looking at a wall you are not rendering much. I know anytime you look dead into a wall up close you frame rate will be highest if the rendered scene is basically empty . The more the camera see the lower the frame rate. Using LOD and shared texture will help reduce this. And setting a short clip_far range and fog help. As for shaders I know nothing really but the post I have read from the real experts here point to good shaders moving processes to the GPU and increasing the frame rate. Make sure your LOD's are good steps. For far away objects stop their animation and kill everything you can attached to them. You can restart it when it comes close again. Dropping only 10% of the polys each step of the LOD may not give much advantage. Flat texturing your level will increase Fps but Y would you? Anytime you move from seeing little to see much there should be a drop but it should be reasonable. Light setting and shadow setting effect a lot too. The more info you give the forum the more they can help.

<- I Tried but a real expert will most likely reply to you soon.

Last edited by Malice; 05/22/13 06:44.
Re: ent: time for entity rendering [Re: ] #422998
05/22/13 07:11
05/22/13 07:11
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
I met something similar. when a model is very close to the camera (i.e. its apparent scale is large), e.g. a tree, the fps drops significantly.

from the manual (at Frame Rate Optimization):

The bigger a model or sprite is scaled, and the closer it is to the camera, the slower it is rendered. The rendering time depends on the number of pixels that the object covers on the monitor.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: ent: time for entity rendering [Re: sivan] #422999
05/22/13 07:59
05/22/13 07:59

M
Malice
Unregistered
Malice
Unregistered
M



NOT Hijacking - Thanks sivan I understand.

Quote:
from the manual (at Frame Rate Optimization):

The bigger a model or sprite is scaled, and the closer it is to the camera, the slower it is rendered. The rendering time depends on the number of pixels that the object covers on the monitor.


@sivan Should you rather save a few copies of a tree model out of MED with different sizes instead of scaling at runtime?

Last edited by Malice; 05/22/13 08:25.
Re: ent: time for entity rendering [Re: ] #423000
05/22/13 08:15
05/22/13 08:15
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
I do not scale them, I said apparent.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: ent: time for entity rendering [Re: sivan] #423022
05/22/13 21:20
05/22/13 21:20

M
Malice
Unregistered
Malice
Unregistered
M



@ DevoN - I read this and thought that the part about alpha and merging grass (or your cast trees -[think merging is only good with low poly objects]) might be some help to you.
Link to -

Also I believe that sivan has talk about this merging but can't remember where (maybe "what are you working on").


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