This page present my tests of fur and hair effects. I am interrested in thoses effects since a long time
and I coded quite a few programs. The most recent is my winning submission to
NVIDIA shader contest :-) .
Here is some screenshots of this effect:
You can download binaries + full source code of this effect: hufo_fur.zip (697 Ko).
Note: this only works on GeForce hardware!
This effect uses a stack of transparent layers to simulate fur.
It uses a vertex program to set up the per pixel lighting environment
which is rendered through register combiners. Only bump textures are
used to demonstrate the added quality of per pixel lighting.
I have done several other (older) effects on displaying and animating fur/hairs. Here is the list:
Teddy Bear
Source Code Included |
Teddy Bear
Subject: NONE
Date: 30 september 2000
Description:
I said to Otri I'll do an hair simulation code this week.
I've already done a little prog with it (see my website :) )
but it's really unrealistic. I tried to modify it without
success. Then I hacked this fur code which display as many
lines as your card can handle at 20 fps...
I'm really not satisfied with this prog but OpenGL coding
is like that: try an idea and do it successfully or not...
Will do better next time :-)
Requirements: OpenGL
Credits:
Application Skeleton is by Otri
(The OpenGL Challenge).
CREDIT for the teddy bear model goes to 3dcafe.com.
Download: hufo_teddy.zip (114Ko) |
Funky Lines
Source Code Included |
Funky Lines
Subject:Bugged Effect
Date: 14/01/2001
Description:
very buggy hair simulation
just a repack of a old code, sorry :)
Requirements: OpenGL
Credits:
Application Skeleton is by Otri
(The OpenGL Challenge).
Download: hufo_funk.zip (64Ko) |
Hair Simulation
Source Code Included |
Subject: simulate dress, hair or springs
Date: 13 june 2000
Rank: 1 / 1 :-)
Description:
Hair simulation not very realistic but wuite funny.
Use an algorithme I've done some years ago.
Requirements: OpenGL
Credits:
Application Skeleton is by Otri
(The OpenGL Challenge).
Original spring physic system by Hugo
Elias.
Download: hufo_hair.zip (69Ko) |
If you are interested, here is the informations I used:
|