-
Crie pipelines de renderização neural em tempo real com o Metal
Descubra como integrar aprendizado de máquina ao seu pipeline de renderização em tempo real usando o Metal 4. Vamos conferir padrões práticos de adoção e práticas recomendadas para alcançar resultados prontos para produção com a remoção de ruído neural do MetalFX, apresentando insights reais do Redshift Live da Maxon. Aprenda a treinar e implantar um mapeador de tons neurais usando o codificador de comandos de ML alinhado ao seu fluxo de trabalho gráfico. Por fim, conheça a nova API de tensores para criar e avaliar redes neurais pequenas e especializadas diretamente em seus shaders.
Capítulos
- 0:00 - Introdução
- 2:16 - MetalFX Denoising
- 9:57 - Implantar redes de ML personalizadas com o Metal 4
- 13:40 - Redes neurais embutidas com tensorOps
- 20:55 - Próximas etapas
Recursos
- Training a neural network to render irradiance in real time
- Metal sample code library
- Download the Metal Performance Primitives (MPP) Programming Guide
- Understanding the Metal 4 core API
Vídeos relacionados
WWDC25
-
Buscar neste vídeo...
-
-
8:46 - Compute camera-only motion vectors
#include <metal_stdlib> using namespace metal; // Compute camera-only motion vectors float4 clipCurrent = viewProjCurrent * float4(worldPos, 1.0); float2 ndcCurrent = clipCurrent.xy / clipCurrent.w; float4 clipPrevious = viewProjPrevious * float4(worldPos, 1.0); float2 ndcPrevious = clipPrevious.xy / clipPrevious.w; float2 motion = ndcPrevious - ndcCurrent; // Get subpixel offset for current and previous frames float2 jitterCurrent = getJitter(frameIndex); float2 jitterPrevious = getJitter(frameIndexPrevious); motion -= jitterPrevious - jitterCurrent;
-