Author : Nate Broach


Reply
Reply
 
Thread Tools Display Modes
longhornfan25's Avatar
Old (#1)
just that simple question
Offline , line, 72 Posts, Join Date Jan 2011,  
   Reply With Quote

Justin Meisse's Avatar
Old (#2)
have you tried?
Offline , Moderator++, 6,684 Posts, Join Date Oct 2004, Location Austin, TX  
   Reply With Quote

ParoXum's Avatar
Old (#3)
yes you can.


Vincent Mayeur - Environment Artist
Offline , polycounter, 867 Posts, Join Date Feb 2009, Location Belgium  
   Reply With Quote

[HP]'s Avatar
Old (#4)
The time you spent creating this thread, you could have spent it trying it out and you would quickly see that, yes you can!
Offline , dedicated polycounter, 1,826 Posts, Join Date Aug 2007, Location derp land  
   Reply With Quote

Computron's Avatar
Old (#5)
A better question would be what performance and memory impact does this carry with it. I would be interested in that.
Offline , dedicated polycounter, 1,443 Posts, Join Date May 2011, Location Minnesota, USA  
   Reply With Quote

ParoXum's Avatar
Old (#6)
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..


Vincent Mayeur - Environment Artist
Offline , polycounter, 867 Posts, Join Date Feb 2009, Location Belgium  
   Reply With Quote

Ark's Avatar
Old (#7)
Read on the wiki somewhere that the streaming system is optimmised for square textures.
Offline , dedicated polycounter, 1,379 Posts, Join Date Aug 2009, Location UK  
   Reply With Quote

[HP]'s Avatar
Old (#8)
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.
Offline , dedicated polycounter, 1,826 Posts, Join Date Aug 2007, Location derp land  
   Reply With Quote

ParoXum's Avatar
Old (#9)
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.


Vincent Mayeur - Environment Artist
Offline , polycounter, 867 Posts, Join Date Feb 2009, Location Belgium  
   Reply With Quote

Olli.'s Avatar
Old (#10)
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.
Offline , polygon, 529 Posts, Join Date Nov 2010, Location Tampere, Finland  
   Reply With Quote

[HP]'s Avatar
Old (#11)
If you say so, who am I to say otherwise.
Offline , dedicated polycounter, 1,826 Posts, Join Date Aug 2007, Location derp land  
   Reply With Quote

fearian's Avatar
Old (#12)
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...
Offline , dedicated polycounter, 1,606 Posts, Join Date Oct 2008, Location UK Send a message via Skype™ to fearian  
   Reply With Quote

McGreed's Avatar
Old (#13)
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."
Offline , polycounter, 999 Posts, Join Date Nov 2008, Location Dublin, Ireland Send a message via MSN to McGreed  
   Reply With Quote

Olli.'s Avatar
Old (#14)
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..
Offline , polygon, 529 Posts, Join Date Nov 2010, Location Tampere, Finland  
   Reply With Quote

ParoXum's Avatar
Old (#15)
Quote:
Originally Posted by [HP] View Post
If you say so, who am I to say otherwise.
:P


Vincent Mayeur - Environment Artist
Offline , polycounter, 867 Posts, Join Date Feb 2009, Location Belgium  
   Reply With Quote

Computron's Avatar
Old (#16)
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..
Offline , dedicated polycounter, 1,443 Posts, Join Date May 2011, Location Minnesota, USA  
   Reply With Quote

Computron's Avatar
Old (#17)
Double post

Last edited by Computron; 04-26-2012 at 06:29 PM..
Offline , dedicated polycounter, 1,443 Posts, Join Date May 2011, Location Minnesota, USA  
   Reply With Quote

ParoXum's Avatar
Old (#18)
That's the preview. Previews are square.


Vincent Mayeur - Environment Artist
Offline , polycounter, 867 Posts, Join Date Feb 2009, Location Belgium  
   Reply With Quote

Computron's Avatar
Old (#19)
Quote:
Originally Posted by ParoXum View Post
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.
Offline , dedicated polycounter, 1,443 Posts, Join Date May 2011, Location Minnesota, USA  
   Reply With Quote

Olli.'s Avatar
Old (#20)
Quote:
Originally Posted by ParoXum View Post
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..
Offline , polygon, 529 Posts, Join Date Nov 2010, Location Tampere, Finland  
   Reply With Quote

iniside's Avatar
Old (#21)
Quote:
Originally Posted by Olli. View Post
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
Offline , triangle, 392 Posts, Join Date Sep 2010,  
   Reply With Quote

Olli.'s Avatar
Old (#22)
Quote:
Originally Posted by iniside View Post
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.
Offline , polygon, 529 Posts, Join Date Nov 2010, Location Tampere, Finland  
   Reply With Quote

iniside's Avatar
Old (#23)
Quote:
Originally Posted by Olli. View Post
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.
Offline , triangle, 392 Posts, Join Date Sep 2010,  
   Reply With Quote

Olli.'s Avatar
Old (#24)
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.
Offline , polygon, 529 Posts, Join Date Nov 2010, Location Tampere, Finland  
   Reply With Quote

Justin Meisse's Avatar
Old (#25)
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!
Offline , Moderator++, 6,684 Posts, Join Date Oct 2004, Location Austin, TX  
   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 1998-2012 A. Risch