16 threads found!
Thread | Author | Replies | Views | Last Reply |
---|---|---|---|---|
Tekitoumen | 3 | 509 | ||
Tekitoumen | 6 | 305 | ||
Tekitoumen | 7 | 631 | ||
Tekitoumen | 6 | 478 | ||
Tekitoumen | 3 | 307 | ||
Tekitoumen | 3 | 318 | ||
Tekitoumen | 11 | 680 | ||
Tekitoumen | 7 | 903 | ||
Tekitoumen | 6 | 341 | ||
Tekitoumen | 0 | 92 |
(none)
|
|
Tekitoumen | 4 | 591 | ||
Tekitoumen | 4 | 556 | ||
Tekitoumen | 4 | 352 | ||
Tekitoumen | 3 | 483 | ||
Tekitoumen | 5 | 521 |
25 comments found!
Sorry for my late response.
Thank you for your help on a difficult topic.
As you said, I think you need to think in point clouds and think about moments mathematically.
We will investigate this area further.
Thank you very much.
Thread: Export object file size is zero | Forum: Poser Python Scripting
Sorry for my late response.
I've found that you have to be careful when comparing empty strings.
I will refer to it when creating the script.
thank you very much.
Thread: About select body part of object file by python | Forum: Poser Python Scripting
Sorry about the late reply.
I was able to solve it thanks to you.
I was able to choose from pythons for each body part.
Thank you very much. Thank you for your kindness.
Thread: About select body part of object file by python | Forum: Poser Python Scripting
Thank you for your reply.
I was able to understand.
If I import the model expoted obj model again, the model will be treated as props.
I noticed that this prop contains a body part in a group.
#test_model.obj imported
actor = scene.Actor("test_model")
actGeom = actor.Geometry()
print(actGeom.Groups())
----result----
['hip', 'abdomen', 'chest', 'lThigh', 'lShin', 'lFoot', 'neck', 'head', 'lCollar', 'lShldr', 'lForeArm', 'lHand', ' rThigh', 'rShin', 'rFoot', 'rCollar', 'rShldr', 'rForeArm', 'rHand']
What I want to do now is get the coordinates of just the "hip" part, for example. (act Geom.Vertices())
Is it possible to select only one part in the group and get the vertex coordinates limited to that part?
Which method will be used?
Thank you all for your kindness.
Thread: About props and incorporation of part of the body | Forum: Poser 12
Sorry for replying late.
Thank you very much for your response.
I am very grateful to you for making a morph breathing model sample.
I think this expresses realistic movement.
The methods you have taught me get me closer to what I want to do!
thank you very much.
Thread: Export object file size is zero | Forum: Poser Python Scripting
Thank you for your reply.
When I checked the return value of Callback, it was not "True".
After checking, it seems that the cause was bad timing to create actList. (I was generating the actList before the import completed)
Also, thanks for pointing out about the "==".
Thanks to you, I was able to solve the problem.
Thank you for your kindness.
Thread: Recognizing the direction the model is facing | Forum: Poser Python Scripting
Sorry for my bad explanation.
Yes, I would like to know "what direction the model's body (body axis) is facing".
for example,
"The model's body (body axis) is facing right"
"The model's body (body axis) is facing diagonally forward."
I'm trying to automate the following in Python.
・Import the first model file (obj)
・Check the direction the model's body (body axis) is facing
・Move (edit) part of the model in that direction
・Export
・Import the second model file (obj)
···repetition
Therefore, I want to know the orientation of the model's body (body axis) on python.
As you taught me, line of sight is also an indicator.
If you know how to check the body (body axis) of the model from python, including this method, could you tell me?
Thank you.
Thread: export by python | Forum: Poser Python Scripting
sorry. I checked it and it didn't work....
After importing in python,
actor = scene.Actor("target_name")
scene. SelectActor(actor)
scene. DrawAll()
After recognizing the model like this, exporting from Python fails.
When I do the export, I get an obj file, but it's 0 bytes in size.
Since actor.Delete() succeeds, I think Poser is aware of the model.
What am I missing to recognize the model from python as well as the GUI?
Thank you.
Thread: Export files name | Forum: Poser Technical
Thread: About model recognition method for each frame | Forum: Poser 12
Thread: export by python | Forum: Poser Python Scripting
Thread: About model recognition method for each frame | Forum: Poser 12
Thank you very much.
You clearly explained what I wanted to do.
>2. The human model of each frame is separated and recognized as a still image. --- Why are you converting the human model to a still image?
>4. Export all edited images as obj file --- Again, not sure what you mean here. You want to convert an image to an OBJ file?
The reason I do this is that I want a static sampled image (obj) of the breathing moving model.
I can't write purpose. sorry.
I've found the easiest and most accurate way to create morphs as you taught me, rather than editing the coordinates of the model.
I will try the method you taught me.
Thread: About model recognition method for each frame | Forum: Poser 12
Thanks for your answer.
Sorry for asking the same question over and over again.
I was disorganized.
I would like to solve the problem by outputting an obj file with part information using the method you taught me. Thank you very much.
that's right. I meant reducing the polygon count.
For this, I would like to compare the features of blender and poser and choose which one I think is better. Thank you again for your advice.
Thank you for your kindness.
Thread: How to edit a model by selecting a frame in a script | Forum: Poser Python Scripting
I'm sorry. My understanding was not enough.
Thanks to you guys, I found the following.
・ The coordinates of the model cannot be changed for each frame.
・ If you create a morph first, you can set it for each frame.
Thank you.
Thread: How to edit a model by selecting a frame in a script | Forum: Poser Python Scripting
Thank you for your response!
Thank you for your kindness.
I'm setting a keyframe.
Then select body parts (eg chest) for each frame and
I'm trying to select that vertex coordinate and edit the chest area as I like.
First I tried it with a simple script.(The chest is greatly deformed for easy understanding)
However, even if I edit only the 6th frame as shown below, all the frames will be edited in the same way when I look at Poser.
In this case, I want to edit only a specific frame (6th).
I haven't been able to edit frame by frame.
Is this a failed frame selection?
Or is it not possible to select and edit vertices for each frame?
Sorry for the lack of understanding of Poser.
---------------------------------------------------------------------------------------------------------------------------------------------------
import poser
import time
import os
x_axis = 0
y_axis = 1
z_axis = 2
scene = poser.Scene()
for test_num in range( 0, 6):
actors = scene.CurrentFigure()
scene.SetFrame(test_num)
actor = scene.Actor("Chest")
actGeom = actor.Geometry()
#verts = actGeom.Vertices()
verts = actGeom.WorldVertices()
vert_num = actGeom.NumVertices()
vert_list = [[0 for k in range(3) ] for j in range(vert_num)]
#x,y,z vertices
list_num = 0
while list_num < vert_num:
vert = actGeom.Vertices()[list_num]
Vx = vert.X()
Vy = vert.Y()
Vz = vert.Z()
vert_list[list_num][x_axis] = Vx
vert_list[list_num][y_axis] = Vy
vert_list[list_num][z_axis] = Vz
list_num = list_num + 1
j = 0
while j < vert_num:
if test_num == 5:
set_z.SetZ(vert_list[j][z_axis] - 0.5)
---------------------------------------------------------------------------------------------------------------------------------------------------
Thank you.
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.
Thread: Recognizing the direction the model is facing | Forum: Poser Python Scripting