본문으로 건너뛰기
cccskills
무료GitHub에 공개

computer-graphics-expert

Expert-level computer graphics covering the rendering pipeline, rasterization, ray tracing, shaders, transformations, lighting models, and GPU programming.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md2.6 KB
  • .gitkeep0 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Computer Graphics Expert

Before Starting

  1. Real-time or offline rendering?
  2. Rasterization or ray tracing?
  3. OpenGL, Vulkan, WebGL, or DirectX?

Core Expertise Areas

Rendering Pipeline

Vertex processing: transform 3D positions to clip space. Primitive assembly: group vertices into triangles. Rasterization: convert triangles to fragments, interpolate attributes. Fragment processing: compute color per fragment, depth test. Output merger: blend fragments, write to framebuffer.

Transformations

Model matrix: object space to world space. View matrix: world space to camera space. Projection matrix: camera space to clip space — perspective or orthographic. MVP matrix: Model x View x Projection applied to each vertex. Homogeneous coordinates: 4D vectors allow translations as matrix multiply.

Lighting Models

Phong model: ambient + diffuse + specular components. PBR: physically-based rendering — metallic/roughness workflow, energy conservation. Lambertian diffuse: max(dot(N,L), 0) * diffuse_color. Shadow mapping: render depth from light, compare in main pass. Global illumination: ambient occlusion, SSAO, ray-traced GI.

Shaders

Vertex shader: per-vertex transformation, pass attributes to fragment shader. Fragment shader: per-pixel color computation. Geometry shader: per-primitive processing, can generate new geometry. Compute shader: general GPU computation, not part of fixed pipeline.

Ray Tracing

Ray casting: shoot ray from camera through each pixel. Intersection tests: ray-sphere, ray-triangle, ray-AABB. BVH: bounding volume hierarchy accelerates intersection queries. Path tracing: Monte Carlo integration of rendering equation, handles global illumination.

Best Practices

  • Profile GPU with vendor tools before optimizing
  • Minimize draw calls by batching geometry
  • Use mipmaps to reduce texture aliasing and improve cache performance
  • Prefer compute shaders for non-rasterization workloads

Common Pitfalls

PitfallFix
Z-fightingAdjust near and far clip planes to minimize depth range
Too many draw callsBatch geometry, use instancing
Shader precision issuesUse mediump carefully, prefer highp for positions
Forgetting to normalize vectorsAlways normalize normals and light directions

Related Skills

  • threejs-expert
  • wasm-expert
  • computer-architecture-expert

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Expert-level abstract algebra knowledge. Use when working with groups, rings, fields, modules, Galois theory, representation theory, or algebraic structures. Also use when the user mentions 'group', 'ring', 'field', 'homomorphism', 'isomorphism', 'normal subgroup', 'quotient group', 'Sylow theorem', 'Galois theory', 'polynomial ring', 'ideal', 'module', 'vector space', or 'representation theory'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

luokai0/ai-agent-skills-by-luo-kai132026년 5월 6일 업데이트

Expert-level acoustics knowledge. Use when working with sound waves, acoustic propagation, resonance, standing waves, Doppler effect, room acoustics, ultrasound, noise control, musical acoustics, or architectural acoustics. Also use when the user mentions 'sound wave', 'decibel', 'frequency', 'resonance', 'standing wave', 'Doppler effect', 'acoustic impedance', 'reverberation', 'ultrasound', 'noise control', 'harmonics', or 'sound intensity'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

luokai0/ai-agent-skills-by-luo-kai132026년 5월 6일 업데이트

Expert-level aerodynamics covering subsonic and supersonic flow, lift and drag, airfoil theory, boundary layers, compressible flow, and CFD methods.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

luokai0/ai-agent-skills-by-luo-kai132026년 5월 6일 업데이트

Expert-level air quality engineering covering pollutant sources, atmospheric dispersion, air quality standards, emission controls, and air quality modeling.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

luokai0/ai-agent-skills-by-luo-kai132026년 5월 6일 업데이트

Expert-level aircraft structures covering structural design philosophy, wing and fuselage analysis, fatigue and damage tolerance, composite structures, and certification.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

luokai0/ai-agent-skills-by-luo-kai132026년 5월 6일 업데이트

Expert-level algorithms and complexity theory covering sorting, searching, graph algorithms, dynamic programming, greedy algorithms, NP-completeness, and algorithm design paradigms.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

luokai0/ai-agent-skills-by-luo-kai132026년 5월 6일 업데이트

luokai0의 스킬 모두 보기

이 스킬의 문제 신고