Link to this page location: #top

Script SOP - Building own geometry Tools

The geometry tool I need isn't in TouchDesigner

You're past the basics, go deep into SOPs and keep reaching for operators Houdini has and TouchDesigner doesn't. Writing them yourself in Python looks like a job for a developer.

€315Enroll
Course facts
Structure:
4 modules, 12 lessons
Video:
5.7 h in total
Pace:
All lessons open
Access:
2 years
Language:
English
Level:
Advanced
01About the courseconcept1 COMP

About the course

Aboutthecourse

  1. 01

    the starting point

    This course is the companion to 302: there you build complex geometry on the GPU, here you use Python to write your own SOP operators in TouchDesigner. It is for advanced TouchDesigner users who want to solve hard geometry problems with Python.

  2. 02

    what you build

    After the basics of SOPs and Python in the Script SOP, you build a set of operators that Houdini has and TouchDesigner does not: several extrude tools (from centroids, from points, by faces, with inset and rotation), Measure Area, Scatter, Attribute Transfer and a curve-polygon intersection finder. You also go into harder techniques: Delaunay triangulation of a point set and contour extraction from a camera image with OpenCV.

Courseaims

  1. 01

    To develop an understanding of how TouchDesigner stores geometry as points, vertices, primitives and attributes, and how a Script SOP builds new geometry from it in Python.

  2. 02

    To develop practical skills in writing Script SOP tools in Python: extrusion with inset and rotation, area measure, scatter, Delaunay triangulation, distance-based deformation, and OpenCV contours and Matplotlib curve selection from camera images.

Course modules

  1. Foundations ·
  2. Extrusion Toolkit ·
  3. Generation & Analysis Tools ·
  4. Computer-Vision Geometry ·
02 For whom & outcomesaudience1 DAT

Who this course is for

3D and motion artists/01Installation artists/02Media engineers/03Creative Coders/04
audience1DAT/ match

For you if

    • 3D and motion artists — You already model with SOPs, and this course is for the moment a geometry problem needs an operator TouchDesigner does not have, so you write it yourself in Python.
    • Installation artists — Your spaces and camera inputs often call for geometry that the standard SOPs cannot make, and this course is about solving those hard geometry problems with your own Python tools.
    • Media engineers — You need geometry tools you can read, control and extend, and here you write them as Script SOP operators in Python instead of piling up node workarounds.
    • Creative Coders — You think in code, and this course puts that code straight into TouchDesigner geometry through the Script SOP, at an advanced level, alongside the GPU geometry of 302.
    → audience14 reasons
    prerequisitesDAT/ no match

    Not for you if

    prerequisites & not for you if
    1. –you do not meet the requirements in “Before you start”
    2. –you have neither taken TouchDesigner 101: Extreme I and TouchDesigner 102: Extreme II nor gained equivalent experience
    → prerequisites2 exclusions

    Before you start

    Completion of TouchDesigner 101: Extreme I and TouchDesigner 102: Extreme II, or an equivalent working knowledge of TouchDesigner SOP geometry workflow, polygon and curve modeling, TouchDesigner point attributes, and Level TOP image adjustment.

    Prerequisites:TouchDesigner 101: Extreme I, TouchDesigner 102: Extreme II

    Not taken them yet? Both are in theTouchDesigner Extreme Bundle.

    What you will be able to do

    1. 01Read points, vertices, primitives and attributes from Python and write custom SOP operators with the Script SOP that build them.
    2. 02Build extrude tools from centroids, points and faces, with inset, rotation, normals and correct face winding.
    3. 03Build Houdini-style tools: Measure Area, Scatter and distance-based attribute transfer.
    4. 04Use Python modules beyond the standard library: SciPy for Delaunay triangulation, OpenCV for contours from a camera image, and Matplotlib paths for curve-polygon intersections.
    03 Programmeprogram1 TOP

    Programme

    01

    Foundations

    2 videos · 1 h 4 min

    Lesson 1. SOP Geometry Components and Attributes · 29 min

    In this lesson we learn how TouchDesigner stores geometry as points, vertices, primitives and attributes, so you can read and build it by hand later. We inspect the data, see why vertices give a flat or smooth look, add a colour attribute, and meet groups as selection masks.

    Lesson 2. Python Geometry in the Script SOP · 35 min

    In this lesson we learn to read TouchDesigner operators and their points, primitives and vertices as Python objects, and to inspect their properties. We then build a first Script SOP: it clears old geometry, copies an input and switches between inputs with a custom integer parameter, so the node does not pile up geometry each frame.

    02

    Extrusion Toolkit

    4 videos · 1 h 51 min

    Lesson 3. Vertex extrusion prototype; Generating polygon centre points · 43 min

    In this lesson we write a Script SOP tool that puts a centre point with the polygon's normal in every polygon, handy for instancing objects onto faces. Then we prepare the calculations for a polygon-extrusion tool: we sketch the task, loop over each polygon's vertices, offset points along normals and find each vertex's neighbours.

    Lesson 4. Building a Script SOP vertex extrusion tool · 22 min

    In this lesson we turn the calculated points of a vertex-extrusion tool into spiked geometry: a connected triangle mesh with flat normals, built through a reusable helper function. Then we add a centre extrusion and give every peak its own random length through the pscale attribute, producing geometric patterns.

    Lesson 5. Building a polygon extrusion tool · 18 min

    In this lesson we build a polygon-extrusion tool from first principles: a face is copied along its normal and its edges are joined to the copy with side walls built around the boundary. We keep the vertex order consistent and add a small helper that gives every generated face flat normals.

    Lesson 6. Inset-rotating polygon extrusions; Flipping side-wall triangles at negative angles · 28 min

    In this lesson we build a polygon-extrusion tool with two controls: inset scaling of the front face and rotation around the normal using quaternions. We calculate all new point positions first, then build the front and side faces from them, and fix the face winding of the side triangles for negative rotation angles.

    03

    Generation & Analysis Tools

    4 videos · 1 h 59 min

    Lesson 7. Measuring polygon areas with a Script SOP · 26 min

    In this lesson we build a tool that measures the area of every polygon, the first step of a scatter that spreads points evenly over any surface. We calculate triangle area from point positions, store absolute, relative and total area on each primitive, and extend the method to polygons with more sides.

    Lesson 8. Building a surface scatter tool with Script SOP · 36 min

    In this lesson we build a surface-scattering tool that places points on any polygonal surface, with more points on larger polygons. Controls set the point count, seed and scale, and each point carries a normal, a scale and the number of its source polygon. We check the result by instancing spheres on the points.

    Lesson 9. Building Delaunay triangulation from scattered points · 26 min

    In this lesson we build a Delaunay triangulation of scattered points on a flat grid with SciPy. We install a SciPy version that matches TouchDesigner's NumPy, keep the border points, and turn the triangle index lists SciPy returns into polygons with normals. The method works only on flat, two-dimensional point sets.

    Lesson 10. Attribute Transfer: Distance-Based Deformation · 30 min

    In this lesson we build a distance-based deformation tool inspired by Houdini's Attribute Transfer: a curve pushes out the triangles near it, and the push fades as distance grows. We draw the curve, set a distance threshold, falloff power and extrude amount, then rebuild each affected triangle around its raised centre.

    04

    Computer-Vision Geometry

    2 videos · 50 min

    Lesson 11. OpenCV Contours to Script SOP Geometry · 25 min

    In this lesson we turn a live camera image into polygon geometry with OpenCV contours in a Script SOP. We prepare a high-contrast monochrome image, convert it for OpenCV, find the contours and build open polylines from them. We also see why a clean source keeps it fast.

    Lesson 12. Selecting grid polygons with Matplotlib Path · 25 min

    In this lesson we select the polygons of a grid that a drawn curve passes through. We turn the curve into regular points, test every polygon against them with Matplotlib paths and collect the hits into a primitive group that later nodes can use.

    After this course

    Bundles and learning paths with this course

    04 Course facts & formatpassport1 COMP

    How the course works

    The course is recorded and you take it at your own pace.

    Every lesson is open from the first day. We recommend taking one lesson a week: it keeps a steady rhythm.

    5.7 h in total

    4 modules, 12 lessons

    All lessons open

    05 Pricing & paymentbook1 DAT

    Price and what's included

    tier15.7 h video
    TouchDesigner · custom tools

    304 Script SOP

    €315
    • Access to all video recordings for 730 days
    • The project files used in the lessons
    Enroll
    → hou2touch.com/304self-paced
    payment & vat

    What you get

    • Access to all video recordings for 730 days
    • The project files used in the lessons

    Payment

    The price is final and the same for everyone. It includes German VAT (19%). Buyers outside the EU and EU businesses with a valid VAT ID pay the same price; their invoice shows no VAT (reverse charge).

    You can pay by card (Stripe), PayPal or bank transfer.

    06 FAQfaq1 DAT

    FAQ

    11 questions
    01How long will I have access to the lessons?

    730 days. If you need more time, write to us and we extend it.

    02Why pay for the course if there are free tutorials on YouTube?

    YouTube tutorials are made to teach one specific technique, usually without a system or a methodology. We teach you to understand systematically how the logic of node architecture works, with a balance between a practical and an academic approach.

    03I work on a Mac. Will the course work for me?

    Yes. More on requirements — see "What computer and software do I need?".

    04What computer and software do I need?

    Windows is more efficient for this work; a Mac works too, but with limits from 3D drivers and some Nvidia-only TouchDesigner operators. TouchDesigner 2023 or later: Windows 10/11 or macOS 13+ (Apple Silicon recommended); a GPU with Vulkan 1.1 and at least 4 GB of video memory, 8 GB or more recommended.

    05Is the free version of the software enough?

    TouchDesigner Non-Commercial is enough. Houdini Apprentice formally covers most of the course, but to work efficiently you need a Houdini Education licence for students ($95 a year) or Houdini Indie ($299 for one year, $449 for two).

    06Is there code in the course?

    Yes: this course is about Python in the Script SOP — you write your own geometry tools; deep Python knowledge is not needed.

    07Do you issue a certificate?

    We don't issue certificates. What you take away is experience and the project files, and if you do all the assignments, a portfolio of your own works.

    08Can I get an invoice for my employer or company?

    Yes, we issue invoices to companies. Write to us before you pay.

    09Are there subtitles?

    Yes, every lesson has subtitles.

    10How much time will the course take?

    About 14–17 hours including practice: the course has 5.7 h of video, and each hour of video takes 2.5–3 hours to watch, rewatch and do the assignments.

    11Are project files included?

    Yes, every course comes with its project files.

    Didn't find your answer, or not sure the course fits you?

    Telegram: https://t.me/prcdrl or write to support in your GetCourse account.

    07 Your teacherauthor1 COMP
    Stanislav Glazov
    Stanislav Glazov, Hou2Touch course author
    halftone · cook 0.6 sauthor1

    Stanislav Glazov

    Media artist, technical director, founder of Hou2Touch

    Stanislav started in computer graphics in 1998 with commercials and music videos, and has been teaching since 2001: Maya at RealTime School in Moscow and at SAE Institute in Munich, Houdini at Scream School, CG Event and the British Higher School of Art and Design (2008–2012). In 2009 he launched his own Houdini school, houdini-howto.com, and in 2014 he began teaching TouchDesigner. He was a character and VFX technical director on animated features at Caligari Film, Trixter and Scanline, working on rigging, cloth and hair pipelines, simulation and Maya API development. In 2010 he built the Houdini infographics pipeline for Kommersant TV, then moved into real-time visuals: video mapping at SILA SVETA and Visuals.108 (2011–2013) and, from 2013 to 2019, his own studio Licht.Pfad. He made the first Hou2Touch course in 2020 and built the school as a team in 2022. More than 2,000 people have studied with him.

    He uses Python in every project, from media servers to show tools.

    He built the media servers for three productions by Maxim Didenko: the immersive Black Russian (2016), the live interactive show Asmodeus (2018) and Tekst (2018, Yermolova Theatre), and the media server and live visuals for A Techno Ballet Odyssey by the Berlin Ballet Company at Kraftwerk Berlin (2024).

    Shown at: Berlin Atonal · Ars Electronica · Mutek Montreal · Barbican · Berghain · Fête des Lumières Lyon · Unsound · Sonar Istanbul · L.E.V.

    Worked with: Maxim Didenko · Berlin Ballet Company · Dasha Rush · Robert Lippok · Whitevoid

    Companies and clients: Scanline · Trixter · SILA SVETA · Hyundai

    Taught at: SAE Institute · Scream School · British Higher School of Art and Design · LPM Rome

    28years in CGI & real-time art
    2,000+students
    teaching since2001

    selected festivals & venues

    08 Reviewstext1 DAT
    The courses were detailed and provided some excellent examples and techniques that are difficult to find examples of elsewhere. You are definitely a world leading expert in TD.
    Phelan Kane · Music, DSP, Education, MA, MSc, Germany · Basic, Intermediate, Geometry and Scripting, GLSL, SOP on GPU · 31.12.2018
    The courses are great and are the best TD course's I've ever found. The use of a univeristy lesson plan approach coud help the structure of the courses (i.e. defined learning outcomes, overview of example aims, slightly more defined goals etc). I'm happy to help with some of the video production (i.e. RX7) or academic pedagogic approaches (i.e. learning outcome authorship) if needed. I have over 20 years of experience in the music industry and lecturing degree content, having designed 6 undergraduate and two postgraduate degree courses. I'm often in Berlin if you wan to chat!
    Phelan Kane · Music, DSP, Education, MA, MSc, Germany · Basic, Intermediate, Geometry and Scripting, GLSL, SOP on GPU · 31.12.2018
    You have always been very informative and have approached topics in a way that even most novice TD/Shader coders can get value from.
    George Leary · Automation Engineer/System Integrator, USA · Basic, Intermediate, SOP on GPU, 2D GLSL · 14.03.2019
    deep in researching and excellent approaches from point of view of proceduralism
    Esteban De Bonis · Vfx Supervisor, Argentina · Intermediate, GLSL, SOP on GPU · 01.01.2019
    all the topics are super, i cover by long my expectatives even push me to learn and achieve new objetives
    Pablo Navas · AV production services, Spain · AV Streaming · 27.06.2020
    Deep know how
    Nelson Vassalo · Designer—developer, Portugal · GLSL · 14.03.2019
    09 Enrollenroll1 CHOP
    tier15.7 h video
    TouchDesigner · custom tools

    304 Script SOP

    €315
    • Access to all video recordings for 730 days
    • The project files used in the lessons
    Enroll

    Not taken TouchDesigner 101: Extreme I and TouchDesigner 102: Extreme II yet? Both are in the TouchDesigner Extreme Bundle.

    TouchDesigner 304: Script SOP - Building own geometry Tools · Enroll