|08-17-2013, 02:30 PM||#1|
Digital image and sound designer
Join Date: Feb 2003
Random curves on a surface
Is there any mel script to help to create random curves on a surface? I trying to create something like this:
::: León :::
|08-22-2013, 11:48 PM||#2|
Join Date: Dec 2008
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).
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).
use a Maya command to draw a curve between each pair of 3D points. Maybe extrude something along curve to create twirly thingies.
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.
Maybe check out
Ben Tilly's idea for sampling points on a circle
(bentilly dot blogspot dot com)
|08-22-2013, 11:48 PM||#3|
Join Date: Sep 2003
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.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|
|Thread Tools||Search this Thread|