Rendering Lines in Mantra

   5285   2   1
User Avatar
Member
10 posts
Joined: Jan. 2020
Offline
Hello! I followed a youtube tutorial about creating procedural grass [www.youtube.com] and I am trying to render it using Mantra. My lines are set up as Primitive Type Polygon. I set up my material, set up the geometry node to Render Polygon Curves as Subdivision (Mantra)and to Shade Curves As Surfacesbut my lines look more like wide planes and I can't seem to adjust the width (see the attached images).

I am clearly missing something simple but I can't seem to figure it out or find the answer when I poke around online. I am a total Houdini noob and any help would be appreciated.

Attachments:
grass_2.png (1.1 MB)
grass_3.png (1.2 MB)

User Avatar
Member
201 posts
Joined: July 2015
Offline
At around 3:30 he creates a “pscale” attribute on the points where the curves end up on. This sets the width of the blades.

In H18.5 the scattering of objects on surfaces like your grassblades got a lot easier. Watch the recent Entagma tutorial for that here [www.youtube.com].
Manuel Köster - Senior Technical Artist @Remedy Entertainment

https://www.remedygames.com/ [www.remedygames.com]
http://shadesoforange.de/ [shadesoforange.de]
https://twitter.com/ShadesOfOrange_ [twitter.com]
User Avatar
Member
100 posts
Joined: Feb. 2020
Offline
BackwardsCaptain
Hello! I followed a youtube tutorial about creating procedural grass [www.youtube.com] and I am trying to render it using Mantra. My lines are set up as Primitive Type Polygon. I set up my material, set up the geometry node to Render Polygon Curves as Subdivision (Mantra)and to Shade Curves As Surfacesbut my lines look more like wide planes and I can't seem to adjust the width (see the attached images).

I am clearly missing something simple but I can't seem to figure it out or find the answer when I poke around online. I am a total Houdini noob and any help would be appreciated.

I've created Attribute Create with pscale after the Line-Bend-Resample.
Helped.
Edited by SerjKirchano - April 29, 2023 04:00:45
  • Quick Links