Sun, Jan 26, 1:33 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Jan 25 9:50 pm)



Subject: ATTN: Ockham or any Python genius


beos53 ( ) posted Tue, 22 February 2005 at 2:48 PM · edited Thu, 21 November 2024 at 9:17 PM

A short time ago I was having a problem importing 3rd party BVH files, my figure would disappear (I was told they were just moved off of the scene by the BVH file). Tunesy gave me this fix (see below) for the problem and it worked fantastic. What I want to know is there a way to do this in a python script. This is Tunesy fix To have your figure 'start' the motion at the center of the studio: 1--Make note of your figures hip x, y and z trans values at frame one. 2--Apply those values with 'opposite signs' to the body x, y and z trans at frame one, e.g. negative one hundred x trans on the hip would correspond to positive one hundred x trans on the body. To see if it worked go to your main camera view and restore it (ctrl/shift/H) at frame one. The figure should be spacially oriented as if it were a default figure (except in a 'pose' now) in front of the default main camera orientation. I hope you understood what I am asking Thank you Steve

PoserPro 2014, Windows 7, AMD FX-6300 6 core, 8 GB ram, Nvidia GeForce GTX 750 Ti


ockham ( ) posted Tue, 22 February 2005 at 5:47 PM

file_190006.jpg

Here's a super-simple script to make the adjustment as given. Haven't tried it, but it *should* work. Take the attached text file and rename it to something.PY before using.....

My python page
My ShareCG freebies


ghelmer ( ) posted Tue, 22 February 2005 at 7:54 PM

Hey Ockham! Thanks for this!! I tried it it worked great!! Just wondering though... is there any way to rotate the character with this script? Every bvh I loaded had the character going sideways (left to right) I'm assuming the Y rotation wasn't affected.

The GR00VY GH0ULIE!

You are pure, you are snow
We are the useless sluts that they mould
Rock n roll is our epiphany
Culture, alienation, boredom and despair


ockham ( ) posted Tue, 22 February 2005 at 9:55 PM

Couldn't you just rotate the BODY at frame 1? You might also try my 'BVH Mixer' script, which loads the BVH with several options that Poser doesn't give you.

My python page
My ShareCG freebies


ghelmer ( ) posted Tue, 22 February 2005 at 11:35 PM

even after keyframing frame 1 after rotating, it promptly starts turning at the next frame... I'll try your bvh mixer script next and we'll see what happens! Thanks! G

The GR00VY GH0ULIE!

You are pure, you are snow
We are the useless sluts that they mould
Rock n roll is our epiphany
Culture, alienation, boredom and despair


beos53 ( ) posted Wed, 23 February 2005 at 1:04 AM

Thank you very much, you made my life, and most likely others a little bit simpler Thanks again

PoserPro 2014, Windows 7, AMD FX-6300 6 core, 8 GB ram, Nvidia GeForce GTX 750 Ti


Tunesy ( ) posted Wed, 23 February 2005 at 9:22 AM

" even after keyframing frame 1 after rotating, it promptly starts turning at the next frame... " 1--Go to frame one and determine how much you need to change the y rot value, but don't change it yet. 2--Go to the graph for y rot, highlight all keys, hold down 'Ctrl' and drag all keys up or down by the amount that you determined in step one.


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.