Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (TipmyPip, AndrewAMD, Quad, aliswee, degenerate_762), 970 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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 | 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