Droolz
09-19-2005, 10:52 AM
Hi All,
I've only just startted learning mel, unfortunatly a project has come along that requires a specific script that is beyond me for the time being. What I would like is for someone to write the script and explain it / thoroughly comment it for me, I realise that this is pushing it a bit and if this is too much of a demand for people's time I'd be happy to pay a bit, please PM me if this sounds more appropriate (please excuse if this is also happens to be a vitual faux par).
The script is required to distribute icicles around a city scape....
There are two versions that could be produced. I imagine the first would be tougher than the second, but more useful...
The first script needs to:
run through all objects in a scene [all polygons], on any face it encounters that is facing downwards [in relation to the world], or preferably 'nearly downwards', it will distribute a specified object around the edge's of this face. The specified object will be randomly sized [between certain limits]. The duplicated object should not poke 'over the edge' of the face [i.e. the duplicated objects bounding box should not exceed the bounding box long x & z of the target face] and it would be nice to have occasional gaps between - please see attached image for clarification of what the end effect should look like.
The second script needs to:
Do exactly the same, but be on a selected face basis. I.e. you can apply the script to individual faces.
I hope this makes sense, and the spec is stright forward enough. Thanks for reading!
Jules
I've only just startted learning mel, unfortunatly a project has come along that requires a specific script that is beyond me for the time being. What I would like is for someone to write the script and explain it / thoroughly comment it for me, I realise that this is pushing it a bit and if this is too much of a demand for people's time I'd be happy to pay a bit, please PM me if this sounds more appropriate (please excuse if this is also happens to be a vitual faux par).
The script is required to distribute icicles around a city scape....
There are two versions that could be produced. I imagine the first would be tougher than the second, but more useful...
The first script needs to:
run through all objects in a scene [all polygons], on any face it encounters that is facing downwards [in relation to the world], or preferably 'nearly downwards', it will distribute a specified object around the edge's of this face. The specified object will be randomly sized [between certain limits]. The duplicated object should not poke 'over the edge' of the face [i.e. the duplicated objects bounding box should not exceed the bounding box long x & z of the target face] and it would be nice to have occasional gaps between - please see attached image for clarification of what the end effect should look like.
The second script needs to:
Do exactly the same, but be on a selected face basis. I.e. you can apply the script to individual faces.
I hope this makes sense, and the spec is stright forward enough. Thanks for reading!
Jules
