Gamestudio Links
Zorro Links
Newest Posts
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 14,366 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Reducing the framerate #400083
04/25/12 15:30
04/25/12 15:30
Joined: Feb 2010
Posts: 40
Germany
G
Grandma Offline OP
Newbie
Grandma  Offline OP
Newbie
G

Joined: Feb 2010
Posts: 40
Germany
Hi,

to optimize my framerate I produce LOD-Steps of my models using
Php Code:
“vec_set(d3d_lodfactor,vector(2,10,20));”. 



The models are Lowploy-trees with huge 1024x1024 Textures.
I reduce the Texture-size every LOD-Step half the resolution.
But the result was nearly the same frown
Is it the Texture-size or the number of the polygons, influencing the framerate?


Last edited by Grandma; 04/25/12 15:49.
Re: Reducing the framerate [Re: Grandma] #400094
04/25/12 18:13
04/25/12 18:13
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
are they dds textures? that should help a lot.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Reducing the framerate [Re: sivan] #400096
04/25/12 18:30
04/25/12 18:30
Joined: Feb 2010
Posts: 40
Germany
G
Grandma Offline OP
Newbie
Grandma  Offline OP
Newbie
G

Joined: Feb 2010
Posts: 40
Germany
ok..i will try this.... thx a lot!

Re: Reducing the framerate [Re: Grandma] #400219
04/27/12 10:42
04/27/12 10:42

C
chris_oat
Unregistered
chris_oat
Unregistered
C



your tree models SHARE the texture or does each model is saved with the Texture?
i thought about the same some month ago, but i came to this conclusion:
If lets say you have 5 tree models and each share the same texture, why would you need low-res textures if you will only use one?

Originally Posted By: Grandma
Is it the Texture-size or the number of the polygons, influencing the framerate?

im 99% sure its the polygons, unless someone wants to correct me.

Last edited by chris_oat; 04/27/12 10:44.
Re: Reducing the framerate [Re: ] #400236
04/27/12 12:32
04/27/12 12:32
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Reducing the framerate [Re: sivan] #400249
04/27/12 14:30
04/27/12 14:30
Joined: Feb 2010
Posts: 40
Germany
G
Grandma Offline OP
Newbie
Grandma  Offline OP
Newbie
G

Joined: Feb 2010
Posts: 40
Germany
Thx for your helping tips chris_oat and sivan!

I thought to sharing textures is just possible with textures in the same model.. .!??
I - for example – have one tree with 1100 faces. The textures are 128x512x32mipm for the needles-(sprites) and 128x512x32mipm for the trunk.
There is no possibility to share textures in this model … or I am blind… frown

To use a group of models as one model makes the “texture-sharing” possible…but with such a group I cannot align the bottoms to the irregular floor of the terrain… frown

My attempt was to make LOD-steps like tree_0.mdl (128x512x32mipm), tree_1.mdl (64x256x32mipm), tree_2.mdl (64x128x32mipm)…and so on…
But neither with *.tga Textures nor with *.dds Textures the framerate-results are better!
@sivan: but with *.dds textures it looks much better laugh

..and thx for the gamestudio-hints!
I will try to reduce the polygons now … maybe this will work.


Last edited by Grandma; 04/27/12 14:34.
Re: Reducing the framerate [Re: Grandma] #400258
04/27/12 17:30
04/27/12 17:30
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
you can use external textures for models thus sharing one image among a lot of models.


Free world editor for 3D Gamestudio: MapBuilder Editor

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