Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TedMar, dr_panther), 1,049 guests, and 0 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
Page 1 of 2 1 2
Is the texture tiling performance relevant? #165422
11/03/07 08:18
11/03/07 08:18
Joined: Mar 2007
Posts: 261
Germany
Thracian Offline OP
Member
Thracian  Offline OP
Member

Joined: Mar 2007
Posts: 261
Germany
Hello,
if i map a model, i often "tile" the texture.
That means in the skine ditor i drag the certizes out of the original texture so that the skin become more detailed. (e.g. if i have a wall texture i scale the mapping so that i get several wall textures tiled on my model).
Is this performance relavant? Does this method slow my game?
I also often use 4 256x256 textures than one 512x512. Is this also performance relevant?

Beste Greetings,
Thracian


------------------------

All programmers are playwrights and all computers are lousy actors.
Re: Is the texture tiling performance relevant? [Re: Thracian] #165423
11/03/07 23:37
11/03/07 23:37
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
The more textures the slower the rendering (4 Textures -> needs nearly 4 times the time as if it would have only one texture (?)).
I`m not sure about the tiling. It could be slightly slower than the alternative of bigger textures. But it needs less memory and looks better...
Interesting question.
The number of textures is important but the tiling shouldn`t.
Slin

Last edited by Slin; 11/03/07 23:37.
Re: Is the texture tiling performance relevant? [Re: Slin] #165424
11/04/07 12:29
11/04/07 12:29
Joined: Mar 2007
Posts: 261
Germany
Thracian Offline OP
Member
Thracian  Offline OP
Member

Joined: Mar 2007
Posts: 261
Germany
Okay, thanks =)
if someone knows that the tiling is relevant, i´d appreciate some additions.


------------------------

All programmers are playwrights and all computers are lousy actors.
Re: Is the texture tiling performance relevant? [Re: Slin] #165425
11/04/07 14:47
11/04/07 14:47
Joined: Jun 2005
Posts: 4,875
broozar Offline
Expert
broozar  Offline
Expert

Joined: Jun 2005
Posts: 4,875
Quote:

4 Textures -> needs nearly 4 times the time as if it would have only one texture (?)



halte ich für ein gerücht, solange die teturen im selben pass liegen.

Re: Is the texture tiling performance relevant? [Re: broozar] #165426
11/04/07 14:54
11/04/07 14:54
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Wenn du 4 Gruppen in einem Model hast, werden alle 4 Gruppen in eigenen Pässen gerendert (deshalb IMMER im _finalen_ Modell alle Gruppen mergen, außer es gibt einen triftigen Grund warum man das nicht sollte). Die Anzahl der gerenderten Texturen ist unerheblich (mal abgesehen, dass du 4 Texturen durch den Speicher jagst) - wenn du 4 Texturen in eine joinst hast den gleichen Speicherverbrauch. Wenn du mehrere Texturen verwendest und die mit anderen modelst sharest, dann sinkt der Performanceverlust wiederum, weil die Textur nur einmal für alle benutzten Modelle verarbeitest. Wenn du aber z.B. im MED in eine Textur eine FX Datei lädst, dann wird es schon wieder kritisch und es ist erheblich, dass du 4 Texturen hast.

Last edited by HeelX; 11/04/07 14:55.
Re: Is the texture tiling performance relevant? [Re: HeelX] #165427
11/04/07 15:46
11/04/07 15:46
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
gruppen sind nur für MED und werden von der engine beim laden des models ignoriert. die haben keine auswirkung auf die render performance.

ob eine textur gekachelt wird oder nicht sollte auch egal sein.

die anzahl der texturen macht allerdings schon einen unterschied. beim rendern ist das umschalten der textur langsam.

Re: Is the texture tiling performance relevant? [Re: ventilator] #165428
11/05/07 10:37
11/05/07 10:37
Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Machinery_Frank Offline
Senior Expert
Machinery_Frank  Offline
Senior Expert

Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Auch das Tiling (Kacheln) kann eine Rolle spielen. Versuch mal ein Terrain mit gekachelter Textur zu rendern und erhöhe drastisch die Zahl der Kacheln. Es wird die FPS-Rate verringern. Man muss bedenken, dass 32x32 schon 1024 Kacheln sind, die evtl. gleichzeitig auf dem Bildschirm gerendert werden müssen.


Models, Textures and Games from Dexsoft
Re: Is the texture tiling performance relevant? [Re: Machinery_Frank] #165429
11/05/07 12:17
11/05/07 12:17
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
hast du das ausprobiert? laut den informationen die ich mit google gefunden habe, soll das tiling wenn mipmaps verwendet werden keine (oder nur sehr minimale) auswirkungen auf die performance haben. ohne mipmaps kann der unterschied groß sein. das hat irgendetwas mit dem texture cache der gpu zu tun.

Re: Is the texture tiling performance relevant? [Re: ventilator] #165430
11/05/07 13:45
11/05/07 13:45
Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Machinery_Frank Offline
Senior Expert
Machinery_Frank  Offline
Senior Expert

Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Ja, das habe ich mit dem mtlFX Terrain Shader von Conitec und mit einem FFP Terrain-Shader ausprobiert. Aber vielleicht liegt es nicht an der GPU sondern am Shader oder an der Engine? Um das genau zu beurteilen, weiß ich leider zu wenig von den Internas.


Models, Textures and Games from Dexsoft
Re: Is the texture tiling performance relevant? [Re: Machinery_Frank] #165431
11/05/07 19:49
11/05/07 19:49
Joined: Mar 2007
Posts: 261
Germany
Thracian Offline OP
Member
Thracian  Offline OP
Member

Joined: Mar 2007
Posts: 261
Germany
Interesting, thanks for the answers.
To be clear: At the moment i linke to make even simple models with 4 textures and lots of tiling, so i should stop that and stay with one texture, which is also more difficult at tiling?


------------------------

All programmers are playwrights and all computers are lousy actors.
Page 1 of 2 1 2

Moderated by  HeelX, rvL_eXile 

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