TechnicallyArtistic
01-30-2006, 05:40 AM
So a few questions in sucession. If I get a few answers I might be able to figure out the rest on my own.
So first off, say we have an object, such as a sphere, and a surface, such as a plane.
I know there's a way to do this. So if that plane had multiple colors on it, how could you make it so that if the sphere passed over the plane the sphere would sample the color of the plane from the point it was over and change the sphere, or at least the spheres shader that color?
If we can figure that out, the next step is rather than have the whole sphere change a single color, can we have it sample multiple points and change multiple colors at once? Kinda like projecting the image from the plane onto the sphere, without necisarily doing a texture projection, or using lights. Or, similarly, like a sphere passing through a box. Inside the box the object is one color, and outside it's another. If it's half way through the box, it'd be both colors.
Ultimatly, I have paint effects hair on a head. I want the hair to sample the head, or a shape enveloping the hair or something to say what ever is inside this part of the box is this color, and what ever is outside the box is another color, and not have it apply to the whole strand of hiar. We're trying to get the look of a stripe dyed into the hair, and dyed hair isn't always the same color root to tip. It's just how much of the hair was within that shape you were trying to make while dying it. So that's my final goal, but I'll take any of the baby steps I can to get there. We've got a ton of curves to work with to fill in the shape. We just need a way to not have it look like it's growing that color, but it's been painted that color.
And to be super picky, ultimately, we'd like a little variation in the hair colors, so verying shades of brown or blond (like hair highlights), but still have a nicely defined dye line. Also, eventualy would like dynamics on the hair curves, so if anybody can think of a way to lock the color sample into place at some point, that'd be great too... ( I know, I'm so demanding...)
So any sugestions?
So first off, say we have an object, such as a sphere, and a surface, such as a plane.
I know there's a way to do this. So if that plane had multiple colors on it, how could you make it so that if the sphere passed over the plane the sphere would sample the color of the plane from the point it was over and change the sphere, or at least the spheres shader that color?
If we can figure that out, the next step is rather than have the whole sphere change a single color, can we have it sample multiple points and change multiple colors at once? Kinda like projecting the image from the plane onto the sphere, without necisarily doing a texture projection, or using lights. Or, similarly, like a sphere passing through a box. Inside the box the object is one color, and outside it's another. If it's half way through the box, it'd be both colors.
Ultimatly, I have paint effects hair on a head. I want the hair to sample the head, or a shape enveloping the hair or something to say what ever is inside this part of the box is this color, and what ever is outside the box is another color, and not have it apply to the whole strand of hiar. We're trying to get the look of a stripe dyed into the hair, and dyed hair isn't always the same color root to tip. It's just how much of the hair was within that shape you were trying to make while dying it. So that's my final goal, but I'll take any of the baby steps I can to get there. We've got a ton of curves to work with to fill in the shape. We just need a way to not have it look like it's growing that color, but it's been painted that color.
And to be super picky, ultimately, we'd like a little variation in the hair colors, so verying shades of brown or blond (like hair highlights), but still have a nicely defined dye line. Also, eventualy would like dynamics on the hair curves, so if anybody can think of a way to lock the color sample into place at some point, that'd be great too... ( I know, I'm so demanding...)
So any sugestions?
