Texture limitations?

WrpTool island creator utility

Moderators: Lone Wolf, Snake Man

Reaper1978
Newbie
Posts: 2
Joined: 2005-05-03 08:34:07

Texture limitations?

Post by Reaper1978 » 2005-05-03 03:38:10

I read in the WRPTool Manual that an island is limited to a total of 512 textures.

Is there any way around such a limitation?

Thanks,

Reap

Snake_Man

Re: Texture limitations?

Post by Snake_Man » 2005-05-03 09:35:56

No. You're stuck with 512 texture types.

sniping-jack
Recruit
Posts: 42
Joined: 2003-11-30 12:54:15

Re: Texture limitations?

Post by sniping-jack » 2005-05-05 22:10:27

Yes it will work. Just try to cover a map with one single big texture file and if your OFP is running stable you are also able to use 512 different types - there will be no difference.
A look behind could save your life...

ebud
VTE Dev
Posts: 386
Joined: 2003-10-27 03:22:20

Re: Texture limitations?

Post by ebud » 2005-05-05 22:41:45

Can someone explain how the engine handles these textures. Are they loaded on the fly, preloaded, etc. If you had 512 1024 textures would the engine be able to handle it?

ebud
VTE Dev
Posts: 386
Joined: 2003-10-27 03:22:20

Re: Texture limitations?

Post by ebud » 2005-05-09 16:09:28

thanks for the reply. So basically if I were to test an island with say... 4-5 2048 textures for the ground and it ran fine, it would also run fine if I maxed out the total number of usable textures? I'll run a test, but would all of them have to be loaded into memory? I'm still confused as to how that works. Would they all be loaded into ram at once? The vid card?

Sorry for the questions. I just have no clue as to how it all "works".

rvirding
Recruit
Posts: 34
Joined: 2004-10-06 03:43:35

Re: Texture limitations?

Post by rvirding » 2005-05-11 08:26:13

Yes it will work. Just try to cover a map with one single big texture file and if your OFP is running stable you are also able to use 512 different types - there will be no difference.
We have been using texture to great effect so this question interests us. Do you mean that by using a big texture file I can cover more than one cell with it? Say 4x4 for a 2048 file? Or what? I thought the engine always fitted each texture file into one cell.

If you can span one texture over many cells how do you actually do it in WrpTool? WrpTool seems to support one texture file per cell.

Planck
Recruit
Posts: 18
Joined: 2004-09-12 02:32:13

Re: Texture limitations?

Post by Planck » 2005-05-11 17:18:01

Ummmmmm.......no, one texture per cell I'm afraid.

AFAIK anyway.


Planck

ebud
VTE Dev
Posts: 386
Joined: 2003-10-27 03:22:20

Re: Texture limitations?

Post by ebud » 2005-05-11 20:26:31

one way to fix that is to create large single plane polys with your texures applied, say .5 km per poly, then lay them on the map with the object placer. If they are tagged with the on suface properties they'll warp to the ground. Then you can have several km of ground by using fewer textures. But you can't place objects this way if your using aerial imagery as textures, so I guess this would work best in visitor unless you outlined the flat planes with areas where you'd need to lay roads, trees etc.
Last edited by ebud on 1970-01-01 00:00:00, edited 1 time in total.

rvirding
Recruit
Posts: 34
Joined: 2004-10-06 03:43:35

Re: Texture limitations?

Post by rvirding » 2005-05-12 00:40:51

one way to fix that is to create large single plane polys with your texures applied, say .5 km per poly, then lay them on the map with the object placer. If they are tagged with the on suface properties they'll warp to the ground. Then you can have several km of ground by using fewer textures. But you can't place objects this way if your using aerial imagery as textures, so I guess this would work best in visitor unless you outlined the flat planes with areas where you'd need to lay roads, trees etc.
How do you tag them with the on surface properties? As roads?

If you seriously wanted to use aerial photographs you could do it in two steps:

1. Convert the aerial photographs to ground textures, lay them out in Wrptool and use them to place objects. As long as you don't save the wrp there seems to be no problems in Wrptool in using more than 512 textures. Otherwise just do it in sections removing the textures as you go.

2. Make your single plane polys and lay them out. Just have them aligned to cells.

A bit time consuming but it will work. Of course your pbo will be enormous, I have one containing about 5 km[sup]2[/sup] of ground textures and it is over 110 Mb. The result is worth it!

Who is online

Users browsing this forum: ClaudeBot [Bot] and 0 guests