---
title: Rendering a curve primitive in a ray tracing scene
framework: metal
role: sampleCode
role_heading: Sample Code
path: metal/rendering-a-curve-primitive-in-a-ray-tracing-scene
---

# Rendering a curve primitive in a ray tracing scene

Implement ray traced rendering using GPU-based parallel processing.

## Overview

Overview note: This sample code project is associated with WWDC23 session 10128: Your guide to Metal ray tracing. Configure the sample code project This sample requires the following system and software configuration: macOS 14 or later iOS 17 or later Xcode 15 or later

## See Also

### Ray tracing

- [Rendering reflections in real time using ray tracing](metal/rendering-reflections-in-real-time-using-ray-tracing.md)
- [Accelerating ray tracing using Metal](metal/accelerating-ray-tracing-using-metal.md)
- [Control the ray tracing process using intersection queries](metal/control-the-ray-tracing-process-using-intersection-queries.md)
- [Accelerating ray tracing and motion blur using Metal](metal/accelerating-ray-tracing-and-motion-blur-using-metal.md)
