MakeTarget questions

If you have problems understanding something or getting started, ask here

Moderator: joepal

Re: MakeTarget questions

Postby tomcat » Tue Feb 04, 2025 6:13 am

jjones wrote:Decided to try again with Blender 4.3, had a little more luck, but an asymetrical result


I don't get it, you almost got it right this time. You just had to apply a modifier.
Foreigners' reactions to Russian "Bird's Milk" candies
— Are your birds being milked?
— In Russia everyone is milked. Here even the zucchini is used to make caviar.
User avatar
tomcat
 
Posts: 477
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow (Orcish Stun), The Aggressive Evil Empire

Re: MakeTarget questions

Postby tomcat » Tue Feb 04, 2025 7:58 am

MPFB2. On the “Initialize” tab, if click on “Impotr target”, this error occurs:

Code: Select all
Python: Traceback (most recent call last):
  File "C:\Users\[User]\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\blender_org\mpfb\ui\maketarget\operators\importtarget.py", line 50, in execute
    target_string = Path(self.filepath).read_text()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Blender Foundation\Blender 4.3\4.3\python\Lib\pathlib.py", line 1058, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Blender Foundation\Blender 4.3\4.3\python\Lib\pathlib.py", line 1044, in open
    return io.open(self, mode, buffering, encoding, errors, newline)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'E:\\Forum\\MakeTarget questions\\horn_2.target'


And if select “Create target”, the resulting “.target” files are empty.

I don't know what the problem is.
Foreigners' reactions to Russian "Bird's Milk" candies
— Are your birds being milked?
— In Russia everyone is milked. Here even the zucchini is used to make caviar.
User avatar
tomcat
 
Posts: 477
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow (Orcish Stun), The Aggressive Evil Empire

Re: MakeTarget questions

Postby tomcat » Tue Feb 04, 2025 8:28 am

When using maketarget2 and the command “Copy -x to +x”

Image

the following result is obtained:

Image

In MH, it appears the part that was copied, but not the source part.

and I'm not sure if this is the correct behavior.
Foreigners' reactions to Russian "Bird's Milk" candies
— Are your birds being milked?
— In Russia everyone is milked. Here even the zucchini is used to make caviar.
User avatar
tomcat
 
Posts: 477
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow (Orcish Stun), The Aggressive Evil Empire

Re: MakeTarget questions

Postby joepal » Wed Feb 05, 2025 6:21 am

There's a bunch of things here. The crash I will have to investigate.

First: when creating a target, the name should be exactly "PrimaryTarget" for a primary target. I know this is impossible to figure out as a user. It stems from historical reasons and bad UX, but using this name is the first suggestion.

Then, to avoid any problems, you should not have any modifier on the base mesh when saving the target. The mask modifier for the helpers might work, but safest bet is to not have that either.

If things still do not work, you could try baking all shape keys before initializing the primary target. This should not be needed, but it will not hurt either.

There's a step-by-step instruction on how to use MakeTarget in MPFB at https://static.makehumancommunity.org/m ... arget.html
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4625
Joined: Wed Jun 04, 2008 11:20 am

Re: MakeTarget questions

Postby jjones » Wed Feb 05, 2025 6:36 pm

Thank you @joepal and @tomcat

I will try using PrimaryTarget as you suggested. I will also have to do a bit of research to parse the 'baking' thing. I'm teaching myself Blender right now with tutorials, haven't covered all the things yet, lol, there is a lot!
jjones
 
Posts: 32
Joined: Sat May 22, 2021 5:58 am

Re: MakeTarget questions

Postby jjones » Thu Feb 06, 2025 2:47 am

joepal wrote:There's a bunch of things here. ...


Strangely this reply and tomcat's reply do not appear in the main thread. I had to find it by searching for content under your usernames.

Thank you for the suggestions though, which I will pursue
jjones
 
Posts: 32
Joined: Sat May 22, 2021 5:58 am

Re: MakeTarget questions

Postby tomcat » Thu Feb 06, 2025 3:43 am

The behavior does not change if left “PrimaryTarget”.

But what is curious is this. If using "Symmetry", the duplicated part will react to the change of the form key value. While the original one will not change. And it is this part that is correctly displayed as a target in MH.

Image
Foreigners' reactions to Russian "Bird's Milk" candies
— Are your birds being milked?
— In Russia everyone is milked. Here even the zucchini is used to make caviar.
User avatar
tomcat
 
Posts: 477
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow (Orcish Stun), The Aggressive Evil Empire

Re: MakeTarget questions

Postby jjones » Sat Feb 08, 2025 6:39 pm

Maybe this is part of the problem?

I notice, in Blender, after I hit Mirror modifier -> Apply and then go to Edit mode, the quads look pretty messed up.

mirror-quads-messed-up.png


If I just use sculpting tools without the Mirror modifier, the quads look ok

without-mirror.png


But then the target turns out blank for some reason.
jjones
 
Posts: 32
Joined: Sat May 22, 2021 5:58 am

Re: MakeTarget questions

Postby tomcat » Sat Feb 08, 2025 8:07 pm

jjones wrote:I notice, in Blender, after I hit Mirror modifier -> Apply and then go to Edit mode, the quads look pretty messed up.

It's not “messed up quads”, the whole modified grid is duplicated and mirrored. Well, that's how this modifier works.
Foreigners' reactions to Russian "Bird's Milk" candies
— Are your birds being milked?
— In Russia everyone is milked. Here even the zucchini is used to make caviar.
User avatar
tomcat
 
Posts: 477
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow (Orcish Stun), The Aggressive Evil Empire

Re: MakeTarget questions

Postby jjones » Sat Feb 08, 2025 8:59 pm

tomcat wrote:
jjones wrote:I notice, in Blender, after I hit Mirror modifier -> Apply and then go to Edit mode, the quads look pretty messed up.

It's not “messed up quads”, the whole modified grid is duplicated and mirrored. Well, that's how this modifier works.


Well, I think it would be 'messed up' from the perspective of MakeHuman, afaict. I'm sorry if you don't like my choice of words.
jjones
 
Posts: 32
Joined: Sat May 22, 2021 5:58 am

PreviousNext

Return to Newbies

Who is online

Users browsing this forum: No registered users and 5 guests