Compartilhe

Mostrando postagens com marcador animetree udk. Mostrar todas as postagens
Mostrando postagens com marcador animetree udk. Mostrar todas as postagens

AnimTree for UDK

I've remade the animtree videos here with improved audio and a better explanation of what the animtree is for and I'll be demonstrating how to put this in game once we have a couple of basic animations added to the animset first and then referenced by the animtree later!










The code I mention in the tutorial

class CustomGame extends UTGame
config(Mymod);
var CustomPlayerController currentPlayer;
function RestartPlayer(Controller aPlayer)
{
super.RestartPlayer(aPlayer);
`Log("Player restarted");
currentPlayer = CustomPlayerController(aPlayer);
currentPlayer.resetMesh();
currentPlayer.rSetBehindView(true);
currentPlayer.rSetCameraMode('ThirdPerson');
}
simulated function PostBeginPlay() {
local UTGame Game;
Super.PostBeginPlay();
Game = UTGame(WorldInfo.Game);
if (Game != None)
{
Game.PlayerControllerClass=Class'Mymod.CustomPlayerController';
}
}
defaultproperties
{
PlayerControllerClass=Class'Mymod.CustomPlayerController'
}
Ler Mais

Pagamento mínimo de Royalties da UDK muda para 50mil

A notícia animou ainda mais as comunidades desenvolvedoras e estará criando possibilidades de formação de estúdios.

A partir de agora, só serão cobrados royalties de uso da UDK para as vendas acima de 50mil dólares. Ou seja, essa iniciativa corajosa da EpicGames influencia ainda mais as pequenas produtoras de jogos a se adaptarem ao mercado de alta qualidade de motores gráficos.

Leia a notícia na íntegra:

"UDK Threshold Royalty Criados para EUA $ 50.000,00 CARY, Carolina do Norte (23 de fevereiro, 2011) ,

licenciamento Os prazos para o Unreal Epic Development Kit (UDK) mudaram de tal forma que sob as novas regras licenciados UDK não são obrigados a pagar royalties sobre as receitas auferidas com a utilização de UDK até que a receita ultrapassa EUA US $ 50.000.Isso representa um aumento de 10 vezes acima do limite anterior dos EUA US $ 5.000.Licenciamento termos UDK pode ser visto em www.udk.com / licenciamento .

Epic vice-presidente e co-fundador, Mark Rein, postou o pensamento por trás do preço UDK novos e dão exemplos para ilustrar como UDK royalties trabalho neste post do fórum: http://forums.epicgames.com/showthread.php?t=764485"
Ler Mais

Creating an AnimTree for UDK for your character













Ler Mais

UDK dezembro 2010 Beta


Lançamentos de jogos Epic dezembro 2010 Beta Kit Unreal Desenvolvimento

Notícias da Epic Games - Dezembro de 2010 UDK Beta Lançado
16 de dezembro de 2010 - Epic Games, Inc. lançou a dezembro 2010 UDK Beta , a versão mais recente do desenvolvimento Unreal Kit (UDK), a edição gratuita do Unreal Engine 3, que dá acesso ao premiado conjunto de ferramentas utilizadas na concessão de vídeo de grande sucesso jogos, visualizações 3D, filmes digitais e muito mais.

Epic está empenhada em proporcionar a comunidade UDK com lançamentos regulares de software, sem custo, e mais recente versão beta está disponível agora em www.udk.com / download .

Este mês, estamos muito entusiasmados para enviar uma nova e melhorada UDK, agora com o apoio do IOS. Continue lendo para obter mais detalhes, e confira www.udk.com para ver exemplos do que você pode fazer com estas novas ferramentas.
















Epic está empenhada em proporcionar a comunidade UDK com lançamentos regulares de software, sem custo, e mais recente versão beta está disponível agora em www.udk.com / download .

NOVO! Suporte IOS
Novas funcionalidades e conteúdo que os usuários irão notar imediatamente são:

Construir níveis, visualmente eventos jogabilidade script e adicionar efeitos visuais para aplicações móveis usando o Editor Unreal e suas ferramentas principais, incluindo Unreal Kismet , Cascade Unreal e Unreal Matinee .
recursos de renderização Superior para o desenvolvimento de móveis, incluindo Unreal Lightmass iluminação global acelerado pelo Unreal Swarm computação distribuída.
A fonte de cheias e de conteúdo para o " Epic Citadel "App, além de um castelo demo mapa adicional.


UDK Remoto : Uma ferramenta útil que permite que os dispositivos IOS para servir como controladores sem fios com toque cheio e funcionalidade de inclinação para testar os jogos no computador.
Nova Unreal Frontend sistema compila scripts e implanta constrói para várias plataformas com o simples clique de um botão.
Mobile Previewer : Visualize a sua aplicação localmente usando um recurso totalmente OpenGL ES 2.0 representante de móveis com entrada simulada.
Um clique-Implantação : Facilmente implantar seu aplicativo a partir do Unreal Editor para o dispositivo IOS com apenas um clique.
Next-gen gráficos móveis : mobile é altamente UDK processador tem suporte para iluminação por pixel, o mapeamento do ambiente, a visibilidade pré-computadas e muito mais! E, claro, Unreal Lightmass calcula luz deslumbrante e sombras para trazer a cena para a vida.
Unreal Kismet Visual Scripting : Artistas e designers de nível pode encadear ações, insumos e eventos em Unreal Kismet para ditar a forma como o mundo flui e como o jogador interage sem ter que tocar uma única linha de código.
IOS Lista_de_recursos

Base UE3 Recursos
Altamente entregável, o núcleo motor comprovada
Unreal Editor : Quase todo editor é suportado
Unreal Lightmass : Iluminação Global, oclusão de ambiente e muito mais
Unreal Swarm para iluminação distribuídos constrói
UnrealScript dinâmica linguagem de scripting
Unreal Kismet scripting visual
Pathfinding e malhas de navegação
Unreal Matinee cinematics ferramentas
Unreal Cascade designer de partículas
pintura Mesh ferramentas
Canvas baseado em processamento de interface do usuário
Conteúdo Unreal Browser gestor de activos
Completo suporte para Autodesk FBX formato de arquivo
Unreal sistema de animação (AnimTrees, animações aditivo, a mistura, etc)
Tocar No Editor , clique em um preview do jogo
Em tempo real de cinemática inversa
BSP sistema de construção de nível
sistema de multidão
sistemas de nível de detalhe, incluindo LOD Massive
Desempenho e ferramentas de memória de perfis
Mesh instrumento de simplificação
Textura desembrulhar e ferramentas de geração de LOD
Forçosamente suporte de controle de origem
Física e sistemas de colisão
Unreal Frontend ferramenta para o lançamento / embalagem do jogo
Unreal Console permite conectar aplicativos móveis, comandos de edição e visualizar registros
64-bit ferramentas permitem grandes conjuntos de dados
Mobile
modos retrato e paisagem totalmente suportado
Multi-touch de controle de apoio, incluindo tilt / giroscópio
Touch baseado controles olhar, gesto de apoio
Novos móveis "zona de entrada" do sistema
Unreal Kismet e UnrealScript apoio para a entrada de celulares
Mobile emulação de entrada no PC
Sistema básico de UI com base em tela, com botões simples / deslizantes
Reprodução de Vídeo
Mecanismo
Fast realizando IOS motor de jogo
Nível de transmissão com o carregamento assíncrono
bens de ações entre várias plataformas
Mobile precaching shader / aquecimento para o jogo do engate livre
Unreal mapa Lightmass normal de cozimento
Precomputed Visibilidade sistema com suporte Unreal caminho Matinee
Fogão gera otimizado conjunto mínimo de shaders com base na utilização do jogo
Som e reprodução de música com OpenAL
3D espacialização do som (saída estéreo)
Assíncrona de streaming de música
Ferramentas
Mobile Previewer para PC com quase 1:1 gráfica previsão
UDK remoto para visualização de entrada de celulares no PC usando o dispositivo IOS
ferramentas de geração de filmes com fé gráficos móveis de estilo
Capture screenshots e vídeos do dispositivo
Preview IOS resoluções do dispositivo, as configurações do sistema e da paisagem / retrato do editor
Gráficos
Estado de gráficos as características da arte no celular
sistema de material flexível gera altamente otimizado OpenGL shaders ES2
Sombras em tempo real (planar)
sistemas de partículas
Bump deslocamento de mapeamento
animação esquelética
Sombreamento
Real-time -iluminação por pixel
mapeamento normal
Especular de iluminação , incluindo a per-pixel especular
Iluminação dinâmica (móveis, luzes animado)
materiais Animados
Translucidez, máscaras de opacidade
iluminação Rim
efeitos de Fresnel
mistura de textura
Vertex coloração (malhas pode ser pintada)
iluminação Emissive
Vertex deformação (folhas, tornando pano)
Mapeamento do ambiente
Baked oclusão de ambiente (malhas do esqueleto)
efeitos de superfície de água
Mascaramento para emissiva mapas, meio ambiente, as luzes da jante e mais
Decalques
Static malha renderização
Não uniformemente dimensionadas objetos
Automático Textura Achatamento ferramenta
neblina atmosférica
Ferramentas

Frontend Nova UI Unreal





UFE agora oferece suporte a vários perfis. Um perfil é uma coleção de configurações para cozinhar, sincronização, e lançamento, que faz da troca de projetos e configurações de uma brisa.
http://udn.epicgames.com/Three/UnrealFrontend
Unreal Editor

A cor do vértice correspondente ferramenta foi adicionado. Ele permite que as malhas re-importados para ter sua pintura da cor pintada à mão vértice reequipada.
http://udn.epicgames.com/Three/ContentBlog ferramenta de cor # Vertex correspondência
Unreal Kismet

Uma ação Kismet novo, ProjectileFactory, foi adicionado. Ele permite que a desova projéteis w pisca / focinho de um soquete de malha esquelética ou óssea em Kismet.
Nota: Esta versão suporta apenas dois ossos por vértice para jogos móveis. O próximo build irá remover esta limitação.
Ler Mais

How To IMPORT A Static Mesh From Google Sketchup Into UDK

Esse é um tutorial que poderá facilitar a vida de muita gente que pretende fazer vizualizações arquitetônicas. Trata-se de como importar Static Mesh do Google Sketchup para a UDK. Google Sketchup é aquele programa do Google que muita gente achou que seria fácil de usar e quebrou a cara. Eu fui um dos que acharam que faria uma malha em poucos cliques.

Ler Mais

Removendo HUD

Ótimo tutorial para quem pretende fazer somente visualizações arquitetônicas sem aquela barra de energia e armas atirando no susto.





Ler Mais

Real Time Reflection

Fonte: http://www.hourences.com/book/tutorialsue3reflections.htm


Real time reflection is quite hardware demanding and thus should not be abused. Use this powerful feature wisely and only for things that really matter, and in relatively low detail areas. Using it in a small bathroom would be ok, where as using it to make a camera oversee the entire battlefield, would not be.

Start off by going to the Generic Browser, and create a RenderToTexture in a package of choice.



A new window will pop up, asking for a name and package name. Notice the Height and Width option at the bottom. These allow you to set the size for the RenderToTexture. The size of the thing has a direct impact on performance. A larger size obviously means more detail, but also being larger in data. The larger something is, the harder it will be for the hardware to continuously process it. Pick a size wisely.




Once you've got the RenderToTexture, leave it alone for the time being, and go to the Actor Browser. Navigate to SceneCaptureActor and expand that section. Select SceneCapture2DActor, and add that actor to the level at the desired location..

The actor is invisible, don't worry about this. Open its properties by selecting the actor in the viewport, and pushing F4 on your keyboard. If you are having trouble selecting the actor, it is invisible after all, go to the Search Actors window, which is the button with a binoculars on, found at the top toolbar, and enter the name of the actor. In this case SceneCapture2DActor. Double click it in the list of results to select it.

In its properties, expand the SceneCaptureActor section, and while keeping the properties window open, navigate to your RenderToTexture thing you've made earlier, and select it in the Generic Browser. Add it to the TextureTarget in the properties of the SceneCapture2DActor using the little green arrow on the right.




Other important properties are:

bEnableFog: To display fog or not
ClearColor: The color used for "empty" areas (used in combination with the Maximum/Minimum distance, everything beyond/below uses this color).
FarPlane: Maximum distance. Beyond this distance the actor cannot see.
FieldOfView: The "width" of the camera.
FrameRate: How smooth the capturing is. A higher number means a smoother result, but also a larger impact on performance.
NearPlane: The opposite of the Farplane, within this distance, the actor cannot see anything.
ViewMode: How to capture the scene.

Be sure to set the Farplane well beyond the default 500 units, or you will likely see too little, and you might need to change the ViewMode to Unlit if your scene is not yet lit!

Leave the SceneCapture2DActor as is, and return to the Generic Browser. Create a new material, and add your RenderToTexture to a regular TextureSample, and use it in a material.




Now apply the material to a mesh or a surface, and you are done!




If you wish to view the camera frustum like in my screenshot, expand the viewport menu (the arrow pointing down in every viewport's toolbar), and enable Camera Frustums near the top of the list.

Have a look at my material tutorials to get a better understanding on how to add cool effects to the RenderToTexture, such as distortion, or a moiree effect commonly seen on old TV's.

It might also be worth having a look at the SceneCaptureReflectActor, which is a little fancier than the ScenCapture2DActor, and on the SceneCaptureCubeMapActor, which captures 360 degrees.
Ler Mais

Triggers o Eventos


Tutorial de UDK que explica como programar eventos o Triggers.

Ler Mais

Vídeos curiosos da UDK

Devido ao sucesso dos Vídeos Curiosos da UDK, seguem mais vídeos sofisticados e exótico. Se você quiser fazer uma sugestão de vídeo, manda o link no comentário.













Teste de animação - tanta coisa para se fazer em um teste de animação e o autor colocou o ironGuard pra dançar igual um garoto de programa. Tem um que faz um créu meio tímido e tudo.


UDK Sponza - Mais um vídeo magnífico mostrando o potencial do motor gráfico da EpicGames



Chove chuva - Ótimo vídeo mostrando uma tempestade na UDK. Certamente será alvo de um tutoria


Unreal ROV Diário de Produção 22 de Outubro
Como não poderia deixar de mostrar, o vídeo do simulador que estou desenvolvendo usando a UDK também é bizarro, a contar pela Baleia parada o tempo todo.



UDK Fully Dynamic Day Cycle
vídeo maravilhoso mostrando o realismo da mudança de ambiente usando a mudança no posicionamento do sol. Há um tutorial ensinando a fazer este tipo de ação na UDK.


UDK Environment Effects - Feito por Davi, um espanhol muito simpático e que jura de pés juntos que fez o oceano programando diretamente no Vertex Shader do Direct X. O realismo do ambiente lembra bem os testes de vídeo feitos na CryEngine. Não perde em nada.


Ler Mais

Básico no uso do Matinee


Tirando a voz do cara, o tutorial é muito bom. Se bem que a minha voz também é bem feia.


Ler Mais

Tiling Rock Tutorial

final_product_v2

This tutorial is a walk-through of creating a tiled rock surface normal map with accompanying parallax and diffuse maps. This asset was chosen in particular for the tutorial because its creation required some advanced techniques in Max, ZBrush, and Photoshop, as well as close integration between the three programs. Many of the techniques shown here can be used for a far greater range of assets than simply rock. This is just one example.

We start by finding good rock photo. This is just for visual reference, so it is not necessary to find an image of the exact rock we’re aiming for, just something that will give a good idea of surface texture, flow, and structure.

rocktut01

For a tiled texture, a certain amount of homogeneity is necessary, or else the tiling will become too apparent. The above photo shows too much variation, but nevertheless a great deal of information can be gleaned from it. Of particular note are the lines and cracks of where the rock has broken, which have been highlighted below. Notice the angles. While it is certainly not a grid pattern, there are distinctive horizontal lines intersecting with downward ones, almost never at a perfect 90 degrees, but often between 60-90 degrees. The effect is of layers that have broken and shifted, cracking and shearing off as things have moved. While the rock that we are making will ultimately be very different from this one, those lines will be a good starting place.

rocktut02

Here is another reference photo. Notice where the layers have broken, leaving a jagged surface that conforms to the relatively orthogonal original lines of the rock, but with a great deal of faceted noise at the break points.

rocktut03

We will begin in Max with a plane. Cut the base lines into the plane at angles that approximate the reference images. Keep enough variation to make it feel natural, but not so much that it feels completely random or that that there are easily identifiable features which would interfere with tiling. For the moment do not worry about matching the tile seams, we will deal with that at the end in Photoshop.

When the lines are in place, as shown below to the left, extrude shapes outward. Cut more lines as necessary and tweak the surface so that different facets face in different directions, as show below to the right. Make sure to keep reasonable smoothing groups, so large swaths seem contiguous, but the cracks and major facets are separated by hard edges.

It is necessary to create these hard polygonal lines in Max, because the tools in ZBrush are poorly suited to such things. In ZBrush we will be able to make these look far more natural and weathered, but it is necessary to have hard sharp polygonal edges to begin with, or else things would come out looking too smooth and claylike.

rocktut04

The next step is to UV map the sheet. This will be necessary in order to take advantage of certain tools in ZBrush. Since the geometry will eventually be reduced to a simple normal map eventually anyhow, it is not necessary to do anything elaborate with the UVs. Apply a helper image to see the UVs, and use a UVW Mapping modifier with the Planar mapping type, then apply a UVW Unwrap modifier. Open the Edit dialog, select all the vertices, and use the Edit UVs > Tools > Relax Dialog. A little tweaking of the numbers as shown below will sufficiently relax the UVs at the edges where the worst distortion occurs, which is all that is really necessary.

rocktut05

Select all the faces and extrude them upward to create an airtight model. While ZBrush can import an object with open edges, its generally not a good idea, because the brushes behave strangely when they hit the edge.

rocktut06

When that is complete, MeshSmooth the object several iterations with the Separate By Smoothing Groups option checked. This is necessary to preserve the hard edges of the cracks, because if the geometry were subdivided in ZBrush, it would not take into account the smoothing information as Max does, and the hard edges would become very soft. This does not mean that we can’t do further subdivision with ZBrush, but this step in Max ensures that the edges don’t suffer much from it.

rocktut07

Now import the model to ZBrush, over a canvas that is the size that the normal map should eventually be. Subdivide further as hardware allows. We have subdivided to slightly under 1.8 million polys.

We will now apply a global displacement using an alpha to create the small scale details. It is best to do that at this early stage so that we can smooth back out the appropriate bits as we’re working on the mid-level detail. The global displacement will eliminate the need to laboriously sculpt in all the small scale noise and cracks by hand. This was the primary reason for UV mapping the sheet in Max, because the displacement feature relies on the UVs for placement of the alpha. Find a high resolution photo of rock that has the appropriate amount of noise, cracks, and other variations, then in Photoshop alter and crop it until it is appropriate for a displacement map. Before converting it to a grayscale, switch to 16 bits per channel. RGB images generally have a far greater luminance range than an 8 bit grayscale, because the ultimate luminance of each pixel is an average of the values for all three channels. Save the 16 bit grayscale as a PSD and import it into the alpha palette of ZBrush. Save the model now before applying the displacement.

Make sure you are at the highest subdivision level. Now use the slider under Tools > Displacement > Intensity to adjust how much displacement will occur, then hit Apply DispMap. It may be necessary to undo and retry with different intensity values, which unfortunately triggers a minor bug in the current version of ZBrush. Every time you undo a displacement and redo it, ZBrush will take more and more memory. After a few times, it might be necessary to restart ZBrush and load the file that was just saved.

rocktut08

Now drop back down a couple subdivision levels. Notice how at this level the fine grains from the displacement disappear, but larger ones still remain. We can sculpt at this lower level without significantly altering the fine grain at the highest levels unless we chose to. It is useful to step between the levels often while you work, using the D and Shift-D keys.

Use the nudge and pinch tools to make the lines more natural looking. Paint in extra cracks by inverting the Inflate and Standard tools, then squeeze them together using the pinch tool.

rocktut09

Don’t underestimate the usefulness of the pinch tool. It is the best way to make surfaces press against each other, and to create hard edges that weren’t modeled in Max. A particularly useful technique is to paint in ridges with the Std or Inflate tool, then pinch along the peak to create an edge. Then invert the Std or Inflat tool, and paint downward again on the sides with a smaller brush size to make them concave. This will result in surfaces and edges that better approximate rock that has chipped off.

rocktut10

Continue adding more details and rock protrusions. Make larger features at lower subdivision levels, and smaller ones at high levels.

rocktut11

Don’t worry about stretch marks that appear when you nudge or pinch the surface. On the untextured model in ZBrush these might look unsightly, but the stretch marks will actually help the surface look more natural and weathered once there is a diffuse applied (which of course won’t stretch as the geometry does). Rock has a flow, and so long as these stretch marks flow in a natural way, they should be kept.

rocktut12

It may become necessary to work at a lower subdivision level than what was originally imported. For example, here some of the shapes are looking too much like bricks mortared together, but using the nudge tool to make them more natural becomes very cumbersome with this many polys. The original Max geometry had been deliberately MeshSmoothed several times to preserve the edges, so there is no low poly level to return to. Fortunately ZBrush allows you to reconstruct lower subdivision levels with the Tools > Geometry > Reconstruct Subdiv button. It should be noted however that this step burns a bridge. Normally it is possibly to export a mesh at any subdivision level from ZBrush out to Max, alter it in Max, then reimport it back to that subdivision level in ZBrush, while still keeping all the data in the other levels. Once you use the Reconstruct Subdiv feature however, ZBrush changes the point order, which creates incompatibilities. It will still be possible to export out to Max, but not to bring that model back into a subdivision level while preserving the other levels. That is not an issue here however, so we use the Reconstruct Subdiv button.

Here we have created several lower levels and used the nudge tool at the lowest to move the contours of the rock into a more natural looking flow, as well as changing the elevations of certain features to create more variation.

rocktut13

Once the surface looks decent from a distance, isolate sections using Ctl-Shift-Drag, and zoom in on the details. Smooth down sections that look too rough with the Smooth tool, and continue pinching thing to sharpen them up. It is important that the rock look just a good close up as it does as a whole.

The section below here looked fine until it was zoomed up close, which revealed all sorts of details that are too noisy, soft, muddy, or otherwise un-rock-like.

rocktut14

You may notice that many parts of the surface actually look better at subdivision levels that are a couple steps lower than the fine grain detail, because the midrange does not get drowned out in the noise. In the image below, the left side shows the highest subdivision level, while the right side shows two levels below it. The right side ends up looking far more jagged and rocklike, but certain parts are obviously too low res, showing the rectangular polys much like an image shows pixelation when zoomed too far. Thankfully we can capture the normal map from various subdivision levels and states of the model, then blend them later in Photoshop. When youre ready to bring the normal maps into Photoshop, position the sheet over the ZBrush canvas pointing straight up. Unfortunately ZBrush does not make precise rotation easy. You must leave edit mode entirely and select the rotate button, before the Transform > Info sliders will allow you to explicitly enter angles of 0, 90, or whatever values are necessary. Alternately, there are several user-created ZScripts that offer one-click buttons for easily rotating a model to its orthogonal positions. MoldyTool is particularly useful for all sorts of modeling tasks, including this.

rocktut15

Apply the NormalRGBMat Material, which can be found in the ZBrush2/ZMaterials directory. Before dropping the model to the canvas, create a marker of it so that you can easily recover the placement, then save the model. Now leave edit mode to drop it. Select the MRGBZGrabber tool, and under Tool > Modifiers turn off Auto Crop. Grab the entire canvas. This will put the color data to the Texture palette, and the depth data to the Alpha palette. Save each of the images out to PSDs. Clear the canvas and use the Marker to recover the positioning of the model. Change the subdivision level and repeat the steps to export the normal map (though it is not necessary to export multiple height maps). It is good to have normal maps for the highest level (for the fine grain), one that is a couple levels below it (for the midrange), and one that is very low (for very sharp edges). Another variation that can be useful is to use the Tool > Deformation > Inflate slider at the highest subdivision level to expand out the grains into a more pebbly surface and to squeeze the cracks into sharper angles. We will blend together all of these maps later in Photoshop.

The image below shows a close-up progression between the normal maps, starting with a very low subdivision level on the left, a medium one, the highest, then the highest with an Inflate deformation applied to it.

rocktut16

There is one more variation that we will need. Go to a medium subdivision level, select the Nudge tool, set it to a very high Z Intensity (between 50 and 100), and begin pushing the geometry of the rock facets around. The goal here is to push it around the same general area, so for example if you nudge it left, then while the brush is still pushed down nudge back to the right again, and continue the back and forth motions. This will stretch the geometry into shapes that look very much like shattered rock, where pieces have broken off. The key is that we see the polygons themselves which are stretched along the flow of the break. This is why we do it at a medium subdivision level rather than the highest, because the jaggedness of the stretched polys is more evident. Pinch the edges and corners to make them less rounded. Unfortunately there is a side effect to this nudge-pinch method, which is that it sometimes bunches up the edges around the break in unrealistic ways. But don’t worry about that, we have all those other renders that can be blended over it in Photoshop.

When you’re ready, drop this version to the canvas and export the normal map with the MRGBZGrabber tool the same way as the others.

rocktut17

Import all of the normal maps into Photoshop and layer them atop each other, giving each a layer mask. Paint into the masks to fade in the different normal maps where they are appropriate. The fine grain (either in the high level or the inflated high level renders) should be present everywhere to some degree, but very faint in some of the sheared off areas and the jagged edges. Make sure to use it heavily where the midrange surface has a pixelated look from being too low a subdivision level. Paint in the mid level at places where the nudged version bunches up unrealistically, and the low level where an edge needs to be particularly hard and straight. Feel free to import the image into Max or UnrealEd at any time to check how it looks.

The image below shows the final results of this process.

rocktut18

Now we need to make it tile seamlessly. Copy the merged image, paste it as another layer, and run Filter > Other > Offset with Wrap Around selected. Offset it by half of the image resolution, so the seam ends up in the middle of the image. Now add a layer mask, and mask out the parts with the seam, making sure to paint forms that seem appropriate for the flow of the rock, and that blend well with the area around them.

rocktut19

Now you have the final normal map.

global-rocktutorial-nml

Open the depth image now. It will be a 16-bit grayscale. Do a Levels adjust to maximize the range of the image. Then use Image > Mode to convert it to an 8-bit grayscale. Use the same offset technique described above to make it seamless. It should be possible to simply copy and paste the mask from the previous offset to maintain consistency.

rocktut20

Now we move on to creating the diffuse. Find a source image (or several) that have large swaths of open rock without much cracks or other drastic changes in luminance. It is important to have quality image source that is high enough resolution. Shown below are several images from a rock climbing site (hence the yellow marks showing the route), which are perfect for texture source. Use the stamp tool to create an even swath of rock without any cracks, like the image below to the right.

rocktut21

We need to add some more variation, with bits of lichen and sections of rock that are a different color. Find an image with a good amount of noise with the type of variation we’re looking for. Don’t worry if it’s the wrong colors or luminance values. The image below to the left was intended for rusty metal, but has all the correct elements. Place the image in a Layer Set on top and start adding adjustment layers. The goal is to get something which can be Multiplied on top of the original. A great deal of variable tweaking might be necessary. The result to the right was accomplished with a Levels, a Color Balance, and a Hue/Sat.

rocktut22

The image below shows the result of Multiplying the layer set on the rock swath. Tile it seamlessly with the same method used for the other maps.

rocktut23

All that we need now are some global illumination shadows so that when the normal map is lit head-on, the form does not disappear completely.

In Max create a plane, then duplicate it and raise the duplicate by a small amount. In a new material, apply the normal map to the bump channel with a Normal Bump component type, and apply it to the top plane. Go into the vertex sub-object mode, click the Preserve UVs checkbox, select all the vertices, and scale them out a bit so that it tiles off the edge to give it a buffer zone to bleed over. Select the bottom plane and set it up to accept projection from the top one, making sure to turn off the cage. Choose a Lighting Map to project instead of the usual normal map. Create a white Skylight with shadows. Render the Lighting Map.

rocktut24

Bring the resulting light map into Photoshop and multiply it over the diffuse. Since it was generated from a seamlessly tiled normal map that extends past the seam, the light map is already seamless and can be laid right over the image without any worries. Some Levels adjustment might be necessary, but don’t make it too dark, or else it will invalidate the actual real-time lighting that the normal map is for.

The image below shows the final result.

rocktut25

If you haven’t already, bring the textures you’ve made into 3D and preview them on geometry. Make alterations if they seem necessary. Here it is on a plane in Max with a DirectX9 shader.

final_max_v2

And here it is on curved geometry in the Unreal 3 Engine. Perhaps not perfect, but pretty good looking rock.

final_product_v2

Ler Mais

Custom Character com Custom Animation


Tradução direta do Google

"Um tutorial completo sobre como importar seu personagem personalizado e animações para o UDK.
Criei este tutorial porque tive alguns problemas para a meu Custom Character no UDK e tive de procurar em muitos fóruns.

Sinta-se livre para me corrigir ou adicionar detalhess importantes.

Vou tentar explicar os passos a seguir:
1. Importação para UDK
2. Criando Sockets
3. Criando um Basic AnimTree
4. Fazendo UDK reconhecer seu material
5. Animações para ataques corpo a corpo

Eu suponho que você sabe como exportar um personagem e animações contrário dê uma olhada aqui:
http://udn.epicgames.com/Two/ActorXMayaTutorial.html

! IMPORTANTE!
-Seu Rig/Skeleton precisa de um rootjoint colocado em (0,0,0) no topo da sua hierarquia
-ActorX exporta apenas Meshes e Bones, para limpar o local antes de exportar ou cozendo a sua animação para o seu bindjoints e excluir todas as coisas que você não precisa mais ou colocando o _noexport sufixo (por único osso) ou _ignore (para um hierarquia) para juntas de TUDO o que você NÃO quer exportar
Nenhum grupo na sua hierarquia bindjoints, este vai sujar o seu animações em UDK
-Nas opções ActorX (axoptions na MEL), desmarque a opção "cozer grupos de suavização" opção, alisando grupos irá dividir sua malha e aumentar o número de vértices.

1. Importação para UDK

Ok, o primeiro passo deve ser muito fácil.
Clique sobre a importação, escolha o arquivo Character.PSK e abri-lo.
O Importador tem opções para Maya Coordenadas. Você pode usar isso, mas eu recomendo para girar seu personagem em 90, 0, 90 antes de exportar.
Seu personagem tem de enfrentar o lado positivo do eixo X e eixo Z deve ser o Up-Axis.
Se você se esqueceu de fazer isso, você pode usar o "Rot" Origem (girar origem) para dentro da AnimSet Viewer.




























Agora, clique com o botão direito do navegador de conteúdo e selecione Novo AnimSet.
Depois de criar sua AnimSet abri-lo.
Escolha File -> Import PSA e abra seu Animations.PSA

Na aba do navegador em Esquelético Mesh selecione seu personagem.
Você deve ser capaz de desempenhar as suas animações agora.
Na guia Propriedades, clique na AnimSet e marque a opção "Anim Rotações Só?"
Clique em "Use Tradução Bones" e criar pelo menos dois ossos da Tradução.
O primeiro deve ser o seu rootbone ea próxima pélvis / osso do quadril.
Você tem que criar Bones Tradução para todos os ossos que deverão ter tradução de suas animações.
Deve ser algo parecido com isto:













Você não precisa fazer isso, seu personagem ainda será capaz de se mover, saltar, mas não irá jogar em algum animações como ataques Provocações ou Melee.

Isso completa a parte 1 do tutorial.

2. Criando Sockets

No AnimSet Editor clique em Mesh e escolha Socket Manager.

Clique no novo socket
Escolha a sua mão direita-arma-osso, clique em OK, digite o nome WeaponPoint soquete e clique em OK novamente.
Clique em Novo Socket novamente, escolha o seu clique esquerdo, mão arma-osso DualWeaponPoint OK e digite o nome do soquete, clique em OK novamente.
Clique em Novo Socket, escolha o seu direito do osso do tornozelo, digite o nome R_JB soquete.
Faça o mesmo para a sua esquerda osso do tornozelo.
Clique em Novo Socket novamente, escolha o seu pescoço ou cabeça do osso e entrar HeadShotGoreSocket.

Você pode fechar o Editor AnimSet agora. (Time para salvar seu trabalho)

Isso conclui a parte 2 do tutorial.

3. Criando um Basic AnimTree
(Para referência, dê uma olhada no AnimTree AT_CH_Human)

Botão direito do mouse no navegador de conteúdo e selecione Novo AnimTree.

Você precisa dizer Unreal quando e como ele deve desempenhar suas animações.
Então abra o seu AnimTree clicando duas vezes nele.

O primeiro nó que você precisa é de um AnimNodeBlendByPhysics. Este nó contém praticamente todas as situações de seu personagem pode estar dentro

Ligue a opção para fora do seu AnimNodeBlendByPhysics com a opção de animação de sua AnimTree.
Agora, criar um nó UTAnimBlendByIdle e ligar a opção de Fora com a opção de passeio do nó AnimNodeBlendByPhysics.

Criar um UTAnimNodeSequence e digite o nome de sua animação ocioso como Anim Nome Seq na aba de propriedades.

Ligue para a opção Idle do nó UTAnimBlendByIdle.

Criar um nó AnimNodeBlendDirectional e 4 nós UTAnimNodeSequence.
Digite os nomes de sua corrida para a frente, para trás e correr strafe animações e conectar os nós para o compartimento direito.

Criar um nó UTAnimBlendByFall e 8 nós UTAnimNodeSequence.
Isto é onde você define o seu salto animações ou as animações que devem ser jogados quando o personagem está no ar.
Se você não tem todas as animações necessário você ter que improvisar ou apenas exportar peças de animações seu salto para isso.

Conectar os nós UTAnimNodeSequence para o nó UTAnimBlendByFall.

Seu personagem agora deve ser capaz de se mover e saltar.



Isso completa a parte 3 do tutorial.

4. Fazendo UDK reconhecer seu material
NOTA: Eu sei que você não deve alterar os arquivos originais e sempre criar as suas próprias. Mas isso não faz parte deste tutorial e para fins de teste.

Agora temos que mudar alguns dos arquivos. Uc no [seu UDK pasta] / Desenvolvimento / Src / UTGame / aulas.
Eu recomendo fazer um back-up dos arquivos.

Abra o arquivo UTPawn.uc.
Desça até defaultproperties e encontrar a linha
Citação:
AnimTreeTemplate = AnimTree'CH_AnimHuman_Tree. AT_CH_ Humanos '
e alterá-lo para
Citação:
AnimTreeTemplate = AnimTree'YourPackage. UrAnimTree YourGroup.Yo '
Isto é onde nós dizemos que Unreal AnimationTree o Playercharacter deve usar.

Agora abra o arquivo UTFamilyInfo_Liandri_Male.uc
Desça até defaultproperties e encontrar a linha
Citação:
CharacterMesh = SkeletalMesh'CH_LIAM_Cathode. _CH_LIAM_Cathode Mesh.SK '
e alterá-lo para
Citação:
CharacterMesh = SkeletalMesh'YourPackage. OurCharacter YourGroup.Y '
No mesmo arquivo achar a linha
Citação:
AnimSets (0) = AnimSet'CH_AnimHuman. Anims.K_AnimHuman _BaseMale '
e alterá-lo para
Citação:
AnimSets (0) = AnimSet'YourPackage. YourGroup.YourAnim Set '
Isto é onde nós dizemos que a personagem de Unreal para mostrar e que AnimSet de usar.

Se o seu personagem não aparece e mostra o caráter Unreal padrão sem animações então você tem que abrir o arquivo UTFamilyInfo_Liandri.uc e fazer as mesmas coisas como em UTFamilyInfo_Liandri_Male.uc

Isso completa a parte 4 do tutorial

5. Animações para ataques corpo a corpo
Isso é realmente muito fácil.

Abra o arquivo UTFamilyInfo.uc e adicionar alguns FamilyEmotes como EmoteAnim digite o nome de suas animações Melee Attack.

Abrir um arquivo UTWeapon_XXXXX.uc o LinkGun seria muito útil uma vez que é a arma padrão
encontrar a linha
Citação:
super.ConsumeAmmo (FireModeNum);
e acrescentar abaixo desta linha
Citação:
UTPawn (Instigator) PlayEmote ('(O nome do EmoteTag que deve ser tocada), -1).;
Agora, seu personagem deve jogar o Melee Attack animação quando você pressiona o fogo.

Isso completa a parte 5 do tutorial."

Fonte: http://forums.epicgames.com/showthread.php?t=717339
Ler Mais

Aprendendo Animtree

Tutoriais em espanhol ensinando como criar Animtree na UDK. Ótima opção para quem deseja criar seu próprio personagem nos jogos.



Ler Mais

Fórum UDKBrasil

Top View Semanal

Top View Mensal

Top View de todos os Tempos

 
UDK BRASIL | by TNB ©2010