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
4 registered members (TedMar, AndrewAMD, dr_panther, 1 invisible), 1,186 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
best renderspeed? #147049
08/10/07 12:09
08/10/07 12:09

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Hi!

A texture size of 256x256 is rendered by many videocards very fast (you can often read).

My (stupid] question: if I have a just one color texture what size is the fastest?

-1 pixel
-2x2 pixels
-4x4 ...
-32x32 ...
-64x64
-or the magic 256x256

or someting else?

or "the smaller the faster, if size = 2^x"?

thanx, mercuryus

Re: best renderspeed? [Re: ] #147050
08/10/07 16:56
08/10/07 16:56
Joined: Sep 2002
Posts: 700
Orange County, CA
L
LogantheHogan Offline
Developer
LogantheHogan  Offline
Developer
L

Joined: Sep 2002
Posts: 700
Orange County, CA
I've wondered the same. Does a smaller texture end up repeating too often and cause some sort of harm, or is it better to save the video memory? I haven't found the answer. I'm with you on this one.

sorry for such a useless post haha.

Re: best renderspeed? [Re: LogantheHogan] #147051
08/11/07 09:33
08/11/07 09:33

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



I made a test app.
Without the memory management the texture size seems to have no meaning for the texture render time.

640x480, windowed, the number behind ball_xxx is the texture size:
(AMD 3000+, Radeon X1300)


(Laptop Intel1.8GHz)


Re: best renderspeed? [Re: ] #147052
08/11/07 15:32
08/11/07 15:32
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Wow, that was good work. Thank you, mercuryus.


Always learn from history, to be sure you make the same mistakes again...
Re: best renderspeed? [Re: Uhrwerk] #147053
08/17/07 17:17
08/17/07 17:17
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
texture size does indeed play only a minor role in rendering speed on current 3d cards, but remember that the bus bandwidth is limited, so if you've loads of 4069x4069-textures fps will decrease remarkably. it's also a problem when you run out of video memory, because then system memory swapping will come into effect, slowing the engine (note: any engine) to death.

joey.

Re: best renderspeed? [Re: Joey] #147054
08/17/07 17:35
08/17/07 17:35
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhm, well yes, that is self understanding. However, a one color 4096² texture for a single color does not appear so sensefull to me in any way...

The question was more if rendering could be speed up by choosing larger texture sizes than 4², 8² or 16².


Always learn from history, to be sure you make the same mistakes again...
Re: best renderspeed? [Re: Uhrwerk] #147055
08/18/07 17:16
08/18/07 17:16
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
I am not absolutely sure about texture compression. But if enabled it could compress a one-color-4096-texture into a little tiny thing that needs barely any memory. So I would test it with real textures instead.


Models, Textures and Games from Dexsoft
Re: best renderspeed? [Re: Machinery_Frank] #147056
09/03/07 02:15
09/03/07 02:15
Joined: Mar 2004
Posts: 281
England
frescosteve Offline
Member
frescosteve  Offline
Member

Joined: Mar 2004
Posts: 281
England
why use a texture for one colour when you could use the engine to turn the entity to that one color. This would require 0 textures.


Moderated by  HeelX, Spirit 

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