hard surface modeling что это

Hard Surface Modeling Tips and Tricks

Trevor Crandall discussed his approach to modeling and working with details, shared his workflow in MODO and gave valuable advice to other artists.

In case you missed it

you might find it interesting

Hard-Surface Workflow in Maya & Substance Painter

Hard-Surface Art for Games in MODO

Hard-Surface Modeling and Texturing Complex Mechanisms

Introduction

Hi, my name is Trevor and I’m a 3D game artist currently residing in Los Angeles. I’ve been working in games for a while – my first project shipped in 2004 where I helped out as a character artist intern (Harry Potter and The Prisoner of Azkaban on PC). And I’ve been at it ever since. Hard surface modeling is my primary skill set, and character and creature work is my secondary skill set, which I mostly do for fun in my free time. I suppose if I was smart, I would pick one and focus on it, as our trade is getting quite specialized. But alas, I’m an artist, so I tend to follow my heart and not my brain sometimes.

As for how I wound up doing this for a living – it was basically just a random chance. College and higher education wasn’t an option for me after high school, so I spent quite a few years just doing blue-collar work – swinging a hammer or a chainsaw or driving trucks and forklifts, etc. This was also pre widespread internet access, so the scope of my world view was a bit limited, and I wasn’t too aware of all the possibilities out there. I always had dreams of going to art school someday, as art was always my primary interest and passion, but I wasn’t exactly sure how I would make it happen or even what sort of art I would study. I figured I would either do tattoos or graphic design. I had no clue about computer graphics at the time. I actually thought the cool computer graphics I saw in movies were made by programmers and genius mathematicians, not actual artists.

But, as destiny would have it, I got laid off from a warehouse job I was working and found out I could go to school while I was on unemployment, basically getting some financial assistance from the state for education. So I started looking around at the local community colleges for art classes, and I stumbled on computer animation. I didn’t really know anything about it, and I had never really even used a computer before, but I saw the curriculum involved drawing classes, so I signed up. This was around 1999, I think. And after a few years of lots of effort and Gnomon videos, I managed to create a whole new life for myself, which I still feel blessed about to this day.

The Most Important Bits of the Process

This is a good question. I think it’s important to create and maintain a decent level of focus and clarity with your craft. It can be easy to constantly get sidetracked or distracted with new tools, techniques, or software, etc., which oftentimes can wind up becoming outdated or getting replaced in time. Whereas spending time working on fundamentals, like design, composition, drawing, sculpture, painting, anatomy, or more technical things, like understanding topology, how surface normals work, or how graphics engines and shaders work, etc. will serve you long term, no matter what the latest techniques and software are. Fundamentals tend not to get replaced or outdated. So I tend to be selective about how or where I focus my attention, trying to get the best long term return on my investment of time, and not getting too distracted by the latest shiny cool tool. And if a tool does look promising, I’ll wait a few months for everyone to figure out all the bugs and quirks and post their solutions on a forum somewhere, so when I do jump in all the problems will have been mostly solved and posted online, and I can hit the ground running.

Working in MODO

I switched to MODO like 9 years ago basically because it was designed somewhat specifically for hard-surface/product modeling, and I was all about hard-surface modeling. I found it to be very nimble, easily customizable and it had a really good set of modeling and UV tools, etc. The result was a much more fluid modeling experience. And it was cost-effective, so I could have my own personal copy and show up on a job and start producing content on day 1, as opposed to relying on whatever software an employer would provide – switching back and forth between Max or Maya, getting caught up on using one or the other, figuring out which scripts work and don’t work with whatever version of software I was provided, etc., which tends to be a bit of a time sink. That being said, I always output my models to the studio’s application of choice, so other team members have proper access to whatever they might need with the asset.

The Modeling Approach

A general guideline I tend to follow is to be as “non-committal” with the model for as long as possible, allowing for more room for exploration, feedback, and adjustments. It’s not uncommon to get design requests from designers or directors that aren’t fully resolved yet, so it’s sometimes up to the artist to help them find and clarify what they need or want, or how it will work, and integrate everything into a cohesive, functional, cool-looking asset.

MODO has some really cool features for hard-surface modeling, although I’m pretty sure these features are all more or less available in all packages now. One thing that makes life a whole lot easier for high-res/subd modeling is using Edge Weighting instead of Support Loops for creating the high-res geometry. Instead of running Edge Loops around geometry, I simply select the edges I want to add the bevel to and just push a button that determines the amount of bevel or roundness (10%, 20%, etc.). That’s it. Sort of like Crease Edge in Maya, except it creates an actual bevel that I can control. So in some cases, to high res a piece of geometry, it is literally 2 button clicks. Just click “Select edge by xxx angle”, and then assign the edge weight. It’s not always that simple, sometimes I need to select a few more edges by hand, or add a few general support loops across larger spans, but that’s it. So it’s way faster than traditional Subd modeling. Also, it is completely editable and non-destructive, so if I do have to make changes to the high-res mesh, I don’t have to redo edge loops, etc, which is another nice win. The drawback of this technique is that I sometimes subdivide the model up to 4 times, instead of the usual 2, so I can get the most control over edge bevels. So I do wind up with geometry that’s a bit heavier. But with a decent computer and good scene organization, it’s not a problem.

Читайте также:  что такое гнездо ласточки

This edge weight feature also works well with MODO’s “MeshFusion’”, which is a procedural subdivision boolean modeling tool, using geometry to combine or cut out shapes and forms, etc. This isn’t something I use on vehicles – it’s more so for more complex modeling, as a weapon scope, for example. MeshFusion is also non-destructive and perpetually editable, so between the Edge Weights and Meshfusion, you can create very complex high res models and forms very quickly and completely non destructively, with total freedom to change or update anything anytime very easily. It’s a very robust and user-friendly technical modeling process. There is also a “light duty” variant of this process that is equally robust called MOP Booleans, which can be combined with a rounded edges shader and baked out, for ridiculously fast “high res” model creation.

Working on the Details

I tend to approach a model in 3 phases or passes – Primary forms and structures, secondary forms and structures, and then details. As for details – the higher fidelity, tertiary bits, and pieces, they play an important role in bringing a model to life. The details and greebley bits do a lot to add functionality, story, visual interest, and scale to a model. I think of details like seasoning on a meal – they can do a lot to enhance the flavor of a well-done model.

For details, I have a kitbash kit I’ve amassed over the years – nuts, bolts, rivets, latches, hinges, greebles, etc. Details are the final stage, the icing on the cake. Once the high-res model is basically done, I’ll do the “nuts and bolts” pass. Although, my workflow has been evolving a bit lately. For both, high-res poly modeling and in Zbrush. I am starting to do less of a detail pass on the high-res models because it is so much easier and more flexible to do so in Painter. Again, going back to my idea of being as “non-committal” for as long as possible, leaving the details for Painter gives me more flexibility to explore and iterate. Also, not needing the higher fidelity detail on my models cuts down on the polycount/memory footprint a bit, which is always nice.

Working with Materials

One of the coolest evolutions of game content creation in the last few years has been PBR materials. It adds a whole new level of fidelity to a model. And now that we can have a variety of real-world materials to work with, my modeling has evolved a bit to accommodate this new tech. Specifically, I think about materials a lot earlier while I am modeling. I constantly think about what the surfaces will be or maybe and look for ideas or excuses to add a good amount of material variety or material break-up. I look at the different potential material/surface types as musical notes, to be used to create a compelling visual symphony for the viewer. These more dynamic materials are a great compositional tool to lead the viewer’s eye around a model, to accentuate focal areas, and to tell a story. Really, the texture is essentially an act of storytelling, a narrative about the object, and realistic materials can add a lot more dimension to a model’s story.

For me, the normal map and the roughness map are the most important textures. Light moving across forms, and reflecting back off the forms is what makes a model seem dynamic, realistic, and compelling. A 3D model is essentially a sculpture – and the essence of great sculpture is shape, form, and light interplay – which is designing cohesive, appealing and aesthetically sound forms, shapes and shadows, and their respective relationships. Again, always keeping in mind the fundamentals. One thing I often do to facilitate nice forms is I will hand triangulate certain parts of a low-res/in-game model on it’s more rounded forms to make sure faces are properly convex and/or/not concave so the surface is flowing nicely. This might not always be necessary, and I might not always do it, but it is a consideration, as this will help make the normal map bake and light interplay that much better.

Also, with hard surface models, the margin for error in regards to a perfect normal map bake is much smaller than organic models. Between a large glossy surface or the potential of a player taking cover behind a vehicle that winds up taking up 1/3 of the screen, flaws in a normal map bake can be very noticeable. The diffuse map is almost secondary – it’s all about the light interplay on the model, not what color it is. And with hard-surface models, there is a lot of opportunities to really push surfacing – from glossy to matte, dielectric or conductive, clean to worn, scuffed and scratched, corroded, etc.

Testing

For vehicle work, it’s generally pretty wise to get to testing early and seeing how things are taking shape, even if it’s just a static prop. Initially, just to check the size and proportions and to see how it might relate to other items in the game/environment or the in-game camera FOV. Then, there are also gameplay considerations – for example, sometimes there may be certain height or size requirements or preferences for things like taking cover behind the vehicle, sightlines around, through or under the vehicle/asset, or animation needs, like player entry, exits, and interactions. So establishing how players will interact with the vehicle/asset in a variety of scenarios is something to keep in mind and resolve early. I always assume that there will be some sort of problem or consideration that pops up that we didn’t think about, which will cause a bit of rework. So, I’m always trying to identify those issues before they sneak up on me.

Another thing to consider is the actual functionality of the vehicle, assuming it is not static. What sort of moving parts will it have? It’s definitely a good idea to build out and resolve things like suspension, turrets, cockpits, landing gear, etc. Early on, and get a rig on them to make sure they are working as expected and looking good. This is again an opportunity to add or enhance the design. Often times, talking with the technical artists or riggers/animators, they can have additional suggestions or ideas about what is possible that I might be unaware of, or some idea they might want to try. Again – thinking ahead, and collaboration are keys to a good vehicle work.

Читайте также:  что такое гостевой бизнес

This is also a good time to explore some other potential cool non-critical/aesthetic rigging/animation ideas – like spinning drive lines, mud flaps, fan blades, whipping antennae, FX, or other “non-necessary” functionality to add some secondary animations and additional realistic interest and life to the vehicle. These can often be pretty cheap – just a single bone with an animated spin, a basic physics object, or a simple FX emitter shooting sparks or dripping fluids – but can add a lot of life and immersion to the vehicle experience. Which is also another thing to remember. A fully functional vehicle is an experience. So always be thinking about how immersive the interaction will be or can be.

Advice on Building Games

I would break this down into 3 core domains – Aesthetics, Functionality, and Execution. How does it look, how does it work, and how is it implemented?

Aesthetics – This is the artistic, purely visual aspect of asset creation, where solid art fundamentals come into play. Understanding and implementing things like composition, proportion, silhouette, hierarchies of shape/color/value, visual weight, visual flow, structure, anatomy, gesture, stance and attitude, negative space, etc. These concepts are all tools to create visually appealing and immersive graphical content. These tools will draw a viewer in and keep them engaged, and if done well, will capture their attention, imagination, and curiosity.

This is where we come back to the idea of making sure to keep in mind and work on the fundamentals of art and design that are timeless and universal, no matter how the tools or techniques might change or evolve.

Functionality – It’s easy to get caught up in a cool design and not fully consider how an asset will be integrated or function. Keeping in mind what we discussed earlier – always consider all the potential upstream/downstream variables and requirements for the asset beyond just making a cool looking model. If you create a good looking model without those considerations, and you have to go back and fix or redo your model, your model will most likely look worse. In my experience, very rarely does going back and redoing or reworking a model to fix something improve it aesthetically. It usually makes it a little bit worse. Also, the rework tends to be a time sink – so if you are not thinking and planning ahead, you can wind up spending more time than necessary doing artwork that isn’t as good as it could have been. Make it a professional goal to avoid this scenario as much as possible. You may not be able to completely avoid such scenarios, but I have found that with some forethought and effective communication, you can substantially minimize it.

Execution – Execution is essential “Craftsmanship”. A thoughtfully built game asset that takes into consideration efficiency, optimization, and organization to achieve the best looking and performing results, as economically as possible. This includes:

Resourceful and economical usage and/or creation of materials and textures – Materials and textures take up a lot of resources. Generally, it can be good practice to try to use the least amount of materials and textures you can to get the best result. You can get a lot of mileage out of minimal textures and materials if you are creative and resourceful enough. Also, different game engines handle this data differently, so ask your tech art or programmers what the biggest graphical bottlenecks are – is it texture sizes, or texture amounts, or amounts of materials or types of materials? Find out what your engine likes and dislikes the most, and then tailor your process accordingly to maximize awesomeness.

Well done/packed UVs – Straighten and square off UV islands to maximize space/pack and keep edge bevels in the normal map crisp (since edges are often where UV seams are), especially if/when textures get downsized, as they often do, and mirroring as much as possible. And not just mirroring one side to the other – for example, perhaps you can mirror a vehicle’s driver side front suspension and wheel well to the driver’s side rear, and then mirror the driver side suspension and wheel wells over to the passenger side. That’s a 4:1 optimization, as opposed to a 2:1 optimization just mirroring one side to the other. That might not seem like much, but it all adds up, and that’s the sort of efficiency and resourcefulness that can add a little extra fidelity to your asset that can help make your work stand out from the rest. I’m always looking for opportunities like this to squeeze every last drop of awesome out of a model, and you will find them often if you are looking.

Proper Baking – Understanding tangent spaces, surface normals, triangulation, sound topology, and UV set up is crucial to do the work nicely. Spending a little bit of quality time at Polycount or wherever and really getting to understand these technical elements will make life much easier and more awesome. The more you can eliminate guesswork and trial and error when it comes to baking, the more you can focus on quality art and meeting deadlines. And like I mentioned before, the margin of error for hard-surface baking can be pretty small, so getting dialed in on the technicals of baking will save you a good amount of time and make your work that much better. There are some great sticky threads at Polycount by Joe “Earthquake” Wilson that pretty much cover everything one needs to know on the subject. So, no excuses!

I hope I may have helped or inspired a few folks out there and added some value to whoever read all this. Feel free to hit me up with any questions or comments or what you have.

Читайте также:  Что значит точная наука

Источник

Hard Surface помощь с сеткой

Господа харсурферы, подскажите, как нужно допилить сетку вокруг выпуклых объектов, чтобы всё было по феншую и более плавно?

Думаю так получится.

Вот от себя, еще более простой метод:

Kenty

Pulatov3D

В ваших случаях появляются дополнительные ребра, при сглаживании получится локальное уплотнение сетки, что не всегда нужно.

Pulatov3D

В ваших случаях появляются дополнительные ребра, при сглаживании получится локальное уплотнение сетки, что не всегда нужно.

Да вот написал, а потом понял, что не катит)

Всем спасибо! Попробовал заново по вашим саоветам. Одной из начальных ошибок было отсутствие инсета у фэйса.

Начинаю с него. Экструд, придача формы. Нарезаю новые эджи. Из-за них появляются нежелательные грани. Если их немного обрезать поверхность всё равно остается с дефектом. Убираю торчащие части этих эджей полностью. Добавляю диагональные эджи. Результат неплохой, но в углах основания все-равно не хватает жесткости. Да и немного видно диагональный эдж. Где сделал не так?

Источник

Приемы Hard Surface моделирования для Gamedev

Оглавление:

Вступление

Прежде чем перейти к основной теме статьи, немного коснемся требований к игровым ассетам и важных аспектов качественной модели.

Требование к ассетам

Hard Surface – это любые твердотелые объекты, которые зачастую имеют острые углы и не поддаются простой деформации. Такие модели выделяют в отдельную группу, а для их создания используют специальные пайплайны.

Важные аспекты качественной модели

Также нужно проанализировать соотношение пропорций деталей, размеры фасок, ну и сам материал, из которого сделан прототип. Эти пункты помогают достичь нужного качества на всех этапах создания ассета.

Еще очень важный момент. Нужно максимально точно вычислить размер прототипа. Это очень важно. Есть много способов это сделать. К примеру, можно узнать размер одного конструктивного элемента и от него вычислить все пропорции модели.

Нечеткие грани и градиенты на модели слева, говорят о том, что визуальный шейдинг модели неисправен. Модель справа – это пример правильного шейдинга low poly-модели, с которой не будет никаких проблем.

Плохой шейдинг влияет не только на внешний вид, но и на дальнейшие технические работы с ней. Без качественного шейдинга не удастся правильно запечь карты нормалей, АО-карты, вспомогательные карты для процедурного текстурирования.

Если модель изначально сделана правильно, чтобы исправить шейдинг нужно всего лишь настроить группы сглаживания. Есть очень простой способ сделать это: на угол менее 60° нужно назначить soft edge, больше 60° – hard edge.

Добиться правильного шейдинга на high poly моделях в несколько раз сложнее, чем на low poly. Для этого требуются навыки и понимание построения топологии и в принципе работы с мешем.

На примере слева шейдинг немного нарушен. Можно увидеть подтяжку на голове дрона, а блик у основания крыла острый, и некрасивый. На примере справа блик плавный, все ровно, гладко и привлекательно.

С неправильным шейдингом вся некачественная информация запечется на карты детализаций, нормалей и на все вспомогательные карты. Это дойдет и до самого финала, а чтобы исправить ошибку придется вернуться почти на самый первый этап – high poly.

На каждом проекте свои требования к high poly модели. В целом, к сетке особых требований не предъявляют. Главное, чтобы модель была качественной на шейдинге.

На примере изображена одна и та же модель. Сверху триангулированная неравномерная сетка, которую вручную редактировать невозможно. Под ней – классическая равномерная квадратная сетка, любое редактирование которой не представляет особого труда. Как бы там ни было, обе эти сетки дают качественный шейдинг модели и возможность запечь ее на low poly.

Основное требование к low poly – не должно быть ничего лишнего. На примере сверху каждый треугольник обоснован. На примере снизу большое количество трисов и точек, которые ни на что не влияют. Их можно удалить, не навредив форме или силуэту модели.

Работая с low poly нужно помнить, что все игровые движки триангулируют четырехугольные полигоны – делят эджем на два треугольника. Вам может быть знакома ситуация, когда после экспорта low poly в движок, на визуально ровных плоскостях появляются изломы. Это происходит из-за того, что полигоны могут быть деформированы. Разбивая такие полигоны на трисы, нужно делить их вдоль оси деформации. Движок же не учитывает такие детали и ставит эджи в произвольном направлении. Чтобы избавиться от артефактов, нужно вручную фиксить подобные полигоны.

Четыре способа создания high poly моделей

За время работы с hard surfase, Ян выделил для себя четыре основных способа создания high poly моделей: Классический SUBD, Cad-моделирование, Boolean to Dynamesh в ZBrush, Boolean to SUBD в любом полигональном редакторе (Maya, 3Ds Max, Blender и т.д.)

Классический SUBD

При нулевом дивайде модель несет в себе острые ребра, которые закреплены саппорт-лупами по периметру. Для сглаживания применяется смуз. Существует популярное правило: модель должна достичь нужной гладкости после применения двух сабдивов.

CAD моделирование

Модель создается из NURBS поверхностей. Метод позволяет легко добиться нужной плавности окружностей за счет использования кривых третьего, пятого порядка. В кино производстве 3D-артистам не разрешают использовать CAD, но в играх – это очень распространенный метод.

Boolean to Dynamesh (ZBrush)

Болванка модели и объекты для булевых операций создаются в Maya. Булевые операции проводятся в ZBrush, при помощи инструмента Live Boolean. Для сглаживания фасок между сочленениями используется Dynamesh и Polish, после чего к модели применяется Decimate.

Boolean to SUBD

Ничего не нужно моделить из плейна, выстраивая формы классическим методом. Болванка строится из примитивов, совмещенных при помощи булевых операций. Чтобы придать модели окончательный вид, форма вычитается плоскостями относительно референсов. Булевые операции проводятся в Maya или в другом полигональном редакторе.

Метод применим в случаях, когда нельзя использовать ZBrush, или если вам неудобно работать с буланом и децимейтами в ZBrush.

Читайте также нашу статью «Полезные советы по оптимизации игровой модели» с Евгением Петровым – Lead Weapon Artist Ulysses Graphics.

Заключение

В этой статье мы затронули только основные достоинства и недостатки четырех методов создания high poly моделей hard surface ассетов. Надеемся, эта информация поможет вам сделать выбор в пользу наиболее подходящего для вас метода.

Если же вы чувствуете, что вам не хватает скиллов и общего понимания темы, то курс « Hard Surface. Weapon » с Яном Шамариным в качестве ментора, поможет вам восполнить пробелы в знаниях и научит применять их в реальных проектах.

Статью подготовил Олег Мощенко на основе доклада Яна Шамарина на конференции Games Gathering Odessa 2021.

Источник

Сказочный портал