Thu, Nov 28, 2:58 PM CST

Renderosity Forums / Poser Technical



Welcome to the Poser Technical Forum

Forum Moderators: Staff

Poser Technical F.A.Q (Last Updated: 2024 Nov 13 12:50 am)

Welcome to the Poser Technical Forum.

Where computer nerds can Pull out their slide rules and not get laughed at. Pocket protectors are not required. ;-)

This is the place you come to ask questions and share new ideas about using the internal file structure of Poser to push the program past it's normal limits.

New users are encouraged to read the FAQ sections here and on the Poser forum before asking questions.



Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: ERC, Yrot and Xtrans - I need a bit of help, folks.


maclean ( ) posted Tue, 16 December 2003 at 2:21 PM · edited Tue, 26 November 2024 at 4:57 AM

file_89169.jpg

Here's a figure I built which has 3 doors. I've already done the ERC for a simple slide movement going left-right / right-left. No problem there. It works fine. Today I decided to see if I could make the 3 doors 'fold' open like a concertina using ERC. So the second ERC movement involves simultaneous Yrot and Xtrans for doors L and C, and only Yrot for door R (because it doesn't need to move anywhere). The problem is that the movement is only correct at the full value of 1.00. In between, doors L and C are moving and rotating, but door R is only rotating, which makes the whole thing wrong. Or maybe my deltas are totally wrong. The master valueParm channel has min max values of 0 and 1. Here are the 3 slave (doors) Yrot, Xtrans and delta values Yrot : -89.5 / deltaAddDelta -89.500000 Xtrans : -0.623 / deltaAddDelta -0.623000 Yrot : 89.5 / deltaAddDelta 89.500000 Xtrans : -0.639 / deltaAddDelta -0.639000 Yrot : -89.5 / deltaAddDelta -89.500000 Any suggestions as to how I can make this movement work for all 3 doors? mac


lesbentley ( ) posted Wed, 17 December 2003 at 6:54 PM

file_89173.jpg

Assuming that the origins of the doors are on the left as viewed from the front. Parent door L to door C and door C to door R. Slave the rotateY channels to a master channel with the following values for deltaAddDelta: R = -1 C = 2 L = -2 The values could also be: R = -100.000 C = 200.000 L = -200.000 It's the ratio thats important. Don't use any translateX when trying to concertina the doors.


maclean ( ) posted Wed, 17 December 2003 at 8:08 PM

hi les, There's a problem with parenting the doors to one another. This figure has about 20 body parts and if I re-parent the doors, it would involve a major hassle. Also, each door has a divider and slats parented to it. What I may do is try this with a copy of the figure and see how it goes. Thanks for the help mate! I was beginning to wonder if anyone came in here any more. mac


ToolmakerSteve ( ) posted Fri, 27 February 2004 at 9:54 PM

Unless you can "parent" as les suggests, the math simply doesn't work: the dials are linear. the values needed at the two ends are fixed by your start and end positions and angles (0, 90 degrees). Consider half-way. That's 45 degrees, and 1/2 of positional movement. Does Cos[ 45 degrees ] == 1/2? No.


ToolmakerSteve ( ) posted Fri, 27 February 2004 at 9:56 PM

Sorry, dropped into math-land, without summarizing in plain English: Therefore, the edges of "R" and "C" will not coincide throughout the movement, and you will get the "overlapping" effect you showed.


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.