Page 1 of 1

AttributeError: 'Object3D' object has no attribute

PostPosted: Sun Jun 29, 2014 5:47 am
by haggag87
I'm trying to use a texture but I get the following error.
Code: Select all
Exception during event onFileSelected
Traceback (most recent call last):
  File "c:\jenkins\workspace\Windows_release\buildscripts\win32\build\makehuman\out00-PYZ.pyz\events3d", line 212, in callEvent
  File "plugins/3_libraries_texture_chooser.py", line 131, in onFileSelected
    filename))
  File "c:\jenkins\workspace\Windows_release\buildscripts\win32\build\makehuman\out00-PYZ.pyz\mhmain", line 760, in do
  File "plugins/3_libraries_texture_chooser.py", line 51, in do
    self.human.mesh.setShadeless(False)
AttributeError: 'Object3D' object has no attribute 'setShadeless'


This is my first time to use makehuman so if anyone could please advise.
Thanks

Re: AttributeError: 'Object3D' object has no attribute

PostPosted: Mon Jun 30, 2014 6:56 pm
by duststorm
As answered in https://code.google.com/p/makehuman/iss ... il?id=1102
I think you are using an old an no longer supported version of MakeHuman. Please try the latest stable version from http://www.makehuman.org/content/download.html

Re: AttributeError: 'Object3D' object has no attribute

PostPosted: Wed Jul 02, 2014 7:02 am
by haggag87
Thanks for your reply.
I'm asking how then I can combine the code and textures found here https://github.com/KoenBuys/makehuman_datagen to the newer version which I have already downloaded it. What I did was copy and paste the contents found in the link into the 1.0.1 version but I then find it the old version again. Could you please advise?
Many Thanks

Re: AttributeError: 'Object3D' object has no attribute

PostPosted: Mon Jul 07, 2014 11:51 pm
by duststorm
That code and assets is based on A7 MakeHuman data and basemesh. It'll be hard/a lot of work to get it working with a new v1.x of MakeHuman.
I advice to use it as-is, with the MH versions it comes with, or selectively port over the assets you need to the new basemesh using software such as Blender.

Also the posing code included in that repository is completely broken for the new MH version. While we are working on restoring posing and animation, I doubt we will re-implement BVH retargeting in MH, because we have the Blender MakeWalk tools for that.