Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 21-07-2008 , 06:44 PM
cormophyte's Avatar
Registered User
Join Date: Mar 2008
Location: Providence, Rhode Island
Posts: 5

Create Pine Needle Cover On Model

I'm modeling the shape of a character that I want to be covered in pine needles in order to make it look as if it's made of said needles (and some other random litter, but that's outside the scope of this post). The needles will need to range in their state of decay and not just be a uniform color.

I was thinking of making a high point density polygonal model of the character and writing a mel script to make a copy of a low poly needle at the position of each point with a random orientation and with one of several needle shaders. I have a few issues with this which are as follows...

1. Is this the best way to get these needles in the shape of the model?

2. I'm familiar with C and scripting languages, but have never written anything in mel and don't know where to begin to spawn an object on a per-point basis, or if the coordinates for each point of an object is even available to script against (although I'm pretty sure it is).

2. I'm going to have a few close up shots of this character, which is why I want geometry and not just a displacement map, however I realize no matter how conservative with the needles, they're going to add up to be a whole lot of polys. It needs to be geometry at render time or it'll never look right when the camera's up close, but is there a better way to do this?

I'm going to be looking for reference materials to solve this, especially problem 2, but finding that sort of exact information's hard, so I'd appreciate any help, tugs in the right direction, code snippets you can spare. Thanks, guys.

# 2 21-07-2008 , 08:25 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
I don't have a crystal clear image of what you need to do but I think you can get the look of pine needles with fur maybe even hair I dunno (assuming you have unlimited) and why don't you have 2 different versions, a close up version so you can concentrate detail where it needs to be and another version thats not as detailed for not so close shots?


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 3 22-07-2008 , 10:08 AM
bendingiscool's Avatar
Subscriber
Join Date: Jul 2006
Location: London
Posts: 567
As GecT mentioned you could probably use fur or hair for this kind of effect.

Another way you could potentially do it (and how I would personally attempt something like this) would be to make your model a particle surface emiiter and instance various size needles on to the particles on the surface, you could then use per particle attributes and so on, could probably also do this for the scale of the needles.

Theres a general idea of how to go about it, if ya need some more help just ask and I shall see what else I can do.

Chris

# 4 22-07-2008 , 10:21 AM
cormophyte's Avatar
Registered User
Join Date: Mar 2008
Location: Providence, Rhode Island
Posts: 5

Thank You Both

Those are both really good ideas. I've been messing around with the hair and it looks like with the dynamics off it can potentially give me what I want once I learn all the parameters available. The particle emitter route sounds like a good option as well with some more fine control over the shape of the needles. I'll mess around with both and see what gives me a better look/render ratio.

Oh, and I was considering creating a lower-res model for wide shots, but I wanted to be able to push in on the character without doing anything hinky in post. Plus, the output will be at least 1280x720 and not SD, so the low-res version would have to be really...really visually similar to the full-res for it to look right in anything but very wide shots.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads