What is Texel Density and How to Master it

  Рет қаралды 121,215

malcolm341

malcolm341

Күн бұрын

Click here to subscribe kzfaq.info?su...
To support this channel go here gumroad.com/malcolm341
Explaining what texel density is, how to use it, and some tools you can use to set correct texel density easily on your models in Autodesk Maya.
Download the 2048 checker texture from the video here
drive.google.com/open?id=1KBg...
Intro 0:00
What is Texel Density 0:13
Set Texel Density Method 1 2:31
Set Texel Density Method 2 5:46
Set Texel Density Method 3 9:58
How to Maintain Texel Density Target 11:51
Exceptions to Texel Density Rules 15:27
How to Measure UV space %Used 17:05
Outro 18:11

Пікірлер: 460
@sassuskrassus3166
@sassuskrassus3166 2 жыл бұрын
I made a 3 year 3d course in my shool and none of my 3d teachers (not the maya teacher, not the zbrush teacher, not the Unity teacher) have ever remotely covered Texel Density... I didnt even know this shit existed.. thanks a lot for this tutorial now I know better
@malcolm341
@malcolm341 2 жыл бұрын
That's great I'm glad you found this useful, thanks for commenting. Texel density is an advanced concept, but at this stage most schools should be teaching it in my opinion. For games work you generally need to know it before applying.
@josephsargent4736
@josephsargent4736 5 жыл бұрын
@malcolm341 "I don't know what 5.12 means" 5.12 = 5.12 Pixels per Centimeter 2048/4 = 512 Pixels per metre, Standard measurement of Texel Density Pixels per Centimeter... therefore 512/100 = 5.12 Artists will want to understand this for workflow purposes Great video btw helped alot!
@malcolm341
@malcolm341 5 жыл бұрын
Yep you got, I'm terrible at math my wife also explained it to me after I finished the video.
@rafalradziwill9017
@rafalradziwill9017 5 жыл бұрын
True same as 2048 / 100 Pixels per Centimeter = 20.48
@jeansamson4079
@jeansamson4079 4 жыл бұрын
Really great point considering centimeter as maya’’s default unit of measurement!
@circusmonkey28
@circusmonkey28 4 жыл бұрын
Hello! Sorry I am confused! I understood that you divided it by 100 because 1 meter = 100cm. But why did you divide 2048 by 4? Where did you get the "4"?
@kakasicica
@kakasicica 4 жыл бұрын
thank you dude, you honestly helped more than the video :')
@legacythegame
@legacythegame 6 жыл бұрын
Great tut, the non-glamourous side of modeling doesn't get covered a lot and in such great detail, carry dude
@malcolm341
@malcolm341 6 жыл бұрын
Thanks for that motivational feedback, much appreciated.
@taylorbrown129
@taylorbrown129 5 жыл бұрын
this tutorial single-handedly got it through my head how to approach texel density. thank you malcom for all your work!
@malcolm341
@malcolm341 5 жыл бұрын
Right on, glad that helped. Thanks for leaving a comment.
@ZombieDawgs
@ZombieDawgs 5 жыл бұрын
Honestly the best video on texel density out there. Thanks for explaining it so well.
@malcolm341
@malcolm341 5 жыл бұрын
I'm glad you enjoyed the video, thanks for commenting and letting me know.
@manafrogxbt
@manafrogxbt 4 жыл бұрын
Hey ZombieDawgie
@starryshark
@starryshark 5 жыл бұрын
Very informative! Subscribed! I went to school for Media Arts & Animation (not game) and my teachers have never told me this!! (It's honestly a shame considering how much money students have to fork over to the school). They simply said "make sure you take up the 0 to 1 space!" For animation students we were told the same rules don't apply to us, but because I'd like to model for games or animation, I feel I need to know this. Very helpful~
@malcolm341
@malcolm341 5 жыл бұрын
That's awesome, thanks for that motivational feedback. Glad you found the video useful.
@sikamoreify
@sikamoreify Жыл бұрын
Have been using your mega pack for a few years now but never got into the UV tools. Texel density is a term I've never heard but have always been familiar with the concept of getting all your checkerboards to be the same scale. Never knew the 400 base number either. Very informative and great tools as always with the rest of the pack!
@malcolm341
@malcolm341 Жыл бұрын
Thanks, I'm glad you're enjoying the tools and found this video useful.
@mampiisaotaku
@mampiisaotaku 4 жыл бұрын
this videos is gold. tank you so much for taking the time to do this video even if it is from last year
@malcolm341
@malcolm341 4 жыл бұрын
Thanks, glad you enjoyed it.
@jamiew4814
@jamiew4814 3 жыл бұрын
This is what I needed today. Perfect Explanation
@malcolm341
@malcolm341 3 жыл бұрын
Great, glad you found what you needed, thanks for watching.
@ahatcho138
@ahatcho138 6 жыл бұрын
I am sure this video will help lot of people because I have seen people struggle with uv mapping/ unwrapping. Really very informative video. Thank you.
@malcolm341
@malcolm341 6 жыл бұрын
That's great, thanks for taking the time to leave this positive comment.
@ahatcho138
@ahatcho138 6 жыл бұрын
malcolm341 you are a great teacher keep up the good work and good luck.
@PixelGalleries
@PixelGalleries 5 жыл бұрын
Clinton Crumpler recommended me to watch your videos, and I have to say, these are very useful! Thank you and keep it up!
@malcolm341
@malcolm341 5 жыл бұрын
Clinton is the man, we used to work together. Thanks for that feedback, stay tuned for more videos.
@paulin2art315
@paulin2art315 Жыл бұрын
Ur comments n reply’s are helping me alot
@malcolm341
@malcolm341 Жыл бұрын
That's great I'm glad you're finding this channel useful.
@nigelsmith7717
@nigelsmith7717 5 жыл бұрын
Thanks for these tutorials....this part of uv mapping has confused me alot. Would love to see it done on a more complex game asset like a weapon or something....your tutorials are a life saver
@malcolm341
@malcolm341 5 жыл бұрын
Thanks for your nice comment, in the future I'll try to do a project based tutorial.
@bobvelocity
@bobvelocity 3 жыл бұрын
I've learnt more tips in 20 mins watching this than I have in the 18 years or so using Maya for my job so thankyou. Then I realised a few minutes in that I have your Gumroad shelf pack installed. Good job sir.
@malcolm341
@malcolm341 3 жыл бұрын
Oh nice, thanks for watching my content and purchasing my tools pack.
@bobvelocity
@bobvelocity 3 жыл бұрын
@@malcolm341 Not a problem chap. Classic Maya and a million ways to do one thing. It always amazes me that people such as yourself create such great tools and ways to streamline the software and Autodesk continue to just pile more plugins and crap on top rather than focussing on the everyday simple stuff. (I think a tonne of blender artists just rolled their collective eyes.)
@malcolm341
@malcolm341 3 жыл бұрын
@@bobvelocity Yeah there's something to be said for UI that just has the tools you want in it, whereas with Autodesk they have to put everything into the UI, but you might only use some of those tools once a year. Blender looks cool, I haven't tried yet, I'm having too much fun learning Mel scripting in Maya.
@ianhollinhead5199
@ianhollinhead5199 3 жыл бұрын
Clearly a master. Thank you for the lesson.
@malcolm341
@malcolm341 3 жыл бұрын
Glad you found it useful, thanks for commenting.
@pixelscholar
@pixelscholar 4 жыл бұрын
Awesome tutorial! Thanks so much for tackling this confusing but crucial topic. Might have also want to mention that units in Maya default to 1unit = 1 cm and show how to view/change those values in the Settings/Preferences menu. If you did mention it and I just missed it I apologize in advance! Thanks again!
@malcolm341
@malcolm341 4 жыл бұрын
Thanks for your feedback, glad you enjoyed the video.
@ayer10y
@ayer10y 6 жыл бұрын
Really interesting stuff Malcolm, thanks for sharing! I ound it really useful. It would be nice to see some more tips concerning packing, and in which cases are convenient or not to overlap uv's ! Have a nice week ! :)
@malcolm341
@malcolm341 6 жыл бұрын
Thanks a lot for this feedback. I have a plan to do a tutorial on packing and how much to space out your UVs shells coming in the future sometime. This video was getting really long so I had to save packing for another time.
@kakaiya
@kakaiya 9 ай бұрын
Very comprehensive, thank you!
@malcolm341
@malcolm341 9 ай бұрын
I'm glad you found it useful, thanks for commenting.
@VidalPueyo
@VidalPueyo 5 жыл бұрын
Thanks for the update and for all the explanations! Great job!
@malcolm341
@malcolm341 5 жыл бұрын
Thanks a lot for leaving that nice comment.
@Torey3D
@Torey3D 3 жыл бұрын
Just wanted to say we all really appreciate you bro!
@malcolm341
@malcolm341 3 жыл бұрын
Thanks! I appreciate your comment about appreciating me.
@Torey3D
@Torey3D 3 жыл бұрын
@@malcolm341 lol ;)
@izvarzone
@izvarzone 3 жыл бұрын
I like technique they used in Paragon and UT, with triplanar shaders. This allowed to retain same texel density for all static meshes on a level. You can even scale/shear/taper meshes, texture still be same. Though texel density is still important for RGB masks, stretching or uneven texel density far less noticeable on them (especially when layers textures are similar)For characters/weapons, tileable detail textures were used, with RGB masks to break tiling. Details can be scaled independantly from main texture. The same technique in other games, serious sam 4, talos principle, assasin's creed, witcher 3…
@malcolm341
@malcolm341 3 жыл бұрын
Yeah multi-texturing is the future in my opinion instead of using 8k or 16k textures. We've be doing multi-texturing for rocks for while now because they're so big and need to be scaled to different sizes. The reason we haven't seen Paragon style texturing adopted in mainstream games is because the instruction count is too high, we investigated live tiling textures for Gears 5 and it was too expensive, tri-planar projections alone are too high instruction count be useful, and live tileable layers even without the tri-planar are also unreasonably expensive. Live layers also present another technical limitation in that creating the RGB masks is an annoying cumbersome workflow because of channel packing and limiting the number of layers per material to 3 or 4, or even 8 makes for simplistic synthetic looking textures. On Gears 5 we did the whole RGB mask thing and all textures were created from a source pool of tiling swatches, but that data was baked in engine so the game would actually run. You need at least 15 to 25 layers to make realistic looking material. On these new consoles I don't think you're going to see too much change in the way things are textured unless the Unreal 5 Nanite thing proves to be usable, I have a feeling that you'll mostly see that used for terrain and rocks though.
@aidayess4220
@aidayess4220 4 жыл бұрын
oh! it's just what I was looking for!! thank you so much!!! Great Tutorial!
@malcolm341
@malcolm341 4 жыл бұрын
Hey you're welcome, thanks for commenting.
@bausHuck
@bausHuck 3 жыл бұрын
This is a great video. I'm no stranger to unwrapping consistency, but I really had no idea the whole approach for Texel density. 2048 per 400cm is a good bit of information. 512 per metre. I have been using 3d max because I am familar with it but I might need to use Maya just for unwrap setting consistency tools. Mirco details is another great piece of information. And a great way to take the asset up a level. Thanks a lot.
@malcolm341
@malcolm341 3 жыл бұрын
Thanks for commenting, glad you enjoyed the video. If you're using Max the same principles apply, but Max defaults to meters where Maya is centimeters. So to follow along with this video you can use 2048 per 4m in Max would be the same as what I showed in Maya. Another Max artist contacted me at one point and he found this Max script useful for setting texel density www.scriptspot.com/3ds-max/scripts/texel-density-tool
@bausHuck
@bausHuck 3 жыл бұрын
@@malcolm341 Thanks, I'll check it out. I am just getting back into 3d modelling after 8+ years of not touching it. Videos like this help me catch up to today's standards much faster. This was the first video of yours I have seen, will be checking out the rest of your channel this week.
@malcolm341
@malcolm341 3 жыл бұрын
Great, thanks.
@Dekogon
@Dekogon 6 жыл бұрын
Nice! Gonna share this with my students
@malcolm341
@malcolm341 6 жыл бұрын
Right on! Took quite some time to figure out how to explain this without being totally confusing.
@leandrosn962
@leandrosn962 Жыл бұрын
What a masterclass! Thank you!
@malcolm341
@malcolm341 Жыл бұрын
Thanks, I'm glad you found the video useful. Thanks for leaving a comment.
@leandrosn962
@leandrosn962 Жыл бұрын
@@malcolm341 =)
@viktormaxer6796
@viktormaxer6796 5 жыл бұрын
Best tutor about TD!
@malcolm341
@malcolm341 5 жыл бұрын
Thanks for that very nice comment, glad you enjoyed the tutorial.
@octaviordz9160
@octaviordz9160 4 жыл бұрын
PD: LOVE U!!! It´s difficult to understend (no because you) because it´s a topic very important, finally I understand!! :DD danke thank you gracias arigato etc
@malcolm341
@malcolm341 4 жыл бұрын
Glad you're enjoying the tutorial.
@InquisitorSama
@InquisitorSama 4 жыл бұрын
VEEERY IMPORTANT TOPIC! Great way to explain. Really good and informative tutorial.
@malcolm341
@malcolm341 4 жыл бұрын
Thanks a lot, glad you enjoyed it.
@ammonn9930
@ammonn9930 3 жыл бұрын
I have my first project for a publisher and you sir save me thx so much 🤘😅
@malcolm341
@malcolm341 3 жыл бұрын
Awesome, that's great. Good luck.
@ElPincheTurro
@ElPincheTurro 6 ай бұрын
10:56 It means 2048/5.12 = 400 You are spreading 5.12 pixels from the 2048 image into each centimeter of whatever object you texturing. So, you could just type the following densities in SET, depending on the size of your texture. Don't forget to type the map size: 512/400 = 1.28 1024/400= 2.56 2048/400 = 5.12 4096/400 = 10.24
@malcolm341
@malcolm341 6 ай бұрын
Yes you are correct, the pix per unit measurement is the more common way of measuring texel density these days so 5.12 pixels per 1 unit of measurement is more common than saying 2048 = 400.
@matthewrimington6335
@matthewrimington6335 3 жыл бұрын
I want to call you like a scholar and a gentleman. But I am real close to voting you for world president! I am a student of games design and the pack deal you have for like £30ish is honestly amazing!!! I started out and thought "cool maybe I will use 2-3 of these". two weeks later I think maybe 4-5 are not yet used purely because I am not there yet haha. Seriously thank you so much for the work and tutorials. The bulk price made it a no brainer and I just love it all.
@malcolm341
@malcolm341 3 жыл бұрын
That's awesome, thanks a lot for your purchase and supporting me. Enjoy the scripts, more to come.
@matthewrimington6335
@matthewrimington6335 3 жыл бұрын
@@malcolm341 Just an update on this as my feeling has changed slightly. Pretty much saved my uni year and helped me commit to becoming an environmental artist instead of level designer! That just because I feel I can enjoy maya more freely and blitz through problems so much more efficiently. More and more of my class have gotten it over the past few months and very similar feelings of joy. Installing updates was a worry for me and reinstalling it all. But it is so ridiculously easy and hassle-free. I am giving you credit when I graduate haha
@malcolm341
@malcolm341 3 жыл бұрын
@@matthewrimington6335 Awesome, thanks for letting me know, nice to hear you and your class mates are enjoying the tools. More to come.
@arcitek66
@arcitek66 Жыл бұрын
Very good tutorial on what I think is a complicated part of 3d Art. I was working on a project in 3dsmax that went into unreal and I was having issues with adjacent planes of the same texture showing some weird variations. Some of the suggestions I saw on some of the forums talked about texel density as one of the concerns so I dove into it but most explanations were lacking. What is a problem is that you are using Maya and another one was using Blender and they said the techniques are program agnostic but that is not true. Maya has that built in texture tool to match texel density where max does not. I found a script for 3dsmax but the instructions to use it were horrific. Your explanation on the Maya tool led me to figuring out this script and it works perfect. Thank you!
@malcolm341
@malcolm341 Жыл бұрын
Oh great, I'm glad you enjoyed the video. In Max the main difference is that the default working unit is meters where Maya is centimeters so in Max this video I made would be 2048pix across 4 units in Max, and 400 units in Maya. I recommend this script if you're using Max it appears to work the same as the Maya default tool www.scriptspot.com/3ds-max/scripts/texel-density-tool and this other toolbox looks like you can do it here too renderhjs.net/textools/3dsMax.html
@arcitek66
@arcitek66 Жыл бұрын
Actually, I changed the working units in max to centimeters and did the 400 cm sq plane and used your checker to still work through your tutorial. As I mentioned, I did find the texel density script you mentioned but it does not quite work like Maya but I figured it out. There is no good direction on how to use this script so I am glad I saw you use the Maya one to give me some direction. Again, well done video.
@malcolm341
@malcolm341 Жыл бұрын
@@arcitek66 Oh okay, well I'm glad you were able to figure it with this video and the Max script.
@donutguy1281
@donutguy1281 4 жыл бұрын
Useful information and concise, thank you
@malcolm341
@malcolm341 4 жыл бұрын
Great, thanks for the feedback.
@parthshah9595
@parthshah9595 5 жыл бұрын
Thanks a lot for this video. I m a student and want to say that this technique are really great. Classes are never told this type of work process 😂😂 I m 100% sure they are also unknown with this level of work process 😂😂 I m very lucky coz I m here. Thanks a lot
@malcolm341
@malcolm341 5 жыл бұрын
Thanks a lot for your comment, glad you enjoyed the video.
@JMTBFLOW
@JMTBFLOW 6 жыл бұрын
Great info. Thanks, Malcolm.
@malcolm341
@malcolm341 6 жыл бұрын
Right on, thanks for taking the time to leave a positive comment.
@lavivaneau0
@lavivaneau0 6 жыл бұрын
Fantastic explanation!
@malcolm341
@malcolm341 6 жыл бұрын
Thank you!
@snorky1828
@snorky1828 4 жыл бұрын
Very useful for a noob like me, and i love your script :D . subscribed!
@malcolm341
@malcolm341 4 жыл бұрын
Thanks for leaving a comment, glad you found it useful. Enjoy the script.
@markiemarkchannel
@markiemarkchannel 5 жыл бұрын
Btw... your videos are awesome! Definitely subbed
@malcolm341
@malcolm341 5 жыл бұрын
Thanks for letting me know, more videos to come.
@iiyaman69
@iiyaman69 3 жыл бұрын
Great Work !! Thanks !!
@malcolm341
@malcolm341 3 жыл бұрын
Thank you, have a great day.
@Fengtos
@Fengtos 5 жыл бұрын
Texel density matching can be way faster. Just use the "Layout UV" option. Set the "Shell Pre Scaling to "Preserve 3D ratios" under Shell pre Transform Settings. Then set the "Scale Mode" under Layout Settings to "Off" This will perfectly scale all your UV's to the correct scale in accordance with the size of the objects. Then scale everything to the texel density you want.
@malcolm341
@malcolm341 5 жыл бұрын
Neat trick thanks for sharing, the downside to this method is it's a bit slow to computer and the shells don't scale from their centers.
@msgemini4305
@msgemini4305 8 ай бұрын
Very helpful , thanks
@malcolm341
@malcolm341 8 ай бұрын
I'm glad you found this useful, thanks for letting me know. If you want to learn more check out this person's in depth tutorial kzfaq.info/get/bejne/h8mhfcac1cXVY4E.html
@davidmercadel9300
@davidmercadel9300 Жыл бұрын
Thank you this is Great!!!
@malcolm341
@malcolm341 Жыл бұрын
Thanks, I'm glad you enjoyed the video. If you'd like to learn more there is a comprehensive tutorial by another person with real world examples. kzfaq.info/get/bejne/h8mhfcac1cXVY4E.html
@charlescortes873
@charlescortes873 5 жыл бұрын
This just saved my life xD
@malcolm341
@malcolm341 5 жыл бұрын
Fantastic, thanks for letting me know you found the video useful.
@charlescortes873
@charlescortes873 5 жыл бұрын
​@@malcolm341 No problem. This past month I've been pulling mine and my artist's hair out about texel density, sizes, etc. I was doing it completely wrong and using texels as finite, due to how small some of the UV's or large the UV's got on objects. (Realizing much later why you should stack, butterfly, and many other ways of shrinking the shell is the correct way of tackling the issue.) I do have a few questions though. After resizing to the correct texel density using the 400 units example, a lot of our assets are not really taking advantage of the UV space. Out of the full UV space, most are around u0.2 v0.2, as they are mostly interior objects like chairs, stools, tables, etc. Would it be more beneficial to add multiple assets to the texture, even though we have them as separate meshes?
@malcolm341
@malcolm341 5 жыл бұрын
@@charlescortes873 technically speaking filling in wasted UV space is always better, but practically this is lot of work and generally not worth it. I would probably scale up smaller details to fill up the wasted space, or use rectangular textures as often that allow UV layout to fill the space when I square UV layout is wasteful. Also you can deliberately cut the UV shells and separate them to fill up space, but that will create more seams you need to texture over later. Each object will be different and reducing seams while also using all the UV space can take a lot of time.
@chuckj.3844
@chuckj.3844 4 жыл бұрын
Great vid and thanks for explaining it. One question though. If I already have pre-existing assets and I want them at 2048 and I apply a 2048 texture to a plane at 400cm x 400cm can I just "GET" the density from the plane and apply it to the other pre-existing models once they are uv'd or is it not that simple?
@malcolm341
@malcolm341 4 жыл бұрын
Thanks, yes it's actually that simple you can copy paste the value from the plane, this is how I often do it when I don't want to do the math.
@teodorivanov7405
@teodorivanov7405 4 жыл бұрын
Thank you!!
@malcolm341
@malcolm341 4 жыл бұрын
You're welcome, thanks for leaving a comment.
@Tetsukaa01
@Tetsukaa01 Жыл бұрын
Great tutorial! But to clarify, a texel is just pixel of a texture(plus anything thats added by the shader). By scaling the UVs or the object, you are only changing the texel density/size of the texels.
@malcolm341
@malcolm341 Жыл бұрын
Great description, thanks.
@nigelgear
@nigelgear 6 жыл бұрын
Really good!
@malcolm341
@malcolm341 6 жыл бұрын
Thanks for your feedback.
@nigelgear
@nigelgear 6 жыл бұрын
Would be nice if you can share how to go about texel density on Characters, specially how to stack the uvs, I know that is almost the same thing, but characters are more complex to stack and would be nice to know any tips and tricks kind of thing.
@Midz13
@Midz13 4 жыл бұрын
Thanks so much for this video. I'm unwrapping for the first time on a model, and was concerned about the size of each component relative to each other, and if it was an issue. Good job I'm only doing this for a folio piece/renders. I know now I'll need to address the relationship early. How do I know what texture size to use? I've not done this before and I'm really not sure how to establish the relationships? Thanks again :D
@malcolm341
@malcolm341 4 жыл бұрын
Hey you're welcome, thanks for leaving a comment.
@pietlebrun5943
@pietlebrun5943 4 жыл бұрын
Hey man, great tutorial. I wonder, what texel density would you use for today (shipping in 2020/21) first person game in style of P.T. - walking in house, no NPC enemies, no particle effects etc., basically just walking simulator in interiors/corridors. Maybe something like 200cm = 2048 pixels?
@malcolm341
@malcolm341 4 жыл бұрын
Yeah 200cm would look quite nice. I've never worked on a first person game, just third person action games. On the last game I worked on we used 384cm = 2048 pixels and then we still had to use detail maps so when you got close to something or aimed down sights things would still look good. Somewhere in the 200cm to 300cm seems like a good place, but you'll need to balance that against texture repeats since 200cm is not a very large surface, so you may need to employ other techniques like detail maps and or vertex blending to break up the surfaces to hide the repeats. Ideally you have a small test scene with the POV hooked up and you just walk around a bit and put some test textures on the floor and walls and see what looks good.
@Nico-wq5os
@Nico-wq5os 2 жыл бұрын
Hello there, I'm 13:20 you talk about "butterflying stuff", what do you mean by that? Or do you refer about mirroring and overlapping shells and that's like butterfly wings? Could someone tell me please? Thank you
@malcolm341
@malcolm341 2 жыл бұрын
Yes exactly, when you mirror and stack it's called butterflying.
@MadpolygonDEV
@MadpolygonDEV 2 жыл бұрын
sorry to come back after some years but I havent been modeling for a while, I currently am using a rts style game and I have a 256 tx density. I have some small props I want to 0-1 but at this texture desnity, it seems ike the model take alot less uv space. So I am wasting lots of uv space. Any idea what to do in that case
@malcolm341
@malcolm341 2 жыл бұрын
It's the same workflow no mater what game style you work on, first define the camera distance from your average ground texture, then determine what your average texture is going to be, let's say 2048x2048 will be your average texture. So while looking through the game camera apply the texture to the ground and scale the UVs as few times as possible. If it starts to look too blurry scale the UVs a bit more until you find the sweet spot. Once you've found that select the ground plane and use the get texel density button to record what that texel density is. Round up or down if it's a lot of decimal places. From there apply that texel density to the props and see how it looks, if you think it's too high and your props are too pixel dense you can scale the textures down in engine by half which is what I recommend because it's non-destructive.
@WraithDesignz
@WraithDesignz 3 жыл бұрын
What would the units be in 3DS Max? or do you have a video especially for that program? :) thanks!
@malcolm341
@malcolm341 3 жыл бұрын
In Max it's the same depending on how big you build things, it's all relative to the character. For example, a person is roughly 2 meters tall rounding up so that would be 200cm in Maya for the base scale, then you can use 400cm = 2048 pixels as a good starting place for the ground and walls. I believe in Max it defaults to meters so that would mean you can make your character 2 meters in Max, then you can use 4 meters = 2048 pixels as a good starting place for texel density on ground and walls. You can go higher if that's still too blurry, but I wouldn't personally go lower. For Gears 5 we used 384cm = 2048 pixels, and in max that would be 3.84m = 2048 pixels so we went a bit higher rez for that game, but I prefer to work in a power of 10 so things line up easier, 384cm is a wacky scale to build modular kits on in my opinion.
@fressno1807
@fressno1807 3 жыл бұрын
hey @malcolm341 what is your point on not cutting up your UVs cus it slows down the texture designation in the game engine?
@malcolm341
@malcolm341 3 жыл бұрын
Good question, cutting UV edges means each additional cut adds to the vert count in game engine, so the more UV cuts you do the more verts your final model will have. That said, I don't really think about it, I generally try to unwrap my meshes with as few cuts as possible because it makes texturing easier. In Maya 2022 they have a game vertex counter now so you can see how many extra verts are added as you apply UV mapping which is handy.
@bakaunko247
@bakaunko247 3 жыл бұрын
i was wondering, when i made the same plane and changed the scale to 400. mine was massive in comparison to yours. i think we may have differing units for our scene or maybe different grid size i'm not sure. could you please tell me what your settings are at for units and grid?
@malcolm341
@malcolm341 3 жыл бұрын
I generally work in cintemeters and the grid is set to Length/Width 128 Gridlines every 32 Subdivisions 1
@judofernando8298
@judofernando8298 Жыл бұрын
question please. im trying to make a building. but when im adjust all the past to 1024x1024. some uv are out of the boundry because of the diffrent size. what should i do to make it the same size ?
@malcolm341
@malcolm341 Жыл бұрын
Unfortunately you can't unwrap buildings into the 0-1 UV space they're just too big. To get around this for games you need to stack UV shells, make use of tiling textures, and use trim sheets and unique unwrapped parts. Typically on Gears of War 5 we would use three 2048x2048 textures for one building and then try to re-use those textures on similar buildings to make difference shapes. Here's a link to understanding trim sheets which will hopefully lead you in the right direction kzfaq.info/get/bejne/f-CZfLxnnJqycas.html
@juancarloshortaflores1327
@juancarloshortaflores1327 5 жыл бұрын
Texel density is calculated as pixels by linear unit. In this case at 11:08 Malcolm is getting the 5.1200 value because he is scaling the plane 400 (400 cm) units = 4 m. Sorry I cant explain further in this coment. I hilly recoment Leonardo's explaation to complement this topic. www.artstation.com/artwork/qbOqP Nice work Malcom! Just a few years ago this topic was completely unknown for a lot of people, especially the ones that weren't working in the game industry.
@malcolm341
@malcolm341 5 жыл бұрын
Thanks for your comment, glad you enjoyed the video and thanks for leaving the additional link for other to learn from.
@DeclanMakesStuff
@DeclanMakesStuff 4 жыл бұрын
This is legit, thanks
@malcolm341
@malcolm341 4 жыл бұрын
You're welcome, thanks for commenting.
@DeclanMakesStuff
@DeclanMakesStuff 4 жыл бұрын
@@malcolm341 now do a blender version ;)
@malcolm341
@malcolm341 4 жыл бұрын
@@DeclanMakesStuff If you want to do texel density in Blender you can purchase this it will allow you to follow this tutorial and achieve the same results. blendermarket.com/products/texel-density-checker
@wraithe5367
@wraithe5367 3 жыл бұрын
Very Very Very useful and Greatly Explained Thank You. I was really having trouble figuring it out. 👍
@malcolm341
@malcolm341 3 жыл бұрын
Thanks a lot, glad you enjoyed it.
@MadpolygonDEV
@MadpolygonDEV 4 жыл бұрын
So when you use a 2048x2048 map and A TD with 512x400cm, I always get tiling issues when I try to make a wall piece that is maybe 200cm x 100cm for instance. When i try to snap those meshes next to each other they just have tiling issues. How would one approach this on modular walls
@malcolm341
@malcolm341 4 жыл бұрын
512x400cm is not a valid measurement, your wall piece should be 800x400cm or 1024x512 or something like that. For tiling to work it will need to be 2x1 or 1x2 to avoid having a seam. For modular walls you'll always want exactly half for the height or width and that half should be the base texel density. So for the example in this video I'd go with 800x400cm to make a wall that is longer than it is tall and then the tiling should end exactly on the boundary of the top and side of the mesh. As well, make sure to check the UV editor because planar maps often oringinate in the center of the UV space which is not what you want for modular layout since that will never tile correctly you want it snapped to the bottom left corner or which ever corner you're going to use for the rest of your pieces.
@MadpolygonDEV
@MadpolygonDEV 4 жыл бұрын
@@malcolm341 imgur.com/a/zDZAtUJ heres my issue. So this is a 2x2m plane with a piece of 1x2. UVs are bottom left for both. One seam side tiles nicely while the other when duplicating to the other side does not. The texel density is a 1024x1024 texture with 512px per 100cm so it fits the square perfectly. One solution I can think of is to cut the 1x2 piece in the middle and move the second edge towards the left origin seam. Basically mirroring it. Is that the way to go? Also I have one more question. Say I wanted to use a TD of 5,12. Is it recommended to use a 2048x2048 texture? The problem I have when using your TD settings (2048px per 400m) is that when I have a pice that is lets say a 1x1m wall, I cant have it tile, or hardly can tile it.
@sudharsanuthayasuriyan2717
@sudharsanuthayasuriyan2717 5 жыл бұрын
thanks man
@malcolm341
@malcolm341 5 жыл бұрын
You're welcome, thanks for commenting.
@GEMINIS101
@GEMINIS101 3 жыл бұрын
Great tutorial! Thanks for the information. I only have one question about texel density, this topic is very difficult to understand for me, if I want to add decals in my models for example in Substance Painter, it would be imposible to keep a consistent texel density putting a face on top of the other isnt it? I work in 3DsMax and my teachers didnt told me about this topic when I was studying :(. Probably u can use decals with the unreal tools but I think there will be other options.
@malcolm341
@malcolm341 3 жыл бұрын
I'm not sure I fully understand the question. There are two kinds of decals in the games industry, deferred decal and mesh decal. Mesh decal is a floating poly you model on your mesh, deferred decal is a projector that planar maps the decal on top of your geometry in the game engine, they both have their uses and limitations. In Substance painter you get a deferred decal that gets baked into the exported texture. Everything that comes out of the Substance export will be a flat 2k or 4k map and your decal will just be part of that so it will automatically be the same texel density as whatever UVs you've done before bringing it into Painter. Unless, you use a really small texture as a decal in Painter and then scale the decal projector up larger than what the number of pixels will be in the final exported texture. If you really want to understand what Painter is doing, apply a 2k checker inside of Painter as a base layer and note how big the checkers are in the 3D view. Now create decal box or whatever it's called in Painter and apply the same checker texture to it, if you scale the decal projector down and the decal checkers are smaller than the base layer checker applied to mesh everything is fine, if you scale the projector up and the decal checkers get bigger than the base layer checkers you've lost resolution and the decal will appear soft looking in the final texture which should be avoided, but may not be that noticeable depending on what the final decal will actually be. Stains might look fine scaled up to some degree, text or normal maps may be soft and pixelated.
@kissfabian
@kissfabian 7 ай бұрын
Could you perhaps give some some advice on how could I fit multiple UV shells into 1 single tiles with keeping high (4K) pixel density. When I want to keep really high pixel density, with loads of details on my building, I can only fit a couple of columns into one single tile. However, when I want to include multiple object mainlining the same high density, it's off the tile.
@malcolm341
@malcolm341 7 ай бұрын
@kissfabian Typically for architecture and other larger props you have to use a combination of multiple textures with some parts unwrapped, some parts tiling, and some trims sheets. This video is great at explaining how to texture large things for games. kzfaq.info/get/bejne/h8mhfcac1cXVY4E.html
@khairoolboyz
@khairoolboyz Жыл бұрын
Hi, I wanna ask. If we already have the size Uv that we want. but how to export it an create the texture. Or the function of texel density is just to know the size of the texture? Thank you
@malcolm341
@malcolm341 Жыл бұрын
The function of texel density is to determine the size of the UVs you want relative to the texture size you apply before creating the final texture. If you've already determined how big you want the UVs then you've already set your texel density. From there just export your model as .fbx or whatever format you need and than texture it in Substance Painter, Quixel Mixer, or Marmoset Toolbag.
@Artboom91
@Artboom91 6 жыл бұрын
What do you do with walls with texel density in a room environment? I have a medium sized room but will contain smaller objects, I have texel density of 400 like your video, but my walls is over the 0-1 squire, is that ok? the walls will have a generic like tile texture so would it matter it is out the square?
@malcolm341
@malcolm341 6 жыл бұрын
Hi Andrew, for walls and ground the model can be any size you like, then you just tile the texture outside of the 0-1 UV range. To match the tiling texture exactly to 400 like the video you can use a planar map and type in 400 or you can use the set texel density tool with the 5.12 setting, or you can use the sew to UV trick I showed in the video. Often for complex walls with scifi details we'll use a tiling texture for the large flat surfaces, then use a second texture laid out in what we call a trim sheet that tiles horizontally only. We will then "trim" all the details to get the best of both worlds for large walls, while still keeping the exact texel density we set to accomplish. This is a very common practice in games to save texture memory and keep resolution high for large architectural models. Here's an example image of what I'm talking about. drive.google.com/open?id=1vl9flmcHfb5E0HLqXKcKTXgce6Ald1yo
@joelwynd9233
@joelwynd9233 5 жыл бұрын
Hey Malcolm .... So I understand what you've said in the video but cant seem to get it to work on my asset.... So i have made a small chapel in maya ... If i use the Texel Density tool in maya to set my density to 10.24px/Cm (I read on another tutorial that this is standard ratio for environment props in an FPS) maya scales all my UV shells to sizes to match this ratio, great!! .... however now there are UV shells that have no chance of fitting in the 0-1 uv space. and if i scale them down to fit in 0-1 it will change the TD..... I can for some shells stack, butterfly or mirror uvs and this will work for most shells. But what of the shells that have a single poly mapped larger than the 0-1 space....? I would have to add more polygons to the mesh to be able to cut up the shell to be able to get it in 0-1 but then i would have a ton of seams in the model..... this is driving me insane....
@malcolm341
@malcolm341 5 жыл бұрын
@Joel Wynd Hi Joel, 10.24 if you're using 2k textures is about double what I'm used to working with for 3rd person shooters. I think Battlefield last I heard was using 512px =100cm in Maya which I believe is the same as 2048px = 400cm in Maya, but don't quote me on that they may have changed it when Battlefield 1 came out. To answer your question, generally small props can fit onto a single 2k texture and maintain the texel density you're after, but for grounds, buildings, rocks, large props we have to use a bunch of different techniques to keep texel density high and it's quite challenging and takes thousands of hours to master. Typically for environment stuff we'll use multiple textures including tiling textures, trim sheets, and some unwrapped details sheets. For rocks we typically use an unwrapped normal map in 0-1 UV space, but then that overlays on top of a tiling texture to keep resolution high. On top of all those techniques we use decals and vert painting to keep things from looking too tily and trimy. Here's a great tutorial for an introduction to trim sheets and tiling textures. kzfaq.info/get/bejne/f-CZfLxnnJqycas.html
@joelwynd9233
@joelwynd9233 5 жыл бұрын
@@malcolm341 thanks so much. Great link will definitely implement this into my scene :))
@ulkutuna
@ulkutuna 2 жыл бұрын
Hello, is it acceptable to cut and stack uvs on top of each other to make them fit into 0 - 1 uv space? 13:54 wouldnt it create problems and distortions in applied textures/patterns when texturing substance painter?
@malcolm341
@malcolm341 2 жыл бұрын
Yes absolutely, this happens all the times in game creation to hit texel density without adding more textures. The only thing you need to watch out for is repeated details, it's all an challenging balancing act with each asset.
@alexcarr5439
@alexcarr5439 Жыл бұрын
@@malcolm341 At the end of method 1, when you have the really big plane, it doesn't end there, right? You still have to go through the process of chopping it up to overlap itself like you do later in the video? Why do you have to do that manually? Isn't there some way to "tile" the texture and just tell it to repeat across the rest?
@malcolm341
@malcolm341 Жыл бұрын
@@alexcarr5439 There is no requirement to overlap and fit UVs into the 0-1 space unless your project calls for it. Tiling textures are acceptable, but will have repeated tiled patterns and you need to use other tricks to break up the tiling. Large environment assets for games often use tiling textures that go outside the 0-1 range.
@Haruyuki_Art
@Haruyuki_Art 4 жыл бұрын
awesome thank you
@malcolm341
@malcolm341 4 жыл бұрын
You're welcome, thanks for commenting.
@Yesupathamcg
@Yesupathamcg 6 жыл бұрын
your technical details are very helpful. thanks for sharing. i have a doubt, is it possible to scale multiple uv shells on their own pivot In UV editor ? ... like we scaling multiple objects on the local pivot point.
@malcolm341
@malcolm341 6 жыл бұрын
Thanks for your positive feedback. I don't think their is a way to scale multiple UV shells around their local pivots, it appears UVs always scale around the selection's pivot by default. As a work around you could scale each UV shell separately one at a time, if you need them to be scaled exactly you can type the value into the scale tool and then apply it to each shell one at a time.
@Yesupathamcg
@Yesupathamcg 6 жыл бұрын
malcolm341 thank you for your tip. 👍👍
@ArtinTime
@ArtinTime 5 жыл бұрын
That's super helpful, thank you. What's your UV grid setting? is it possible to actually increase the grid size to reduce the need for downscaling the UV shells to fit 0-1 grid?
@malcolm341
@malcolm341 5 жыл бұрын
Thanks, glad you enjoyed the video. I just use the default grid settings, I generally hide the UV grid when I'm working. To increase the size of the grid in the UV editor, inside the UV editor file menu go to View> Grid options box> change Length and Width: to whatever you like, I think 10 tiles is the default, so if you increase it from there and hit apply that will make the grid bigger.
@ArtinTime
@ArtinTime 5 жыл бұрын
Thanks for the answer and sure one can resize the grid which is straightforward but what i was curious about was if the resizing the grid would make sense in practice to fit larger shells in the UV space. thanks again.
@vectorworks2012
@vectorworks2012 6 жыл бұрын
Essential Viewing. The scaling small details up is great as I always went the opposite way (duh!). Consistent Texel density is a real eye opener so I watched it 3 times :) . Totally subscribed now and thank you very much indeed! The Texel density for 400 to 2048 in cm is 5.12. I use m so it is .0512. Therefore is is just a case of knowing that figure and using it from then on?
@malcolm341
@malcolm341 6 жыл бұрын
That's great stephen, I'm glad you enjoyed the video. Texel density is relative so you can technically use whatever you want, for example on games I've worked on we usually use 400cm = 2048 pixels, on Dead Rising 3 I believe they used 512cm = 2048 pixels, this would give more unique pixels without seeing a repeat on the tiling ground, but the pixels would also be lower rez and softer so moving the camera close to the texture would break down faster. I've even heard of some games using 200cm = 2048 pixels, so that would mean lots of repeated details on the tiling ground, but very high res and you could move the camera very close without loss of detail or blurriness. It's up to you to determine which texel density suits your project and then try to maintain consistency from there. That's why I always figure out the floor texture first and make sure everything matches to that. In the texel density tool inside the transform rollout of the UV editor all you need to do is select a single face and click the get button, this will automatically give you the magic number you're looking for. Providing you've mapped your first reference object correctly to the desired density you like. I wouldn't recommend changing the units in Maya to meters I've found in the past this causes issues, instead I'd leave Maya in centimeters and just make something 100cm when you want to make 1meter.
@vectorworks2012
@vectorworks2012 6 жыл бұрын
Thank you Malcolm. This recording was very useful because it was not just about the tools but about the process and so many recordings don't do that. Thank you very much
@malcolm341
@malcolm341 6 жыл бұрын
Thanks, I'll try to include the how, and also the why in all future videos. That's good feedback.
@vectorworks2012
@vectorworks2012 6 жыл бұрын
Apologies for going on about this but my whole workflow has changed because of this video and the quality of the work is much much higher. Really thank you very much. Apologies again for another message.
@adamplechaty
@adamplechaty 3 жыл бұрын
Brilliant, thanks! Any chance you might do a tutorial on trim sheets in relation to texel density?
@malcolm341
@malcolm341 3 жыл бұрын
That's a great idea, I'll add it to the least.
@tapanshah08
@tapanshah08 2 жыл бұрын
Thanks
@malcolm341
@malcolm341 2 жыл бұрын
You're welcome.
@hocinetazani6364
@hocinetazani6364 2 жыл бұрын
Thanks You
@malcolm341
@malcolm341 2 жыл бұрын
You're welcome, thanks for leaving a comment.
@MadpolygonDEV
@MadpolygonDEV 4 жыл бұрын
If i wanted to create a 2x1 mesh piece with this TD, wouldnt I get tiling issues?
@malcolm341
@malcolm341 4 жыл бұрын
If it's a tiling texture it won't matter, you'd just need to line up the tile so it ends on the 2x1 boundary, so the ground would be 800cm x 400cm and the tiling would still by 400 and it would work.
@dimitriskoutris6139
@dimitriskoutris6139 4 жыл бұрын
Hey Malcolm can I ask u something? What u refer to the comments as a detail sheet is a detail normal map? For example, u said in a comment about large rocks(to my understanding u bake them then use a detail normal map then u put something like a tileable material underneath? like the ones that u make in substance designer. And one other thing about walls and architecture the biggest part is a tiling material then in the bottom and the heighest part u actually model geometry that overlaps to apply the trims above the other material?It's like modeling a house right? Tiling material for the most of it then for the windows unwrap bake etc and trims for the corners or horizontally between the floors. Sorry for the long question im in a place that all start to make sense and i have these types of questions, ty for your time if u manage to answer me
@malcolm341
@malcolm341 4 жыл бұрын
Hey sure no problem, yes what you say all sounds correct. Rocks - Generally you use a tiling material at texel density, then you have an unwrapped normal map on top of that, then you have a detail map tiled more than the texel density. This can all be achieved with a single UV set by just tiling two of the layers in Unreal. Buildings - usually a combination of multiple tiling textures and trim sheets, extra geometry is added to allow the trim sheets to be reused, the flat areas of the building are filled in by the tiling textures. The details page was not referring to detail map, but you should use that too when available. Details would be unwrapped parts that are at texel density and can give the building a less tiled look, like some specific details like windows, depends on the type of building. You can also float decals to add some unique grime to areas to break up the tiling look further. Here's a good video on trim sheets and how they work. kzfaq.info/get/bejne/f-CZfLxnnJqycas.html
@dimitriskoutris6139
@dimitriskoutris6139 4 жыл бұрын
@@malcolm341 Ty you are the best :)
@SuperDogWannabe
@SuperDogWannabe 5 жыл бұрын
If you have an object that won't fit into that space, does it ever make sense to keep the texel density the same but make the map 4096? I'm working on a stylized tree I was going to hand paint. In this scenario there specific areas in the "bark" that wouldn't really tile well.
@malcolm341
@malcolm341 5 жыл бұрын
Electrified Shock generally no, but it really depends on the project. Generally for trees you'd tile the bark, and then use a second texture for the leaf cards. I have seen some unwrapped barks, but then you'll need to worry about blurry textures up close, or rely on some kind of multi-texturing technique to keep detail high while still unwrapping it.
@SuperDogWannabe
@SuperDogWannabe 5 жыл бұрын
@@malcolm341 ah okay. I have done trees that way - leaves as repetitive cards. For this game I'm working on we're using broccoli as trees, so it's not exactly a traditional tree. It sounds like I have some testing to do. I definitely appreciate both the video and response to my comment- I'll echo what others have said in that my fancy school degree never taught me to worry about texels. Appreciate the info and time 😊
@ShmodoBagins
@ShmodoBagins 5 ай бұрын
This is such an amazing video and has helped me get a better grasp on texel density so thank you so much. I do however have a question. How do you go about texel density with trim sheets? do you UV map the pieces first to figure out the scale of the trimsheet? I have never done a trimsheet before so I am unsure which way to do things.
@malcolm341
@malcolm341 5 ай бұрын
@ShmodoBagins Thanks I'm glad you found this video useful. I highly recommend this other video if you're interested in texel density on Dylan's channel. kzfaq.info/get/bejne/h8mhfcac1cXVY4E.html With a trim sheet the texel density is defined the same way as starting with a quad. So if you have a quad 400cm x 400cm whatever texture size you map to that in 0-1 UV space becomes the current texel density, so in my case I put a 2048x2048 on it so texel density becomes 2048 pixels per 400cm or 1 pixel per 5.12cm if you prefer. With a trim sheet it's the same 400cm quad, but your texture is in strips cut up horizontally and you only tile the UVs horizontally on your final model so the texel density is locked in the same way as a regular tiling texture, but you need to make a bunch of different strips to account for the heights in centimeters of your model that you want to use the trim sheet on. Typically what you want to do is build the model first and then identify which parts can use trim sheets and create the texture strips in your trim sheet to match exactly or very closely to the vertical height of your geometry that you will apply the trim sheet texture to. I think an easy way to get started would be make quad and assign a 2048x2048 texture to it, or whatever base texel density you use, then from there cut it up into horizontal strips with the cut polygon tool of how many trims you want, somewhere between 4 to 16 faces after cutting. Then use those faces to extrude your geometry from and you would have a perfect 1:1 texel density with your trims providing you don't change the height during extrusion. In practice there's more flexibility and people will create 12 trims in one texture lets say, and then stretch those a bit up or down to fit parts of the model instead of having everything be exactly perfect.
@ShmodoBagins
@ShmodoBagins 5 ай бұрын
@@malcolm341 Thank you so much for getting back to me and giving such a detailed explanation, I appreciate it so much. I didn't expect one on a 5yr old vid haha. But this really does help me get my mind around it a bit better. I think also with playing around I should hopefully learn a few things, make a few mistakes. I will definitely have a look at the video you linked as well. I attempted my first trimsheet yesterday and in theory it looks good but we will see how it comes out when I test it lol.
@malcolm341
@malcolm341 5 ай бұрын
@@ShmodoBagins Good luck, I'm sure you'll figure it out after trying it a couple times. When in doubt, just apply a checker texture to your trim sheet and confirm it's the same size as the rest of the checkers in your scene on non-trim sheet assets.
@beatriceleprince3755
@beatriceleprince3755 3 жыл бұрын
Hello, do you know how to set the texel density on a number of shells in a way that does not create overlaps? In UVLayout, there is an option to scale based on selection, or shells. That's what I am after
@malcolm341
@malcolm341 3 жыл бұрын
Texel density can't really be set in UVLayout, all you can do there is uniformly scale everything to pack nicely into the 0-1 UV space. You can turn on preserve 3D ratios if you'd like the shells to automatically adopt their relative scale to each other, but that will then be normalized to the 0-1 UV space. To keep the shells from overlapping just select the object instead of the actual UV shells this will pack them all together without overlap. If you'd like the shells to be a specific texel density and then layout without changing that texel density, first set the texel density of all the shells using the UV toolkit transform tab, there's a button called set there where you can type the value you want. Then do a UV layout and turn 3D ratio off and scale mode off, that will pack the shells into a square without changing their size at all.
@pawpotsRS
@pawpotsRS 5 жыл бұрын
correct me if I'm wrong, texel density for example 10.24 will also be used as 1024 texture map? 5.12 to 512 x 512 map , 2.56 to 256x256 map? as I found some of my props ranging from only 2.50 in a 128 resolution map is that okay?
@malcolm341
@malcolm341 5 жыл бұрын
No this is incorrect, there has never been a rule that a 1024 texture map needs to be mapped to 10.24 texels. This myth seems to have originated from really old school level designers from the early 90's before texel density theory was established in the environment art community. The rule to follow is set your texel density for your whole game before you begin texturing things, then follow that as best you can for all objects. UV mapping is relative so you can technically map a 1024 texture to any number of texels. In my video I just mention the most common texel density I've worked with as a professional 3D artist which is 400 centimeters = 2048 pixels. I've read about other games that map 200 centimeters = 1024 pixels, affectively the same resolution in world space, but double the tiling. I think Battlefield uses 500 centimeters = 2048 which is too low in my opinion.
@pawpotsRS
@pawpotsRS 5 жыл бұрын
@@malcolm341 hi, www.artstation.com/artwork/qbOqP this is the link of that info I just posted. may I ask you have discord? some are clear and some are still a puzzle to me. I used blender for measuring my texel density. at first okay setting up one mesh with 1024 grid then the small one with 256 grid they are all equal in grid is this okay that is why I posted also that my texture set becomes 1024 and 256 to.
@pawpotsRS
@pawpotsRS 5 жыл бұрын
this insight is really superb with information, question. when I setup my texel density for example (Mesh.A has 2048px with 5 texel density then Mesh.B has 256px with 5 texel density) what happen is that it appears my Mesh.B has the same size of 2048px I notice it when I exported it on Marmoset Toolbag with Grid Mesh.B has small grid while the 2048 has fairly large grid why is that? and also question 2 is it okay to change the resolution of my map for example texel density of 5 can insert to a 256 map so even If I have a 1024 map I just make it to 256?
@malcolm341
@malcolm341 5 жыл бұрын
Thanks for your comment. 1. I'm not too sure what you're asking here, could you post an image of your question. It sounds like Mesh A is large in scale and Mesh B is small in scale which would cause different grid sizes. 2. Yes, after the UV mapping is done you can just plug in a smaller texture and that would half the texel density. A common practice in games is to author textures at a larger resolution with defined texel density and then have to scale them down by half later to fit everything into memory.
@pawpotsRS
@pawpotsRS 5 жыл бұрын
@@malcolm341 1. Mesh.A is true large in scale like a Tent and Mesh.B is an Axe. 2. Yes, after the UV mapping is done you can just plug in a smaller texture and that would half the texel density (this is what I've done after searching this texel density I find that my Mesh.B has a 2K Map and when I set it to 5TD under 2048px it turns that it is small almost like 128px but then again I just make it 512) A common practice in games is to author textures at a larger resolution with defined texel density and then have to scale them down by half later to fit everything into memory. (my axe texture was 2K and I just scaled it down to 512 and avoid 256 = is this how it done once you get the Texel density you will "JUST" adjust the texture map resolution or scale it down) ? appreciate it dude learned and realize something is wrong with my procedure but this give me a overview.
@malcolm341
@malcolm341 5 жыл бұрын
@@pawpotsRS, yes typically if you set the texel density first for your whole scene, ground, architecture you will probably use 400cm in Maya = 2048 pixels, then you might create a prop which is much smaller than 400cm in Maya, but because the prop is so small it should be easy to get a texel density of 400cm in Maya = 2048 pixels or even higher, so smaller grid size when you place the axe on the ground. This gives you 3 options, you can unwrap more unique faces of the axe instead of having to stack shells, you can leave the axe with smaller grid so it's actually over rez which is good for props since you often get close to them and zoom in, and you can scale the axe texture down by half when you're done if you find it wasteful, without having to touch the UVs. Typically it's okay to have the props be a little higher rez with smaller grid, it's kind of impossible to make sure everything matches up perfectly, but the ground, walls, and buildings should hit the correct target texel density since they'll use tiling textures and trims so there's no excuse.
@pawpotsRS
@pawpotsRS 5 жыл бұрын
@@malcolm341 hi thank you for your immediate response I get it on some point now, gonna study it more since my only solution after completing the texture without realizing the TD, I just scale down the texture map to half of 1K to 512 for the other since this is where they land after found out that they are really small in 2K Rez.
@circusmonkey28
@circusmonkey28 4 жыл бұрын
Very informative stuff! Still trying to wrap my head around it. How did you get 400 units = 2048? If I need my texture maps to be 1024 x 1024 does that mean the plane should bee 800 units?
@malcolm341
@malcolm341 4 жыл бұрын
The easiest way to think about it is make a plane that's 1x1cm, then apply your desired average texture too it in your case 1024x1024. Now scale the plane up until you think it looks too blurry, than look at how big the plane is and that will give you 1024 pixels across some number of centimeters. I use 400cm = 2048 pixels because it's a good spot for third person action games, but on the last game I worked on we used 384cm = 2048 pixels, so a bit higher rez. This is of course all relative to how close the camera gets on average. If you wanted to use 1024x1024 texture, but still want the same average texel density as 400cm = 2048 pixels you just need to tile the texture twice across the 400cm plane. Or, make a plane that's 200cm and apply the 1024 texture, that would be the same as making a 400cm plane and applying a 2048 texture. That would give the same number of pixels per cm, but you'd see more repeating since the texture is half as big. It's basically a trade off between repeating patterns and blurry pixels and you need to determine what you like for your particular project and then just stick to it so everything is very close. Typically people will use the ground as a starting point and base all other textures off that since grounds often tile, so once you've determined one unit of ground in my case 400cm looks too blurry at 1024 and too many repeats so I went with 400cm = 2048 pixels.
@circusmonkey28
@circusmonkey28 4 жыл бұрын
@@malcolm341 Hello thanks for the reply. I am still confused though. I tried doing your method (1x1 plane, apply 2048 texture, scale object/plane up). Unfortunately the texture did not seem to get blurry at all. The texture just scaled up proportionally along with the object/plane. Not sure if that is normal. Edit: It didn't work the way you described it for some reason but I would still like to understand the process. So basically what you're saying is if I want to set texel density I must: 1. Create plane, apply checker pattern with desired texture resolution. 2. Play around with the scale of the object (is it scale of object or UV?) until the texture on the plane looks good enough for the needs of your project (This is the part that didn't work for me.) 3. When it looks good enough, get texel density through UV texture editor. Is that correct? Thank you for your time! ^_^
@malcolm341
@malcolm341 4 жыл бұрын
@@circusmonkey28 Yes correct. Don't scale the UVs, the plane should have 0-1 UVs and then you should scale the geometry until you are happy with the size relative to character/camera. Which part didn't work, are you saying the texture never looked good and was always too blurry?. 1. Choose your texture size, sounds like you want to use 1024x1024 as your average size. 2. Create a plane 1x1cm big in Maya. 3. Apply the 1024 checker or grid texture to it. 4. Bring in a scale model of a human and scale the height of the person to be 182cm, that's 6 feet tall which is pretty average for North America I think. 5. Now we know how big a person is in your world, if you're using realistic scale anyways, and we have a tiny quad below them. 6. Scale the quad up until you think the texture looks acceptable compared to the person, for third person action games I recommend the quad be 200cm or smaller with a 1024 texture applied. You can see how big you scaled the quad by looking in the channel box on right side of Maya with the quad selected. You can go bigger or smaller with the quad depending on your taste and the needs of your project. When you're happy with how blurry or crisp the texture looks compared to the person write down the size of the quad from the channel box in our example 200cm. So that gives us 200cm = 1024 pixels and now you're stuck with that for the rest of the assets you create for the world. 7. Now as you unwrap other objects you can always compare them to that 200cm quad with grid texture, just apply that same grid texture to any asset and place the asset on top of the quad, if the checkers look different sizes on your other assets you have a texel density mismatch. This is generally fine if the checker are smaller on your props, for grounds/walls/buildings this is not okay. 8. The issue here is you have three variables that can all affect the final outcome of texel density, scale of object, scale of UVs, and distance from camera so it's best to lock down your texel density first before you build anything then you have a baseline to follow.
@circusmonkey28
@circusmonkey28 4 жыл бұрын
@@malcolm341 The part that didn't work was after i applied tbe texture to the quad, I scaled the object up. The checker texture didnt change when I scaled the quad up. As I understand it, if I scale the quad up, I expected the texture to become blurrier/sharper. That didn't happen. The texture scaled up with the quad. It did not become blurrier/sharper.
@malcolm341
@malcolm341 4 жыл бұрын
@@circusmonkey28 it won't actually get blurrier, it will just be lower rez than what's around it. Make two quads leave one quad at let's say 100cm, and scale the other quad to 800cm the 800cm quad will look blurry compared to the 100cm quad.
@dragoneelyuu
@dragoneelyuu 3 жыл бұрын
hello sir. 12:30 to 12:52 : what if i have a box. inside of the box won't attract much attention and i have to use 256x256texture for mobile. Also there are some letters outside of box too. shouldn't i unwrap it uniquely ? like 6.5 texel density for outside and 2.5 for inside. (numbers are just random)
@malcolm341
@malcolm341 3 жыл бұрын
If you have a very small prop where everything fits into the target texel density feel free to unwrap it uniquely. If you can't hit your target texel density with unique unwrap you must stack shells and butterfly parts of shells. For parts of the model that aren't important I try to reuse other parts of the texture, but you could also consider giving it less texel density if you're sure it will never be seen up close.
@dragoneelyuu
@dragoneelyuu 3 жыл бұрын
@@malcolm341 thank you master, i love you
@malcolm341
@malcolm341 3 жыл бұрын
Good luck with your project.
@programmerart5447
@programmerart5447 6 жыл бұрын
Another key feature of using this texel density is how nicely it divides into powers of 2: 2m=1024px 1m=512px 5m=256px
@malcolm341
@malcolm341 6 жыл бұрын
Yes exactly, I was taught this technique while working on Need For Speed back in 2008, NFS is a third person game and a one story building is roughly 4 meters tall in real life so 400 units = average resolution of texture worked well on that game and pretty much all others I've worked on since then. At the time we were on xbox360 so 400 units = 512 pixels and the nice thing is as hardware advanced we kept 400 units = ??? and just upped the average resolution of the texture. We're currently at 400 units = 2048 pixels, but in the future I'm sure we'll get to 400 units = 4096 pixels.
@Emil-ml4ce
@Emil-ml4ce 5 жыл бұрын
@@malcolm341 What should u aim for? And what is the relationship for pixels, I don't understand, like, is 5.12 the same as 512 pixels per unit?
@malcolm341
@malcolm341 5 жыл бұрын
I personally aim for 400cm in Maya = 2048 pixels. That would be 5.12 pixels per centimeter I think. Make a plane in Maya 400cm big which is mapped 0-1, then apply 2048 texture to it, divide 2048 texture (pixels) by 400cm = which gives you 5.12 pixels per centimeter. I don't usually do the math though that's too confusing, I just make my plane the size I want, map it 0-1 and apply a 2048 texture, from there you can click the get texel density button in the default Maya tool which should capture 5.12 pixels per centimeter. Change the size of your plane if you prefer more or less pixels per square meter and click get texel density again.
@Emil-ml4ce
@Emil-ml4ce 5 жыл бұрын
@@malcolm341 Can u get a 2048 or 1024 texture from checker mapping?
@malcolm341
@malcolm341 5 жыл бұрын
Not too sure what you mean by that?
@otoomanadze
@otoomanadze Жыл бұрын
This is great, but does it work if you want to texture assets in substance painter? , because substance painters doesn't like overlapping uvs.
@malcolm341
@malcolm341 Жыл бұрын
I think in Subtance Painter if you want to stack UVs you need to move all the duplicate shells out of the 0-1 UV space by one tile in any direction. So first stack everything in Maya the way you like, then select all the stacked shells except for one and move them one tile over.
@erickh555
@erickh555 2 жыл бұрын
Hi malcolm, I have a question. i have a 4096 map size with a texel density of 8.192 (so 2px per 1cm) i thought that it was everything going fine, hit set and the UV shells got to the size, but i did a test and put the map size at 2048 with a texel density of 4.096 (again exact same ratio 2px per 1cm) the problem is that the UV shells didnt got bigger. Isnt that what they are suppoused to do? if i lower by half the density and the map size the shells should in theory get bigger to make up for the size of the object that is not getting changed, right? why is this happening! helppp!
@malcolm341
@malcolm341 2 жыл бұрын
@erickh555 Great question, because you're changing both the map size and the texel density you're ending up with the same result. In your case you want density of 4k map 8.192 pix and if you want that same density across another object using a 2k map you should either change the map size to 2048, and then click the set button, or leave the map size as is and change the texel density to 16.384 both solutions will create the same final result. What I like to do when texel density confuses me is create a quad to the scale of one texture in world space to the size that I want it. In your case make a quad that's 500cm big and make sure the UVs are exactly 0-1 which should be there by default. Apply a checker texture to it and set map size to 4096, then click the get texel density button and look at what happens to the texel density field, it should read 8.192, now change the map size to 2k and click the get texel density button again, it will now read 4.096 indicating you will have half the pixels across the surface area if you use half the texture resolution. If you actually apply a 2k checker now it will look blurrier. To compensate and use the lower res texture, but have the same number of pixels across the surface area you would increase the texel density from 4.096 to 8.192 and set, effectively doubling the tiling giving you the same number of pixels across the surface area, but with more repeated pixels. Hopefully the make sense. When it doubt, just map one face the way you want and copy paste the texel density from it and never change the map size. I rarely change map size, and instead just copy paste from a face or manually input the texel density size.
@erickh555
@erickh555 2 жыл бұрын
@@malcolm341 thank you so much for the explanation, i knew i wasnt doing things the wrong way bc the checker was always the right scale but i wasnt able to understand the logic behind it, thanks a lot again! You have a Great channel with incredible information i subscribed as soon as i watched the video :)
@erickh555
@erickh555 2 жыл бұрын
@@malcolm341 i dont know if what i did was right, i have to do a gun with a texel density of 2px per 1cm, so i used a 1k x 1k texture and applied it to the 500cm X 500cm quad, thats the one i use to get the texel density from, but in texture size i used 4096 bc thats the resolution im working on substance, that gave me the 8.192 texel density but i dont know if that equals to the 2px per cm that my teammate asked me to do
@malcolm341
@malcolm341 2 жыл бұрын
@@erickh555 For UV layout and padding I would recommend UV mapping the mesh to the final texel density it will be delivered at and then just up-scaling in Substance using the project settings to make it 4k. So if the final texel density will be 1k map with 2px per 1cm I would recommend setting map size to 1024 and texel density to 2, but you should ask your lead how they like to do it for the project. What can be helpful to check your work in Maya is to make a texture that will be the final size in game, for you 1k, then make a checker where each square is 1 pixel. In Maya, make a 1cm quad, and apply the checker texture to it, turn off filtering in the file node so it doesn't blur and you can clearly see the pixels, then you can see at map size 1024 pix/unit should be to 2 and set that on the 1cm quad and you should see exactly 2 checker squares across the quad confirming that a 1k map will have 2pixels per 1cm.
@AnthonyFassolas
@AnthonyFassolas 5 жыл бұрын
Great tutorial but I wish it was done with a real game asset like a gun or a more meaningful object cause it is pretty easy to keep this density on the tutorial's model of cubes
@malcolm341
@malcolm341 5 жыл бұрын
Thanks for your feedback, a couple other people have also asked for UV mapping tutorial on a real object. I'm strapped for time these days, but it's definitely on the list of things to do.
@sassuskrassus3166
@sassuskrassus3166 Жыл бұрын
13:58 how is the shortcut for rotating a UV by 90°?
@malcolm341
@malcolm341 Жыл бұрын
I made my own hotkey, mine was Ctrl + Right Arrow, here's the code if you want to make your own polyRotateUVs 90 1;
@juanseverino5651
@juanseverino5651 4 жыл бұрын
I have been modeling with 3ds max 2020 and I got the concept down what I don't get is the unwrapping, but what you just said it is coming out understandable. I want to install Maya 2020 from the Autodesk site but it won't start after install.
@malcolm341
@malcolm341 4 жыл бұрын
That's too bad Maya won't start, sorry I can't help with that. Max will use all the same concepts though as far as UV mapping, but the tools will have slightly different names. I'm also happy to answer any specific questions you have here. Besides that just doing a search for beginner tutorials is probably the easiest way to learn.
@dimitriskoutris6139
@dimitriskoutris6139 4 жыл бұрын
For Uvunwrpaing in Max check Matthew Marquit videos(The last is all what u will need) then download textools and in the bottom of the interface they have a similar function to malcom's maya 'get' Also check chamferzone for textools break down and domestika course about making props).Do note though that in most cases noone is using malcom's approach because either they don't know or its just small props
@RobertShane
@RobertShane 6 жыл бұрын
Since texel density ties together UV size and object size, what would you do if the model is very big and wouldn't fit at all on one uv map?
@malcolm341
@malcolm341 6 жыл бұрын
For larger objects there are couple standard techniques to use. Mostly the trick is to use multiple textures, like 3 or 4 2k textures depending on what you're texturing. We use a combination of tiling textures, unwrapped details sheet, and what we call a trim sheet which has detail that tile horizontally, but not vertically. With these technique you can texture most large objects because you can fill in the big flat areas with the tiling texture, then model strips on the edges of architecture and use the trim sheets, then fill in any smaller details with unique details sheet. For large rocks you can use a second normal map unwrapped into 0-1 UV space, then apply a tiling texture underneath that, for more complex and very large objects there is also multi-texturing where you apply 3 or more tiling textures and then use vert painting in Unreal or Unity blend the texture in based on the vert colour you paint.
@RobertShane
@RobertShane 6 жыл бұрын
malcolm341 Thanks for the info!
@kloworks
@kloworks 6 жыл бұрын
it will be nice to see this info as video tutorial :D
@malcolm341
@malcolm341 6 жыл бұрын
Good idea, I'll put it on the list.
@octaviordz9160
@octaviordz9160 4 жыл бұрын
FOR organic shapes like shapes did u need to create a planar projection?
@malcolm341
@malcolm341 4 жыл бұрын
Usually you can use unfolding for more organic shapes. I generally start with a camera based planar project and then modify the UVs from there, or I gridify the UVs. It really depends on what you're mapping. I try to gridify pretty much everything.
@dannyhsn119
@dannyhsn119 Жыл бұрын
what if i need to bake highpoly on to lowpoly mesh? stacking UVS will screw things up. I guess
@malcolm341
@malcolm341 Жыл бұрын
Not really. Stacking UVs works fine, but in some bakers the additional stacked shells need to be offset out of the 0-1 UV space by one tile so the baker doesn't get confused. The tricky part with baking high to low is unwrapping some parts uniquely and baking and choosing which parts to stack and bake. For small props you can get away with just unwrapping the whole thing and baking high to low, for larger props, sections need to be repeated/stacked so it takes a lot of work and planning. Often when the prop gets too big we'd use one texture for unique baked details and another texture for trim or repeating patterns. It really depends on your exact model plus your desired texel density it's by for the most annoying part of making game assets.
@V-95K
@V-95K 3 жыл бұрын
When texturing in Substance painter its always says “Uvs overlapping” and even if I ignore it, when I start painting its paints the same stuff on multiple shapes. So I guess it’s impossible to overlap UVs all the time
@malcolm341
@malcolm341 3 жыл бұрын
Great question, it's impossible to 3D paint overlapping UVs as you mentioned, it will always share the UV space so the same paint will show up there, but unwrapping your mesh 100% for Substance Painter isn't really a thing in games except on small props that you can hit the texel density on. For larger props you have to rely on stacking shells, mirroring, trim sheets, and tiling textures. It's still a painful tedious process texturing things for games and even on Xbox Series X we'll still be doing it this same way that hasn't changed much in 10 years. If you're having errors painting on stacked shells I believe you can move all but one of the stacked shells out of the 0-1 UV space by exactly one tile and that should allow you to paint correctly, but the UV space will still be shared. Kind of like baking normal maps where in some bakers you can't overlap UV shells.
@V-95K
@V-95K 3 жыл бұрын
@@malcolm341 Thanks for your answer :) I’m going to try that out.
@Raphmyster
@Raphmyster 5 жыл бұрын
Very in-depth and concise explanation! Can I ask though why all other tutorials or uv mapping videos I watch everyone simply states that texel density should just be uniform across the model and that islands should not stack or crossover in the 0-1 space. When this is done though the texel density is uniform but arbitrary and not defined to a specific size. Is this common practice but an incorrect one for someone making game assets?
@malcolm341
@malcolm341 5 жыл бұрын
Thanks for your nice comment! The short answer is all those other tutorials you've watched sound like they're giving incorrect or bad advice, or over simplifying the concept. Could be the person explaining it hasn't worked long enough as a professional 3D artist in the games industry to understand the topic. In the film industry you'll have more flexibility because texture memory is not as tightly managed because the film is rendered to still frames. In games everything needs to fit into memory at all times constrained by the console or pc limitations. In film they often use something called UDIM tiles so unwrapping your model with even texel density and then throwing 400+ 2k textures at the model is totally valid. In games we don't have that luxury. If someone from games has told you to leave lots of empty UV space in your UV layout just to make sure the texel density across the model is perfectly even this is bad advice. You should always try to overlap repeated elements, tile parts of the texture, and scale up small details if you've got some wasted space left over. As well, if your model unwraps poorly into a square texture with lots of wasted space you can also try a rectangular texture and it may fit better. There are two main problems in games with UV layouts: 1. Texel density is not even across a single prop and looks bad. 2. Texel density is not even across the world, props are too low rez up close, grounds look high rez when compared to props, some props are lower rez than the prop right beside it. All of these problems are solved by first determining your average texel density for your whole game, then making sure your art team sticks to that metric for all assets that are created. In Triple A games the consumer expects a certain level of quality, they don't want to see blurry textures or texel density mismatch between grounds and props. So if the ground tiling texture looks good in game, but the artist fully unwrapped their prop into 0-1 UV space and the props sits on the ground it may look lower rez. In 2006 I was taught about texel density for open world games at EA and since then every game I've worked on we always compare the prop to the ground during UV layout, if the checker texture looks blurrier on the prop you must find cleaver ways to optimize the UV layout until the checkers get smaller, stacking UV shells, tiling parts of the UVs, using more than one texture occasionally. For games this is standard practice across the industry, for film you'll have more flexibility how the assets are unwrapped.
@Raphmyster
@Raphmyster 5 жыл бұрын
@@malcolm341 Wow! I can't thank you enough for this detailed response this is extremely helpful. I really appreciate the time you spent to answer this. This was just the answer I needed and clarifies a lot!
@malcolm341
@malcolm341 5 жыл бұрын
@@Raphmyster Not a problem, thanks for letting me know you found the info useful.
@rafalradziwill9017
@rafalradziwill9017 5 жыл бұрын
@@malcolm341 Really useful insights subscribed!
@malcolm341
@malcolm341 5 жыл бұрын
Right on, thanks for letting me know.
@TheKenttt
@TheKenttt 5 жыл бұрын
So in a program like Unreal, overlapping UVs always give me an error when I'm trying to bake the lights. How would I be able to do this and avoid those errors? Because the solution you've given can work for me, but I don't think Unreal will approve.
@malcolm341
@malcolm341 5 жыл бұрын
Hi ShyPoke, when you import a mesh into Unreal it will try to automatically generate lightmap UVs for you, you can see those UVs in the static mesh viewer in the UV drop down it will be the second UV set. It will take your diffuse UVs you created in Maya and try to lay them out without any overlaps in the second UV channel in Unreal. So in Maya you don't need to worry about overlapping UVs Unreal will lay them out, but the problem you're encountering is when a UV shell is stitched to another UV shell incorrectly and can't be laid out by Unreal. For example you have a cube in Maya and you use a camera planar projection on it, it will be stitched to itself and won't be able to layout the UV shells in any program including Maya. To avoid lighting errors Unreal gives you a warning saying you have overlapping UV shells, the warning is misleading it should say you have UV shells that can't be laid out. In Maya if you have a cube and map each face with a planar map from that corresponding face axis and then stack all the shells on top of each other this will bake fine in Unreal and won't give you an error because Unreal will be able to layout the UVs even though they overlap in Maya.
@xmidima5786
@xmidima5786 4 жыл бұрын
Hi! So.. I see how you could pack that box into the UV space with a 2048px res by overlapping the polygons so they could share the same texture. BUT, how about a gun with 10+ different pieces, how could you pack all of the UVs in such a small space if you want them to be at 2048 res? Is it even possible or do you have to sacrifice resolution for such big pieces?
@malcolm341
@malcolm341 4 жыл бұрын
Good question, guns are much smaller than the world so that helps a lot, some games use a 4k texture for the gun, or two 2k textures, from there you just mirror as much as you can and repeat details. A great way to learn efficient unwraps extract the models from a game and look at them, I did this one for Call of Duty so see their vert count and texture layout. Another great way to get this info is to purchase a gun model from a experienced 3D artist that understands game limitations and see how they did it. These will give you good insight I think. www.artstation.com/marketplace/p/oA2N/modern-shotgun-weapons-fps-vol-1-ue4-raw
@xmidima5786
@xmidima5786 4 жыл бұрын
​@@malcolm341 Thank you for the quick reply :) What I don't get is, say a handgun has around 30cm length, I set my ppcm to 20.48 or 2048/100 on the texttools *using max*, and somehow the definition is absolutly garbage lol the only way I get good results is if I scale the UV shells a lot, almost to the point of filling the whole UV space...now, where am I going to place the other 10 pieces left? I gotta be missing something else, 'cuz even if I overlap faces that could share the same texture, I see no possible way of fitting a whole gun into the same UV space with good textures. I'm pretty new at this as you might have noticed by now ahah
@malcolm341
@malcolm341 4 жыл бұрын
@@xmidima5786 2048/100cm is a very nice high texel density for any game, but texel density is relative to how close you push the camera in to look at the gun. So if you look close enough it will always look blurry. It's best to understand how big the character will be and one ground tile relative to the gun because perhaps you're just looking at the gun too close. You could do a quick planar map from the side view and apply a 2k checker texture to it and see how big the checkers are I usually use this texture drive.google.com/file/d/1KBgc2LmG_4W-PP42M1ZA7szvGH1THeRY/view?usp=sharing Also Max uses meters as it's default unit so perhaps texttools is using 2048/100 meters which would be very low texel density. You should easily be able to fit a gun side view projection into 0-1 UV space with a 2k or 4k texture and have the details hold up pretty good, but if you really want to know just purchase one of those gun models and take a look how the pros do it. Also Max may be downsampling your texture, haven't used Max since 2007, but it probably does something silly like shows you a 128x128 pixel version of the texture in the viewport. I'm not much of a gun guy or I'd just tell you the exact measurments. I know on Gears 5 we did the guns at 4k for the lancer and then scaled down to 2k in game and also used mirroring and stacking. I threw this together quickly, there is plenty of room to keep the texel density high with a single 2k map and gun unwrapping if you mirror one side. See how small the checkers are on the gun compared to the floor, I can push the camera right in close and still have lots of resolution. drive.google.com/file/d/1UnIPVQ00emvbN__H7TAbPFFeUz0IayEH/view?usp=sharing
@xmidima5786
@xmidima5786 4 жыл бұрын
@@malcolm341 Thank you so much for the info and the texture! I was planning on learning Maya aswell and now I'm so glad I found your channel! Cheers
@MadpolygonDEV
@MadpolygonDEV 5 жыл бұрын
What if you want to bake some props in your environment? Then some uvs have to be unique and 0-1? How would you match the density then?
@malcolm341
@malcolm341 5 жыл бұрын
It's usually okay to have over rez for smaller props have mip mapping so everything will match up when viewed from a distance. If you're talking about big props that need 0-1 and therefore will be below target texel density this is were you need to employ other tricks. Multiple textures, tiling textures, trim textures, and stacking UV shells are the usual way to get around that problem.
@MadpolygonDEV
@MadpolygonDEV 5 жыл бұрын
@@malcolm341 yes, im trying to wrap my head around environment creation. So for like building structures its adviced to have trim sheets / tiling textures? Can I scale those uv island strip as free form as I like OR do i need to also calculate the size via texel density? Lets say I was gonna bake prop (the street barricade) from zbrush, therefor it would need to be in a 0-1 space. So its okay for me to fill most uv space to get a decent bake? Wouldnt that sometimes lead to it looking more high res than other stuff? Lets say I have a castle and i use trim sheets and tiling textures but in the end I fill the scene with individual baked props. Would it be okay for me to use most uv space on them even tho they would look more high res then?
@malcolm341
@malcolm341 5 жыл бұрын
Yes for buildings there's no way to do it unless you use tiling textures and trims, you can also have some unique stuff in there as well for windows, signs, doors. You ideally you want your building to be the same texel density which takes a lot of planning to get the trims to be the same texel density as the tiling parts. For props depending on how small they are you can unwrap them 0-1, if they get too big you'll need to stack shells or multi texture. Generally small props are always a bit higher rez which is okay, but ideally you're not using a 2k texture on a coke can. What you should watch out for on props is that the texel density within the 0-1 space is even, except tiny details I usually scale those up. I generally try to unwrap my stuff with as few seams as possible which can lead to wasted space so I scale up small details to make use of that space.
@MadpolygonDEV
@MadpolygonDEV 5 жыл бұрын
malcolm341 thank you so mucj man, I will soon do some experiments so this information helps alot!
@fressno1807
@fressno1807 3 жыл бұрын
@malcolm341 why am i thinking wrong here. I want to make a 5x5x0,5m concrete wall with a 512 quality texture map. i painted a 512 output size in Substance painter. but when i place it on the 500x500x50cm object in maya and press set at map size 512, why does the UV stretch so big and making it so tiled? shouldnt it fit just inside the UV 0-1 square? what am i missing?
@malcolm341
@malcolm341 3 жыл бұрын
What method are you using to apply the UV map, if you're using the get and set texel density in the UV toolkit you have to set map size to 512 and pixels per unit to 1.0240, the pixels per unit will be relative to map size. An easier way to do this would be make a plane at 500x500cm, set map size to 512 and then select the plane and get the pixel per unit with the get button which should give you 1.0240, from there you can just use that number on other objects in the scene. I find it easier to understand if you start with a plane mapped 0-1, scale it the size you want, then set map size to what you want, then capture pixel density that way you don't have to do the math and Maya does it for you. If you're working with planar mapping, it's even easier, just planar map on Y and then in the channel box select polyPlanarProj and change projection width/height to 500, that's how we used to do it before Maya had get set texel density tools.
@fressno1807
@fressno1807 3 жыл бұрын
@@malcolm3412 follow up questions. Does the actual resolution of the texture change or mess anything with the texel density and the UVs? And do i guess there is another workflow when youre doing tilemaps. And what you are doing is for unique props that needs the UV fixed and then shipped to the texturing program. Not the way around with tilemaps. But i guess texel desnity is important for tilemaps aswell.
@malcolm341
@malcolm341 3 жыл бұрын
@@fressno1807 The actual texture you apply is relative to the exiting UV mapping, texel density is defined by the size of the object, how much you tile the UVs, and the size of the texture. For example lets say you have plane that is 400cm big, you apply a 2k map to it tiled 0-1. That's 400cm = 2048 pixels, if you apply a 1k map to that same plane that's 400cm = 1024 pixels, if you then tile that plane twice in the UVs thats now 400cm = 2048 pixels with a 1k map applied, but now you have more visual repeats which is undesirable. Texel density just means how many pixels across how much physical world space. For tile maps they're actually more important to keep them at the correct texel density, but also much easier because they tile so you can just up the UV tiling until they match perfectly with what your defined texel density for your world is. On professional projects like Gears of War 5 we'd define tile map texel density first using in game camera and character, walk around, look at things, zoom in with the gun. After much testing we determined for that game that the world texel density should be 384cm = 2048 pixels. We also used detail maps so when you zoomed into things they wouldn't look blurry. There are other techniques we used for large objects and rocks to keep them from looking low rez since you basically can't unwrap anything larger than a medium sized prop.
@fressno1807
@fressno1807 3 жыл бұрын
@@malcolm341 im still a young padawan i guess when it comes to this. But im learning alot.
@fressno1807
@fressno1807 3 жыл бұрын
But lets laborate that if i have a 72 resolution 512x512 pixel image vs a 300 resolution 512x512 pixel image. Does that change the resolution of the image projected on the model? And will that change the size of the texture in some way? Or increase the texture memory allocation? Or does maya or the texturing program scale the resolution down or up to a standard when you use it?
@cgnovice2969
@cgnovice2969 8 ай бұрын
Question on stacking, that only solves the issue of you are not planning on doing any baking right?
@malcolm341
@malcolm341 8 ай бұрын
@cgnovice2969 larger props and architecture have to use a combination of tiling and baked parts that you reuse and stack or tile parts of the texture. On very large assets multiple textures are used that combine stacking, tiling, and unwrapped/baked parts. You would still try to bake as much as you can knowing where you can stack or mirror those parts of the normal map. Only small props get unwrapped 0-1 and fully baked these days, and some teams are even using trim sheets to texture doors and windows now like the Last of Us Part 2 etc.
@cgnovice2969
@cgnovice2969 8 ай бұрын
Yeah thats the part i dont understand. I never knew stacking was an option as any overlapping UV will get me massive artefacts in painter. Or do you mean stacking after I’ve baked mirrored UVs?
@malcolm341
@malcolm341 8 ай бұрын
@@cgnovice2969 to use stacking with painter I believe you have to offset all the stacked UV shells over by one tile except leave one shell in place for Painter to paint and bake on. The resulting UV mapping will look identical, but you won't have overlap in Painter.
@harikiran687
@harikiran687 4 жыл бұрын
if we do like this , i mean cutting uvs and placing them on each other, then how can we avoid seams, because by doing like this we will have many more seams
@malcolm341
@malcolm341 4 жыл бұрын
Great question, basically it's just a lot of hard work and practice to hit your texel density and it's a new challenge for each asset. Seams are usually hidden in cracks or you end the UV on a natural normal map seam, or add a welding seam where the UVs end, or extrude geometry to hide it or something. This is easy for small props, the challenge comes from larger things where hitting texel density is impossible no matter how much you share the texture space. This is where multiple textures come in, also the use of trim sheets and tiling textures. Good explanation here of trim sheets. kzfaq.info/get/bejne/f-CZfLxnnJqycas.html Another great explanation here of texturing different size objects starts at 6:57 kzfaq.info/get/bejne/itGEhMues6y2no0.html
@harikiran687
@harikiran687 4 жыл бұрын
@@malcolm341 tq for the suggesions and answering my query
@RodrigoIsaas
@RodrigoIsaas 3 жыл бұрын
Could you make a video where you apply all this to a modular wall asset with hybrid texturing (tile and unique) I'm very confused about this because I have to match the texture borders and the modular pieces have different sizes, and I also have to maintain the texel density. Please make a video about it ♥
@malcolm341
@malcolm341 3 жыл бұрын
It's on the list, but it won't come soon unfortunately. Have a look at this it might help you www.artstation.com/artwork/36EVg With the modular pieces you usually hide the texture borders with trim, or you can just build your modular pieces in halves or quarters so the textures always line up with the main pieces.
@RodrigoIsaas
@RodrigoIsaas 3 жыл бұрын
@@malcolm341 okiii, thank you!
What is Texture Padding and How to Master it
19:36
malcolm341
Рет қаралды 46 М.
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 13 МЛН
Easiest Way to Gridify UVs in Maya
11:39
malcolm341
Рет қаралды 140 М.
How To Find The Right TEXEL DENSITY For Your Asset | VFX
7:51
Paul H. Paulino
Рет қаралды 22 М.
4. Layout и Projection RizomUV - Texel Density
19:07
Arteleum
Рет қаралды 4,8 М.
Discussion: Talking Texel Density
11:58
The DiNusty Empire
Рет қаралды 10 М.
01 Understanding Texel Density
18:36
SeekerLight
Рет қаралды 1 М.
How to Use the Wedge Tool in Maya - Part 1
12:04
malcolm341
Рет қаралды 72 М.
Плотность текселей
16:42
Blender 3D - уроки
Рет қаралды 28 М.
Texel Density : What It Means & How To Use It
14:00
Warren Marshall
Рет қаралды 16 М.
Texel Density Theory
10:33
Nicky Cry
Рет қаралды 8 М.
4  Texel Density
39:11
Game Station Academy
Рет қаралды 4 М.
Котик спрятался 👀 #юмор #рекомендации #прикол
0:24
ตาบอดมักหลอย
0:25
หำน้อยซอยจุ๊ Channel
Рет қаралды 15 МЛН