Announcement

Collapse
No announcement yet.

NURBS curves

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NURBS curves

    Hi guys,
    Can't find any documentation on rendering NURBS curves and I can't seem to get them rendering correctly. I've used both the Vray attribute on the shape node and going through the create-> V-Ray renderable curve. Same results either way which I've attached an image of. The tessellation has random missing faces and the rgb ramp I've piped in via a tube shader (surface shader results in obects failing to render) is only outputting red. Does Vray support the U and V coords of NURBS curves?

    I'm running maya2014 ext SP 1, vray 24501 under linux.

    cheers!

    Matt
    Click image for larger version

Name:	VFX201.fxMaya2014Vray_curve.v1.jpg
Views:	1
Size:	97.6 KB
ID:	879193

  • #2
    These curves are actually rendered as hair. And it's somewhat normal to hit issues with bigger thikness and more complicated shaders. If you want quality and robustness, you should probably go with real geometry.
    V-Ray/PhoenixFD for Maya developer

    Comment


    • #3
      Thanks Ivaylo,
      I've tried using a VrayMtlHair and the result is the same. It's just a 2D ramp node piped into the diffuse color, nothing complex, but the shader is only displaying red. Is it possible to confirm this as either a bug or user error? if it's user error, what's the correct way to set this up? Currently it's 2Dramp(Vramp) -> VrayHairMtl.diffuseColor -> VrayRenderableCurve.material

      We use NURBS curves a fair bit for effects (motion trails). We can rebuild our fx tools to create some geometry, rather than output a NURBS curve, I just don't want to say to our FX TD "Vray doesn't really support renderable curves" if I don't have to

      Best Regards,

      Matt

      Comment


      • #4
        In order to get this to work you should connect a VRayHairSampler in your Ramp node.
        The connection should look like this: VRayHairSampler.distanceAlongStrand->ramp.uCoord
        This will work for a U ramp, for V-ramp you have to use vCoord.
        V-Ray developer

        Comment


        • #5
          The missing chunks are actually fixed in the 3.0 builds, I believe...

          Best regards,
          Vlado
          I only act like I know everything, Rogers.

          Comment


          • #6
            Fantastic, thanks guys!

            matt

            P.S. 3.0 isn't something we should be/are allowed to use in production though right?
            Last edited by mattsmith; 05-12-2013, 11:08 PM.

            Comment

            Working...
            X