Dimensions for texture?

Talk about whatever topic you'd like, RPG related or not. (But please discuss things related to our software in the Tools section, below.)

Moderators: Azhrei, dorpond, trevor

Post Reply
Merudo
Giant
Posts: 228
Joined: Wed Jun 05, 2019 7:06 am

Dimensions for texture?

Post by Merudo »

Is the a limit on the dimensions of a texture?

I'm thinking of going pretty big so as to avoid visible repeats.

So long as the texture MB size is reasonable, all is good, right?

User avatar
Full Bleed
Demigod
Posts: 4444
Joined: Sun Feb 25, 2007 11:53 am
Location: MD
Contact:

Re: Dimensions for texture?

Post by Full Bleed »

Merudo wrote:
Sat Jul 13, 2019 6:42 am
Is the a limit on the dimensions of a texture?

I'm thinking of going pretty big so as to avoid visible repeats.

So long as the texture MB size is reasonable, all is good, right?
I've never run into an issue.

But, that said, I always use a fixed/specific size for a task or tileable when variability is needed.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

Phergus
Deity
Posts: 7108
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: Dimensions for texture?

Post by Phergus »

File size is only part of the equation and that really only impacts network performance. Each image you use on your map has to be transferred to each client. While most image assets won't be individually very large, they can add up.

The other part is how much memory is used. This is a function of the actual pixel dimensions of the image. A 4k x 4k texture will take up 64MB of memory.

User avatar
aliasmask
Deity
Posts: 8580
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Dimensions for texture?

Post by aliasmask »

If the tiled image is a jpeg, you can go pretty big. My swamp pattern is 4000x4000 and is only 5 megs and doesn't cause any lag or other issues that I can see.

Merudo
Giant
Posts: 228
Joined: Wed Jun 05, 2019 7:06 am

Re: Dimensions for texture?

Post by Merudo »

aliasmask wrote:
Sat Jul 13, 2019 2:23 pm
If the tiled image is a jpeg, you can go pretty big. My swamp pattern is 4000x4000 and is only 5 megs and doesn't cause any lag or other issues that I can see.
Nice!

How come the performance is so much better with jpeg than with png?

User avatar
aliasmask
Deity
Posts: 8580
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Dimensions for texture?

Post by aliasmask »

Number of colors for image is reduced and image isn't as detailed, but that doesn't usually matter too much for backgrounds.

Phergus
Deity
Posts: 7108
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: Dimensions for texture?

Post by Phergus »

Merudo wrote:
Sun Jul 14, 2019 1:45 am
How come the performance is so much better with jpeg than with png?
It's not. Once an image is loaded into memory it doesn't matter whether it came from a BMP, GIF, JPG or PNG.

Compressed images simply transfer across the net faster to the client.

Post Reply

Return to “General Discussion”