|
created Can you use 2:1 uv map/texture in CE3?
on 04-19-2012 02:07 PM
just that simple question 
|
, line,
72 Posts,
Join Date Jan 2011,
|
have you tried?
|
, Moderator++,
6,684 Posts,
Join Date Oct 2004,
Location Austin, TX
|
yes you can.
|
, polycounter,
867 Posts,
Join Date Feb 2009,
Location Belgium
|
The time you spent creating this thread, you could have spent it trying it out and you would quickly see that, yes you can! 
|
, dedicated polycounter,
1,826 Posts,
Join Date Aug 2007,
Location derp land
|
A better question would be what performance and memory impact does this carry with it. I would be interested in that.
|
, dedicated polycounter,
1,443 Posts,
Join Date May 2011,
Location Minnesota, USA
|
Nothing performance-wise on PC. Or if something, it is so close to nothing it is nothing.
Last edited by ParoXum; 04-23-2012 at 02:49 PM..
|
, polycounter,
867 Posts,
Join Date Feb 2009,
Location Belgium
|
Read on the wiki somewhere that the streaming system is optimmised for square textures.
|
, dedicated polycounter,
1,379 Posts,
Join Date Aug 2009,
Location UK
|
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.
|
, dedicated polycounter,
1,826 Posts,
Join Date Aug 2007,
Location derp land
|
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.
|
, polycounter,
867 Posts,
Join Date Feb 2009,
Location Belgium
|
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.
|
, polygon,
529 Posts,
Join Date Nov 2010,
Location Tampere, Finland
|
If you say so, who am I to say otherwise.
|
, dedicated polycounter,
1,826 Posts,
Join Date Aug 2007,
Location derp land
|
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...
|
, dedicated polycounter,
1,606 Posts,
Join Date Oct 2008,
Location UK
|
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.
Anders K. Nielsen - Environment Artist - LinkedIn
"It is wrong always and everywhere for anyone to believe anything on insufficient evidence."
|
, polycounter,
999 Posts,
Join Date Nov 2008,
Location Dublin, Ireland
|
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..
|
, polygon,
529 Posts,
Join Date Nov 2010,
Location Tampere, Finland
|
Quote:
Originally Posted by [HP]
If you say so, who am I to say otherwise.
|
 :P
|
, polycounter,
867 Posts,
Join Date Feb 2009,
Location Belgium
|
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:
Last edited by Computron; 05-15-2012 at 08:19 PM..
|
, dedicated polycounter,
1,443 Posts,
Join Date May 2011,
Location Minnesota, USA
|
Double post
Last edited by Computron; 04-26-2012 at 06:29 PM..
|
, dedicated polycounter,
1,443 Posts,
Join Date May 2011,
Location Minnesota, USA
|
That's the preview. Previews are square.
|
, polycounter,
867 Posts,
Join Date Feb 2009,
Location Belgium
|
Quote:
Originally Posted by ParoXum
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.
|
, dedicated polycounter,
1,443 Posts,
Join Date May 2011,
Location Minnesota, USA
|
Quote:
Originally Posted by ParoXum
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.
Last edited by Olli.; 04-26-2012 at 06:59 PM..
|
, polygon,
529 Posts,
Join Date Nov 2010,
Location Tampere, Finland
|
Quote:
Originally Posted by Olli.
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 
|
, triangle,
392 Posts,
Join Date Sep 2010,
|
Quote:
Originally Posted by iniside
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 
|
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.
|
, polygon,
529 Posts,
Join Date Nov 2010,
Location Tampere, Finland
|
Quote:
Originally Posted by Olli.
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.
|
, triangle,
392 Posts,
Join Date Sep 2010,
|
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.
|
, polygon,
529 Posts,
Join Date Nov 2010,
Location Tampere, Finland
|
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!
|
, Moderator++,
6,684 Posts,
Join Date Oct 2004,
Location Austin, TX
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Copyright 1998-2012 A. Risch
|