# Random curves on a surface

 08 August 2013 leonfcs New Member   León Carrizosa Digital image and sound designer Chia, Colombia Random curves on a surface Hi there, Is there any mel script to help to create random curves on a surface? I trying to create something like this: Thanks. __________________ ::: León ::: share quote
 08 August 2013 ogbonna Veteran portfolio Nathaniel Anozie Baltimore, USA Hi, -------- idea A -------- basically use 2D circle sampling to sample points on the 3D mesh, then use an algorithm to draw curves using two 3d points that lie on 3D mesh. using a circle ----------------- Maybe put the 3D spherical object at 0,0,0. Then make a 2D circle that roughly fits the 3d spherical one (save the distance from the center of circle to the outer of circle ... the radius). sampling ----------- Then maybe have something that samples two points in a circle with given radius. Then use one of Maya's closest point on mesh to get where the sampled point would be if it was on the top half of the 3D object. (maybe make a copy of 3D object but only keep its upper half and use that to get two 3D points for each sampled 2D point). draw ------ use a Maya command to draw a curve between each pair of 3D points. Maybe extrude something along curve to create twirly thingies. ------- idea B ------- Maybe there is a way to use the randomess of a noise texture on a nurbs surface roughly fit to 3D object. Then maybe find 3D positions using UV maps where the texture meets some criteria. (example where the noise texture is really dark pick two uvs there, then find the pair of 3D positions by using UVs, and draw curves for them). I think the advantage of this one is the artistic control of the texture to create different effects. Hope this was helpful. cheers, -Nate Maybe check out Ben Tilly's idea for sampling points on a circle http://stackoverflow.com/questions/...ircle-uniformly (bentilly dot blogspot dot com) share quote
 08 August 2013 CGTalk Moderation Expert Thread automatically closed This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum. __________________ CGTalk Policy/Legalities Note that as CGTalk Members, you agree to the terms and conditions of using this website. share quote

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off CGSociety Society of Digital Artists www.cgsociety.org Powered by vBulletinCopyright ©2000 - 2006, Jelsoft Enterprises Ltd.