Forum: Poser Technical


Subject: Is there a way to make 'generic' MATs for props?

maclean opened this issue on Mar 15, 2003 ยท 6 posts


maclean posted Sun, 16 March 2003 at 9:54 AM

WEll, I didn't quite find what I was looking for, but what I did find could be pretty damned useful. I saved a cr2 figure with 2 parented props and built a MAT from the cr2. Here it is (I stripped down a bit to save space) ------------------------------------ { version { number 4.01 } actor BODY:1 { channels { rotateY yrot { keys { k 0 90 } } translateX xtran { keys { k 0 -1 } } translateY ytran { keys { k 0 1 } } } } prop area02_1:1 { channels { rotateY yRotate { keys { k 0 90 } } translateX xTran { keys { k 0 3 } } } material front { KdColor 1 1 1 1 KaColor 0 0 0 1 KsColor 0 0 0 1 tMax 1 } } prop area01_1:1 { channels { rotateY yRotate { keys { k 0 45 } } translateX xTran { keys { k 0 -1 } } } } figure { material floor { KdColor 0 0 0 1 KaColor 0 0 0 1 KsColor 0 0 0 1 tMax 0 } } } ----------------------------------- Fairly standard. But the interesting thing about this is, it will affect the props NO MATTER WHAT FIGURE is in the doc window. And once the props are saved as smart-props, the minute you open them with ANY figure at all in poser, the MAT works every time. I had them parented to a room. I opened them with the P4 fem and the MAT still worked. So, this means all you have to do is parent any number of props to whatever figure you like, resave them as smart-props, then, as long as there's some kind of figure in poser, the MATs will work. I don't know if this is anything new, but I didn't know it. I assumed that, to accept a MAT, a prop had to be with it's own parent. It seems it can be with an 'uncle' or 'aunt' too. LOL. mac