Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
More Repetitions vs. Larger Textures #146996
08/10/07 00:50
08/10/07 00:50
Joined: Jul 2007
Posts: 32
New England
D
DeKO_Mania Offline OP
Newbie
DeKO_Mania  Offline OP
Newbie
D

Joined: Jul 2007
Posts: 32
New England
I was just texturing my first level with a 64x64 texture that I created, and was wondering, would it be better to repeat a 64x64 texture 4 times, or just create a single 128x128 texture. I guess what I am really asking is, if you repeat a texture, does it use any extra memory per repetition?

Regards,
DeKO_Mania

Re: More Repetitions vs. Larger Textures [Re: DeKO_Mania] #146997
08/10/07 02:22
08/10/07 02:22
Joined: Jul 2004
Posts: 21
K
Keebo Offline
Newbie
Keebo  Offline
Newbie
K

Joined: Jul 2004
Posts: 21
A larger texture file is going to consume more memory. I feel safe in saying that the texture would look the same if you just repeated in your paint program using a larger file size.

If you increase the detail of the texture while making it a larger file than I think that would be worth the extra memory usage. YMMV.

Re: More Repetitions vs. Larger Textures [Re: Keebo] #146998
08/10/07 02:30
08/10/07 02:30
Joined: Jul 2007
Posts: 32
New England
D
DeKO_Mania Offline OP
Newbie
DeKO_Mania  Offline OP
Newbie
D

Joined: Jul 2007
Posts: 32
New England
What I am asking is about repeating the texture in the engine, not in my paint program. Basically, if I repeat a 32x32 texture 4 times (in the engine), would that use the same amount of memory as if I just used 1 64x64 texture?

Regards,
DeKO_Mania

Re: More Repetitions vs. Larger Textures [Re: DeKO_Mania] #146999
08/10/07 03:17
08/10/07 03:17
Joined: Jul 2004
Posts: 21
K
Keebo Offline
Newbie
Keebo  Offline
Newbie
K

Joined: Jul 2004
Posts: 21
If you repeat the texture by scaling it then it will use more memory. By scaling I am referring to x.scale and y.scale within the texture properties of the object.

At least this was the case in A5. I am still getting to know A6/A7 and this may have changed.

But I still may be misunderstanding how you are repeating the texture. Its been a long day.

Re: More Repetitions vs. Larger Textures [Re: Keebo] #147000
08/10/07 04:47
08/10/07 04:47
Joined: Apr 2005
Posts: 7
Oklahoma
Claybotech Offline
Newbie
Claybotech  Offline
Newbie

Joined: Apr 2005
Posts: 7
Oklahoma
Repeating a 64x64 testure 4 times will use less video memory than loading a 128x128 texture. As the image is already loaded into video memory it shouldnt use more memory if it is just repeating something.

However, with current video cards/ PC memory, I would really go below 128x128.
This will also depend however on how many textures I am using in my game.

Hope this helps.


Wow! You have some major polygon issues there.
Re: More Repetitions vs. Larger Textures [Re: Claybotech] #147001
08/10/07 23:04
08/10/07 23:04
Joined: Jul 2007
Posts: 32
New England
D
DeKO_Mania Offline OP
Newbie
DeKO_Mania  Offline OP
Newbie
D

Joined: Jul 2007
Posts: 32
New England
@Claybotech: Yes, that helps. It is not extreamly important that my textures are VERY detailed, so low-res textures are a good solution, as they will run on just about any computer. I am trying to avoid anything above 512x512, and even that is a little high.

Anyways, thank you!
Regards,
DeKO_Mania


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