View Full Version : Can you use 2:1 uv map/texture in CE3?
longhornfan25
04-19-2012, 02:07 PM
just that simple question :)
Justin Meisse
04-19-2012, 02:16 PM
have you tried?
ParoXum
04-19-2012, 02:19 PM
yes you can.
The time you spent creating this thread, you could have spent it trying it out and you would quickly see that, yes you can! :)
Computron
04-23-2012, 11:12 AM
A better question would be what performance and memory impact does this carry with it. I would be interested in that.
ParoXum
04-23-2012, 12:17 PM
Nothing performance-wise on PC. Or if something, it is so close to nothing it is nothing.
Read on the wiki somewhere that the streaming system is optimmised for square textures.
Yes indeed.
You should avoid 2:1. It's all a bit tabu really, no one can really answer that question correctly, not even coders themselves, but indeed that memory allocation buffers don't like 2:1 textures too much, so all in all, I would avoid it.
And really, I only know of a couple exceptions where a 2:1 unwrap is more efficient than a 1:1.
Just use 1:1 as much as possible, they're easier to work too.
ParoXum
04-24-2012, 10:08 AM
It's funny because we had the confirmation at work by the engine guys that it didn't make any performance hit on PC. The only problems showing seem to be the memory allocation on PC and consoles (which I probably cant speak of here).
We use commonly non-square textures at work.
Olli.
04-26-2012, 05:01 AM
You cant have 2:1 textures in Cryengine 3. When you export a texture that is not a square, the exporter makes it in to a square.
If you say so, who am I to say otherwise.
fearian
04-26-2012, 05:16 AM
This is like when you ask a group of people for directions and they all think for a second before simultaniously pointing in opposite directions.
Except some of them are holding maps...
McGreed
04-26-2012, 05:25 AM
I think there is the same issue with baking in 3DS Max, think I read that you can bake something like 2:1, but in reality it will render a 2:2 and then output a 2:1. So it 'waste' time/resources to render something you don't need. Better to just make a 1:1 map, maybe pack two models texture into the sheet.
Olli.
04-26-2012, 01:26 PM
well one example of efficient use for 2:1 maps was when i baked a sword. The sword blade was quite long, and there was little else on the sword. Theres no way i could have reasonably filled the rest of the UV space with just the hilt.
I actually used a 1:4 map for that if i recall correctly..
ParoXum
04-26-2012, 02:22 PM
;1574104']If you say so, who am I to say otherwise.
http://i0.kym-cdn.com/photos/images/newsfeed/000/198/010/tysonreaction.gif :P
Computron
04-26-2012, 03:09 PM
He is right, sometimes the Resource Compiler does have either a setting or a glitch that will transform your texture into a square. I have run into that personally.
But he is also wrong:
http://i.imgur.com/8jC3G.png
Computron
04-26-2012, 03:40 PM
Double post
ParoXum
04-26-2012, 04:02 PM
That's the preview. Previews are square.
Computron
04-26-2012, 06:31 PM
That's the preview. Previews are square.
No, your looking at the wrong thing. I am showing proof that HP is correct, notice that I zoomed and underlined the resolution, its 2kx4k, not square. So HP is correct, Cryengine definitely supports truly non square resolutions.
On the other hand, I have run into a glitch (or hidden setting?) that does what olli is talking about, making your rectangular texture into a square. So I can see where the confusion is coming from.
Do you Crytek Gents use the public SDK builds? They are a little glitchy you know.
Olli.
04-26-2012, 06:51 PM
That's the preview. Previews are square.
well then i correct myself. I thought the preview showed the actual texture shape..
Currently im just confused about what the actual distinction between 2:1 and 1:1 is. As far as i know the UV space in max is ALWAYS 1:1, so if you "cheat" and squish your UV's in to (0.5, 1) scale, the map would still effectively be 1:1, but the UVs would just be stretched vertically. Then if you place a 2:1 texture map on top of that, the texture once again is scaled to fit the 1:1 UV space, meaning there will be 2 horizontal pixel rows per every vertical pixel row...
The 4096x2048 text you see on the material editor preview might just mean that the selected map is 2:1. It doesnt necessarily mean that the texture is actually displayed as 2:1 in the engine.. (does it?)
also computron, At least from what i've heard, the licensed version of the SDK is the exact same version as the free SDK.. Im not sure about what crytek uses internally. I would assume it to be the latest in-house stable build they have.
iniside
04-26-2012, 11:50 PM
You cant have 2:1 textures in Cryengine 3. When you export a texture that is not a square, the exporter makes it in to a square.
Impossible. I chcked and they were 2:1 (after export).
Well that's funny, everyone is claiming completly oppisite things in this thread and nobody aggree with anybody :D
Olli.
04-27-2012, 03:17 AM
Impossible. I chcked and they were 2:1 (after export).
Well that's funny, everyone is claiming completly oppisite things in this thread and nobody aggree with anybody :D
thats possible but i was implying that the engine only uses half of the horizontal pixels.. I didnt code the engine though so i can't know for certain.
iniside
04-27-2012, 04:53 AM
thats possible but i was implying that the engine only uses half of the horizontal pixels.. I didnt code the engine though so i can't know for certain.
Nah. I chcked it on model, and it worked fine. I use 2:1 pretty often for tileable textures.
Olli.
04-27-2012, 06:46 AM
yeah i did a few tests myself and seem that n:1 textures are totally useable in cryengine. I didnt find a way to measure the performance hit though, so i dunno if its actually worth using em.
Justin Meisse
05-15-2012, 10:44 AM
ParoXum: incorrect use of internet badass meme, since he works at Crytek, I assume HP actually knows what he's talking about; therefore he is actually a badass. Minus 3 points to house Slitherin!
e-freak
05-15-2012, 11:14 AM
-3 points to hufflepuff, ParoXum works at Crytek as well ;)
Justin Meisse
05-15-2012, 11:29 AM
gawdammit, Harry Potter wins again
Xoliul
05-15-2012, 12:04 PM
ParoXum: incorrect use of internet badass meme, since he works at Crytek, I assume HP actually knows what he's talking about; therefore he is actually a badass. Minus 3 points to house Slitherin!
Uhh so does he...
edit:lol somebody already mentioned it.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.