# sdk - creating poly and hair geometry

**URL:** <https://forums.chaos.com/t/sdk-creating-poly-and-hair-geometry/27165>\
**Category:** General\
**Created:** [February 15, 2011, 1:26pm UTC](https://forums.chaos.com/t/sdk-creating-poly-and-hair-geometry/27165 "2011-02-15T13:26:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![haggi](https://avatars.discourse-cdn.com/v4/letter/h/bcef8e/32.png) [@haggi](https://forums.chaos.com/u/haggi)\
**Post date:** [February 15, 2011, 1:26pm UTC](https://forums.chaos.com/t/sdk-creating-poly-and-hair-geometry/27165/1 "2011-02-15T13:26:15Z")

</div>

I’m not sure if this is the correct place to as such a sdk question but I could not find another appropriate forum.

I’m trying to find a way through the examples for creating geometry during rendertime. To be honest, I find the examples a little bit complex - at least for me.

What I want to do is to create procedural geometry for our fur pipeline.

In mentalray I have a geometry shader which is executed at the start of rendering and creates a lot of placeholders which produce fur strands as soon as they are touched by the renderer. The fur has some per hair and per vertex informations. Now I want to implement this fur tool for vray.

What would be great is to have an example how a single procedural hair is created maybe in such a order (if possible):

- create a procedural which is exported from maya  
- this procedural reads some data from disk and creates all necessary fur infos and it creates all necessary procedural geometry for fur rendering at start of frame rendering.  
- the procedural wich is called as soon as the bounding box is touched by the renderer and creates the actual hair strands.

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [February 15, 2011, 5:20pm UTC](https://forums.chaos.com/t/sdk-creating-poly-and-hair-geometry/27165/2 "2011-02-15T17:20:54Z")

</div>

There is an example of how to create a custom geometry plugin in the maya\_plugins folder of the SDK (the vrayplane example). From then on, you can take a look at the GeomHair plugin, which is the implementation of the VRayFur plugin as well as the Maya hair rendering part, and modify them as you need.

Best regards,  
Vlado
