Thu, Nov 28, 8:34 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 28 11:20 am)



Subject: Poser 5 - Materials Room - P Node


JamieReid ( ) posted Fri, 11 February 2005 at 11:19 PM · edited Thu, 28 November 2024 at 8:31 PM

Can anyone help explain the P node a little better? How it works, maybe an example of it in use. This may be a repost - sorry if is.


nruddock ( ) posted Sat, 12 February 2005 at 12:13 AM

file_183945.jpg

It outputs the position, as a vector, of the point in space where the material is being evaluated. You use where you want the material output to depend on the objects place in the scene, as with the "Global Coordinates" option in some of the 3D Textures.


JamieReid ( ) posted Sat, 12 February 2005 at 1:28 AM

Thank you, that's what i thought but I can't get the effect I'm looking for. I want a snapshot of a figure appearing to fade from the bottom up. I tried pluging a P node (x=0,y=1,z=0) into a color ramp (white to black) and pluged that into the tranceparancy (set to 1)? However this fades too quickly and only the feet fade. Changing the y to a higher value only makes the fading transistion sharper not higher up on the figure. How do raise the overall fading height?


operaguy ( ) posted Sat, 12 February 2005 at 3:48 AM

bookmark. the complexity and power of the material room captivates me. ::::: Opera :::::


ynsaen ( ) posted Sat, 12 February 2005 at 7:08 AM

Remember that the material is only going to apply as far along the figure as that material zone applies -- and is only going to apply to the material zone.

thou and I, my friend, can, in the most flunkey world, make, each of us, one non-flunkey, one hero, if we like: that will be two heroes to begin with. (Carlyle)


nruddock ( ) posted Sat, 12 February 2005 at 11:31 AM

file_183946.jpg

There are two things you will need to do to the Y value 1) Add an offset 2) Multiply by a scale factor.

To determine the values to use you need to know the minimum and maximum Y coordinates of the figure, call these Ymin and Ymax.
As you want the transparency to go from 0 to 1, the values for the offset and scale factor are then as follows :-
Scale factor = (Ymax - Ymin)
Offset = -Ymin

Don't forget to set the Edge and Falloff to 0


JamieReid ( ) posted Sat, 12 February 2005 at 12:42 PM

Ahh,yes. That's exactly what I was looking for. Thank you very much, nruddock, for the mini-tutorial.


Ajax ( ) posted Sat, 12 February 2005 at 9:37 PM

file_183947.jpg

For working out what height settings you want to use for height dependent materials, here's a handy measuring material.


View Ajax's Gallery - View Ajax's Freestuff - View Ajax's Store - Send Ajax a message


Ajax ( ) posted Sat, 12 February 2005 at 9:42 PM

file_183948.jpg

This is essentially the same as nruddock's shader in post 6, but if you are using the measuring shader to work out where you want things to happen then you might find this one more intuitive to set. Use math functions 3 to set the height where you want transition to begin and use math functions 5 to set how many height units you want the transition to last for.


View Ajax's Gallery - View Ajax's Freestuff - View Ajax's Store - Send Ajax a message


Ajax ( ) posted Sat, 12 February 2005 at 9:51 PM

file_183950.jpg

Here's a more interesting version of the measuring shader. This one has half of the ruler showing ten unit intervals. This will work on any of the plane props that come with Poser. It relies on UV coords to make the split between the two measurement scales, so you need a correctly UV mapped object to use as a ruler. Note that all of these measuring materials are scale independent so you can scale your measuring prop as much as you like and the units will still be accurate.


View Ajax's Gallery - View Ajax's Freestuff - View Ajax's Store - Send Ajax a message


operaguy ( ) posted Sat, 12 February 2005 at 9:52 PM

fantastic!


Ajax ( ) posted Sat, 12 February 2005 at 9:55 PM

file_183951.jpg

One more. This is a similar idea to the last one except you don't need to worry about UV mapping for this one. Each stripe is one unit. The colours change every ten units.


View Ajax's Gallery - View Ajax's Freestuff - View Ajax's Store - Send Ajax a message


JamieReid ( ) posted Wed, 16 February 2005 at 1:13 PM

Thank you, too Ajax. It amazing what you can do with the material's room. :)


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.