MakeHair available

Hi!

ABSTRACT:
http://www.dedalo-3d.com/index.php?filename=SXCOL/makehair/abstract.html
QUICKSTART
http://www.dedalo-3d.com/index.php?filename=SXCOL/makehair/quickstart.html
DOWNLOAD
http://www.dedalo-3d.com/index.php?filename=SXCOL/makehair/download.html

I need a little help…

  1. Anyone can correct/adjust/rewrite the docs (abstract/quickstart)I’ve written with my bad english?
  2. Can you post the notice on others important forums?

Thanks,

Manuel

Hi Manuel,thank you for the script,very good!
But I have a question.The hair genereted with aqsis can be selfshadowed?
It’s possible to cast shadows on other surfaces,a face or a body for example?
Bye

The script certainly looks good but I would have the same issues about shadowing. Especially if you rendered a scene where a figure casts a shadow on the ground because in Blender it would render a bald outline.

If this script was combined with the blenderman script so that the whole geometry was exported instead, that would work very well. Good work though. Your efforts are very much appreciated.

I was interested when I saw the very good looking wigs and I also was wondering if it was possible for the hairs to cast shadows or not.

I have another questions though. How does the script work with blender?

Do I just somehow attach the script onto lines? and the script will generate the hairs?

I noticed that in Maya, the hairs can be generate quite easily without external help, i.e. a few clicks on settings and you’ve got yourself hairs. It even included shadows if I remember correctly… or maybe not?

Anyhow I will be very interested in this script if it’s able to cast shadows :slight_smile: please PM me if it’s possible,

Wolf

How do you generate the hairs? I tried it but no hairs shows up.

Only the head model comes is shown.

i think what it does is it generates a texture.

i cant wait to look at this(blender is broken…)!

From what I got (via a quick browse) is that all it does is generate a texture to be applied (with alpha map). Blender already allows alpha-mapped textures to cast shadows, but you have to use raytracing.

Manuel, I’ll review your English and suggest repairs shortly.

Translations in your Private messages.

%<

Hi, I’ve save as…ed the abstract and quickstart pages and produced modified versions for your review.

http://clam.rutgers.edu/~mgreer/blender/makehair-html.zip

I’ve been just a tad liberal in editing the page in an attempt to make the instructions clearer. Also, be aware that I used the evil <font color> tag and the <code> tag for some formatting (in a few obvious spots). You’ll want to look at your style sheet and do it right.

Hope this helps!

I cant get any good results. This is what I get:

http://img204.imageshack.us/img204/9118/help6ja.th.jpg

I tried many different settings but with no luck.

I cant get any good results. This is what I get:

http://img204.imageshack.us/img204/9118/help6ja.th.jpg

I tried many different settings but with no luck.

Simply deactivate “preview”.

Hi, I’ve save as…ed the abstract and quickstart pages and produced modified versions for your review.

http://clam.rutgers.edu/~mgreer/blender/makehair-html.zip

THANKS!!

i think what it does is it generates a texture.

No. It generates a layer with hair on alpha channel, to be used in post production.

I noticed that in Maya, the hairs can be generate quite easily without external help, i.e. a few clicks on settings and you’ve got yourself hairs. It even included shadows if I remember correctly… or maybe not?

Yes, but Maya use mentalray…Blender engine is very poor compared renderman or mentalray, so to have the best result we must export a part o scene.

About shadows…I’m thinking how to solve…

HELP::

Anyone that has understand the script can write a detailed tutorial?
Sorry, I’m very busy and you know my poor english…

I’ll pubblish it on dedalo-3d…

Ciao!

a little question. Any chance of animation support? I mean export as frames rather then 1 frame. So that way we could use blender’s softbodies to animated hair and render out as rib.

It’s easy modify the script to produce a sequence of bitmaps, that can be used for movie post production (maybe even using only Blender).

However before think to animation we must have a stable version for static images.

I can’t get any hairs :frowning:
Here is output from script and from aqsis with -v 3 option
Blender:

Saved rib in /home/grzybu/blender/scenes/makehair/makehair.rib
Saved image in /home/grzybu/blender/scenes/makehair/makehair.tif
Exported 413 hairs
/home/grzybu/blender/scenes/makehair/makehair.rib

Parsing : 0.4secs ( 14.86%)
Diceable check : 0.0secs ( 0.00%)
Splitting : 0.0secs ( 0.00%)
Dicing : 0.0secs ( 0.00%)
Render MPGs : 0.0secs ( 0.00%)
Occlusion Culling : 0.0secs ( 0.00%)
Imager shading : 0.0secs ( 0.00%)
Surface shading : 0.0secs ( 0.00%)
Displacement shading: 0.0secs ( 0.00%)
Atmosphere shading : 0.0secs ( 0.00%)
SampleTexture : 0.0secs ( 0.00%)
Combine : 0.0secs ( 0.00%)
Project : 0.0secs ( 0.00%)
FilterBucket : 0.1secs ( 2.03%)
DisplayBucket : 0.2secs ( 8.11%)
MakeTexture : 0.0secs ( 0.00%)
MakeShadow : 0.0secs ( 0.00%)
MakeCubeEnv : 0.0secs ( 0.00%)
Others : 2.2secs ( 72.64%)
Total time measured : 2.9secs ( 97.64%)

and from aqsis:

aqsis -v 3 makehair.rib
08/17/2005 16:38:09 INFO: rc path: /etc/aqsisrc
08/17/2005 16:38:09 INFO: shader path(s): .:/usr/share/aqsis/shaders
08/17/2005 16:38:09 INFO: archive path(s): .:/usr/share/aqsis/archives
08/17/2005 16:38:09 INFO: texture path(s): .:/usr/share/aqsis/textures
08/17/2005 16:38:09 INFO: display path(s): /usr/lib/aqsis
08/17/2005 16:38:09 INFO: dso path(s): /usr/lib/aqsis
08/17/2005 16:38:09 INFO: procedural path(s): /usr/lib/aqsis
08/17/2005 16:38:09 INFO: plugin path(s): /usr/lib/aqsis
08/17/2005 16:38:09 INFO: Loading config file /etc/aqsisrc
08/17/2005 16:38:09 INFO: DSO lib path set to “/usr/lib/aqsis”
08/17/2005 16:38:09 INFO: Loading shader “ambientlight” from file “/usr/share/aqsis/shaders/ambientlight.slx”
08/17/2005 16:38:09 INFO: DSO lib path set to “/usr/lib/aqsis”
08/17/2005 16:38:09 INFO: Loading shader “pointlight” from file “/usr/share/aqsis/shaders/pointlight.slx”
08/17/2005 16:38:10 INFO: RiReadArchive: Reading archive “/home/grzybu/blender/scenes/makehair/ribObjs/Hair.rib”
08/17/2005 16:38:10 INFO: DSO lib path set to “/usr/lib/aqsis”
08/17/2005 16:38:10 INFO: Loading shader “hair” from file “hair.slx”
08/17/2005 16:38:10 INFO: RiReadArchive: Reading archive “/home/grzybu/blender/scenes/makehair/ribObjs/Hair.001.rib”
08/17/2005 16:38:10 INFO: RiReadArchive: Reading archive “/home/grzybu/blender/scenes/makehair/ribObjs/Hair.002.rib”
08/17/2005 16:38:10 INFO: RiReadArchive: Reading archive “/home/grzybu/blender/scenes/makehair/ribObjs/Hair.003.rib”
08/17/2005 16:38:10 INFO: RiReadArchive: Reading archive “/home/grzybu/blender/scenes/makehair/ribObjs/Hair.004.rib”
08/17/2005 16:38:11 INFO: RiReadArchive: Reading archive “/home/grzybu/blender/scenes/makehair/ribObjs/HairLong.001.rib”
08/17/2005 16:38:11 INFO: RiReadArchive: Reading archive “/home/grzybu/blender/scenes/makehair/ribObjs/HairLong.003.rib”
08/17/2005 16:38:11 INFO: DSO lib path set to “/usr/lib/aqsis”
08/17/2005 16:38:11 INFO: Loading shader “plastic” from file “/usr/share/aqsis/shaders/plastic.slx”
08/17/2005 16:38:11 INFO: RiReadArchive: Reading archive “/home/grzybu/blender/scenes/makehair/ribObjs/Mannequine.rib”
08/17/2005 16:38:12 INFO: Loading display configuration from file “displays.ini”
08/17/2005 16:38:12 INFO: Loading plugin “/usr/lib/aqsis/libdisplay.so”
08/17/2005 16:38:17 Last message repeated 1 time
08/17/2005 16:38:17 INFO: Total render time: 3.0secs
08/17/2005 16:38:18 INFO: Last frame: 3.0secs

Parsing : 0.5secs ( 15.23%)
Diceable check : 0.0secs ( 0.00%)
Splitting : 0.0secs ( 0.00%)
Dicing : 0.0secs ( 0.00%)
Render MPGs : 0.0secs ( 0.00%)
Occlusion Culling : 0.0secs ( 0.00%)
Imager shading : 0.0secs ( 0.00%)
Surface shading : 0.0secs ( 0.00%)
Displacement shading: 0.0secs ( 0.00%)
Atmosphere shading : 0.0secs ( 0.00%)
SampleTexture : 0.0secs ( 0.00%)
Combine : 0.0secs ( 0.00%)
Project : 0.0secs ( 0.00%)
FilterBucket : 0.0secs ( 0.99%)
DisplayBucket : 0.3secs ( 11.59%)
MakeTexture : 0.0secs ( 0.00%)
MakeShadow : 0.0secs ( 0.00%)
MakeCubeEnv : 0.0secs ( 0.00%)
Others : 2.1secs ( 70.53%)
Total time measured : 3.0secs ( 98.34%)

I only get black screen :frowning:
What is wrong? Even if I have unchecked Alpha button I have emty result.

try rendering without the surface shader, you should get a bunch of white curves, that just lets you know its there on the screen but the lighting doesn’t hit/reach/ for spec it right.

It seem ok.
Maybe the light power is too low.
Infact the renderman light has a very different exposure than Blender light.
This is almost a bug…I must found a proportional value to convert the lights correctly.

If don’t work, can you post the .blend?

I’ve tried this script on different machine and it work fine. Thanks :slight_smile: