How to make PovRay or Aqsis work with nightly builds?

If your topic doesn't fit anywhere else, put it here.

Moderator: joepal

How to make PovRay or Aqsis work with nightly builds?

Postby Lemon » Fri Jan 27, 2012 7:51 am

I have both renderers installed but none of them works when i hit the rendering button. What settings should i change? My current OS is Windows 7.
Lemon
 
Posts: 47
Joined: Wed Jun 23, 2010 8:44 am

Re: How to make PovRay or Aqsis work with nightly builds?

Postby mflerackers » Fri Jan 27, 2012 8:07 am

What output do you have in the console or log when pressing render?
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: How to make PovRay or Aqsis work with nightly builds?

Postby Lemon » Fri Jan 27, 2012 9:03 am

I get no output at all, even when I start makehuman from cmd. It's hidden for some reason. I used to get detailed output in XP. What does it mean?
Lemon
 
Posts: 47
Joined: Wed Jun 23, 2010 8:44 am

Re: How to make PovRay or Aqsis work with nightly builds?

Postby mflerackers » Fri Jan 27, 2012 9:11 am

Are there python_out.txt and python_err.txt files?
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: How to make PovRay or Aqsis work with nightly builds?

Postby Lemon » Fri Jan 27, 2012 9:27 am

Here's python_err.txt content
Code: Select all
Traceback (most recent call last):
  File "./core\gui3d.py", line 1214, in onMouseUpCallback
    self.mouseDownObject.callEvent('onClicked', event)
  File "./core\events3d.py", line 167, in callEvent
    getattr(self, eventType)(event)
  File "./core\gui3d.py", line 387, in onClicked
    self.__view().callEvent('onClicked', event)
  File "./core\events3d.py", line 167, in callEvent
    getattr(self, eventType)(event)
  File "plugins\4_rendering_aqsis.py", line 80, in onClicked
    self.buildShaders()
  File "plugins\4_rendering_aqsis.py", line 88, in buildShaders
    self.buildShader(shader)
  File "plugins\4_rendering_aqsis.py", line 96, in buildShader
    subprocess.Popen('aqsl %s -o "%s"' % (srcPath, dstPath), shell=True)
  File "C:\Python26\Lib\subprocess.py", line 621, in __init__
  File "C:\Python26\Lib\subprocess.py", line 830, in _execute_child
UnicodeEncodeError: 'ascii' codec can't encode characters in position 80-83: ordinal not in range(128)


The end of python_out.txt:
Code: Select all
Could not load 3_libraries_human_texture
No module named urllib2
POV-Ray Export Parameter File
povray imported
Povray loaded
Rendering setting imported
Settings imported
Help imported
Pose plugin imported
pose loaded
Texture tool imported
Texture tool loaded
Unable to open data/targets/macrodetails/universal-male-young.target
Unable to open data/targets/macrodetails/universal-female-young.target
looking for aqsis.exe
C:\Program Files\NVIDIA Corporation\PhysX\Common\aqsis.exe
C:\Program Files\Common Files\Microsoft Shared\Windows Live\aqsis.exe
C:\Windows\system32\aqsis.exe
C:\Windows\aqsis.exe
C:\Windows\System32\Wbem\aqsis.exe
C:\Windows\System32\WindowsPowerShell\v1.0\aqsis.exe
C:\Program Files\Windows Live\Shared\aqsis.exe
C:\Program Files\EgisTec MyWinLocker\x86\aqsis.exe
C:\Program Files\EgisTec MyWinLocker\x64\aqsis.exe
C:\Program Files\NVIDIA Corporation\DDS Utilities\aqsis.exe
C:\Program Files\Aqsis\bin\aqsis.exe
LEN FACEINDICES base.obj, 17916
BASETEXTURE texture
LEN FACEINDICES eye_balls, 0
LEN FACEINDICES cornea, 0
LEN FACEINDICES teeth, 0
LEN FACEINDICES nails, 0
LEN FACEINDICES skin, 0
Povray unloaded
Expression 2 unloaded
Expression unloaded
Measurement unloaded
Texture tool unloaded
Background chooser unloaded
pose unloaded
Custom targets plugin unloaded
Lemon
 
Posts: 47
Joined: Wed Jun 23, 2010 8:44 am

Re: How to make PovRay or Aqsis work with nightly builds?

Postby Manuel » Fri Jan 27, 2012 3:57 pm

Investigating..

But Aqsis have a lack of some important features, like png support, so we are not sure about maintain or not it, in future.
Can you post the python_err.txt that happen when you try povray?

Best,

Manuel
Manuel
 

Re: How to make PovRay or Aqsis work with nightly builds?

Postby Lemon » Sat Jan 28, 2012 11:57 am

Manuel, i've just tried Pov-ray and checked python_err.txt - it's empty! :cry:
I remember that i had a message that MH can't find povray on my PC. But it was installed. I guess I checked not to display that message that's why i didn't get it this time.

The thing i like about Aqsis is that it creates images with transparent backround by default - that's exactly what i need. I've never used PovRay earlier so i don't know whether it works the same way.
Lemon
 
Posts: 47
Joined: Wed Jun 23, 2010 8:44 am

Re: How to make PovRay or Aqsis work with nightly builds?

Postby mflerackers » Sat Jan 28, 2012 12:30 pm

For povray you need to change the path in makehuman\apps\mh2\mh2povray_ini.py to point to your povray exe.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: How to make PovRay or Aqsis work with nightly builds?

Postby Lemon » Sat Jan 28, 2012 5:38 pm

mflerackers wrote:For povray you need to change the path

Thanks. At first I thought that was the solvation. But i still get no output and no rendered image. So i guess that wasn't the only problem.
Lemon
 
Posts: 47
Joined: Wed Jun 23, 2010 8:44 am

Re: How to make PovRay or Aqsis work with nightly builds?

Postby Manuel » Sat Jan 28, 2012 9:26 pm

Aqsis is fixed in svn. It should be in this or in the tomorrow nightly build.
Manuel
 

Next

Return to General discussions about makehuman

Who is online

Users browsing this forum: No registered users and 1 guest