Hair.js

tg_jp

Active member
#1
Hair.js

hello,

there is still lack of some functions and it is slow, but please try it ;)

updated - 20100125.
cHair.js added - 20120913. 20150411 updated.

download -> http://www.tres-graficos.jp/blog/files/article.php?id=44
download for 5.2 -> http://www.tres-graficos.jp/blog/files/article.php?id=52

alter version cHair.js -> http://www.tres-graficos.jp/blog/files/article.php?id=63

to use, please place the script file into ~/Library/Application Support/Cheetah3D/scripts/Polygonobj folder, and relaunch Cheetah3D.app or "Update Scripts Menu" for 5.x.

another samples with color and tranparency textures.





playing demo movie.
http://es.youtube.com/watch?v=Szz7Dd_ypVw

regards.

tg_jp, Hiroto.
 

Attachments

Last edited:

tg_jp

Active member
#6
hello, thanks for comments. :)

this sript may be too slow to use, it needs long calculation time (rainbow cursor) for natural hair or grass. :(
green 'C3D' scene has 660000 polys, and it seems to need more ray depth.

> hello, Martin

this script is not saved properly. after re-opening the scene, script object has been disappeared. am I missing something?

regards.

tg_jp, Hiroto.
 
Last edited:
#8
this script is not saved properly. after re-opening the scene, script object has been disappeared. am I missing something?
Ups, the "type" parameter name collides with an already available non public parameter. Just rename your "type" parameter to "hair type" or something else and it will work.

Bye,
Martin

P.S. Cool new stuff :smile:
 

tg_jp

Active member
#9
Hi, thanks.

Ups, the "type" parameter name collides with an already available non public parameter. Just rename your "type" parameter to "hair type" or something else and it will work.
I fixed that problem. ;)

regards.

tg_jp, Hiroto.
 

peer

New member
#11
Here's my first test with grass. I must work on a better texture, but the start is here. I really like your plugin Hiroto, thanks!!

Regards,

Peter
 

Attachments

tg_jp

Active member
#12
Hello,

please check latest update (20070202c.zip). It may improve speed a bit.

> hi, Andrew

I have checked that thread, and it is interesting!! thanks. I want to add these effect (gravity or friction) to this script in the future. I know it is too difficult for me anyway. ;)

> hi, Peter

thanks for testing this. nice.

and I post another sample, using color, specular, and transparent textures.
and render tag (uncheck 'visible in radiosity') for hair object.

regards.

tg_jp, Hiroto.
 

Attachments

#13
Here's my first test with grass. I must work on a better texture, but the start is here. I really like your plugin Hiroto, thanks!!
Hi Peter,
the script is for hair and not for grass. :wink: But how cares if the result looks nice.:smile:

Bye,
Martin
 
#14
Hi Hiroto,
your hairy monster looks really nice. It's the first of his kind in Cheetah3D. Very cool.:smile: I didn't expect something like that in the near future.

Bye,
Martin

P.S. How did you orient the hair. Did you use UV coords?
 

tg_jp

Active member
#15
hello,

I post sample screen shot image for using Hair.js. I hoep it will help.

How to use.

  • It is polygonscript. Unarchive downloaded .zip file, and place it into ~/Library/Application Support/Cheetah3D/scripts/Polygonobj folder.
  • Relaunch Cheetah3D application, open a scene that you want add Hair object. Select Hair.js from Tool->Scripts->Polygon script.
  • Add some polygon object to Hair script object as child object.
  • Change parameters. have fun.:smile:

regards.

tg_jp, Hiroto.
 

Attachments

#16
Hi Hiroto,
very nice. :smile: I've also seen the monster on your blog. It looks so cool. Excellent job.:icon_thumbup:

Bye,
Martin
 

peer

New member
#17
Hi Hiroto, again thanks for the script! I found what I believe is a bug. When I use the face camera option, the polygons are distorted. See screenshot. Is this correct?

Regards,

Peter
 

Attachments

#20
WOW! Meshman that looks fantastic:icon_thumbup:! DOF and everything;). Great use of textures. I'm also trying to make grass. Would Peter and Meshman post there settings?
Wonderfull script. One of your best for sure:icon_thumbup:.

Thanks,
Greg
 
Last edited:
Top