Minoan Hairdo One

brkurt's picture

Description: 

The first in a series of Minoan and Ancient Greek hair styles. This one is inspired by a 4,000-year-old mosaic found in Crete. The material is tinted blue, to make it easier to work with on the screen. I've updated the UV map, and added a new diffuse texture of one-pixel-wide lines. This wig will work on any standard Makehuman female.

License: 

CC-BY - Creative Commons Attribution

Category: 

Hair (scalp hair)

Compatibility: 

1.1.x

MHCLO file: 

OBJ file: 

MHMAT file: 

Optional thumb file: 

Optional diffuse texture: 

Rating: 

1
Average: 1 (2 votes)

Optional illustration: 

Comments

Can't load this

I don't seem to be able to load this asset. The terminal output I get is as follows:

Loading material from file minoanhairdo1.mhmat
Failed to load material from file minoanhairdo1.mhmat.
compiled file missing: minoanhairdo1.npz
Problem loading binary mesh: ('compiled file missing: %s', u'minoanhairdo1.npz')
Loading ASCII mesh minoanhairdo1.obj.
Unable to load obj file: minoanhairdo1.obj
Traceback (most recent call last):
  File "./core/files3d.py", line 201, in loadMesh
    loadTextMesh(obj, path)
  File "./core/files3d.py", line 161, in loadTextMesh
    wavefront.loadObjFile(path, obj)
  File "./shared/wavefront.py", line 58, in loadObjFile
    objFile = open(path, 'rU', encoding="utf-8")
  File "/usr/lib/python2.7/codecs.py", line 878, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: u'minoanhairdo1.obj'
Failed to load minoanhairdo1.obj
Exception during event onFileSelected
Traceback (most recent call last):
  File "./core/events3d.py", line 212, in callEvent
    method(event)
  File "./apps/gui/proxychooser.py", line 163, in onFileSelected
    self.proxyFileSelected(filename)
  File "./apps/gui/proxychooser.py", line 230, in proxyFileSelected
    gui3d.app.do(action)
  File "./core/mhmain.py", line 809, in do
    if action.do():
  File "./apps/gui/proxychooser.py", line 77, in do
    self.library.selectProxy(self.mhclo)
  File "./apps/gui/proxychooser.py", line 298, in selectProxy
    mesh,obj = pxy.loadMeshAndObject(human)
  File "./shared/proxy.py", line 165, in loadMeshAndObject
    mesh.priority = self.z_depth           # Set render order
AttributeError: 'bool' object has no attribute 'priority'
 

Can't load Minoan Hairdo

brkurt's picture

Some of the warning messages are no  big deal.  MH will create the *.npz and *.pxy files on the fly (it is Python after all).

The directory stuff is trickier, as it is operation system specific. I created this hairdo in Win 7 Pro, on my network Z: drive under the ...\makehuman\v1\data\clothes\minoanhairdo and it works for me.

I will run it again--it was my first MakeClothes project--and see if I get the same faults.

I was using the july 15 2015 nightly build, and have been ever since. 

The best advice I can give is to try 'Body Suit Shoulder Holster' with the latest nightly and see what happens.

I purposely used a MH screenshot to show that it works.

Well, there are no absolute

Well, there are no absolute paths in MH files, so when it says "File not found" it is most reasonable to suppose it's called differently than in file that references it. With this in mind, I checked the names and sure enough I've found what the problem was: the .mhclo file referenced mioanhairdo1.obj and minoanhairdo1.mhmat, but here those files are called minoanharido1_0 (mouse over them to see!) I wonder if it's the way you uploaded or something about the upload system is screwed up?

Sure enough, when I renamed the files, it loaded okay. I got a new error though:

Loading binary mesh /home/goren/makehuman/v1/data/clothes/minoan/minoanhairdo1.npz.
Exception during event onFileSelected
Traceback (most recent call last):
  File "./core/events3d.py", line 212, in callEvent
    method(event)
  File "./apps/gui/proxychooser.py", line 164, in onFileSelected
    self.proxyFileSelected(filename)
  File "./apps/gui/proxychooser.py", line 241, in proxyFileSelected
    gui3d.app.do(action)
  File "./core/mhmain.py", line 857, in do
    if action.do():
  File "./apps/gui/proxychooser.py", line 78, in do
    self.library.selectProxy(self.mhclo)
  File "./apps/gui/proxychooser.py", line 320, in selectProxy
    self.adaptProxyToHuman(pxy, obj)
  File "./apps/gui/proxychooser.py", line 453, in adaptProxyToHuman
    pxy.update(mesh, fit_to_posed)
  File "./shared/proxy.py", line 225, in update
    mesh.changeCoords(coords)
  File "./core/module3d.py", line 596, in changeCoords
    self.coord[indices] = coords
ValueError: could not broadcast input array from shape (6418,3) into shape (1606,3)

With this error the object loads okay, but it doesn't adapt the mesh to the MH model. I.e. it just sits on a constant position above or inside the character head (depending on their height). I have no thoughts as to what broke this time.

This was a glitch in the upload system

This is my fault: Drupal was configured to not overwrite files when a node is updated. I assume brkurt tried to upload a new version of a file, and with the current settings it got autonamed "..._0" in order to preserve the original file.

I have installed a plugin which changes this behavior now, but existing nodes that have been updated might need to be manually fixed (see post on forum).

You need to rename

You need to rename minoantexture.png to minoan.png