Real-time fur/hair/grass creation. - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Designer's Studio (/forum-6.html)
+--- Thread: Real-time fur/hair/grass creation. (/thread-4599.html)
Pages: 1 2
Real-time fur/hair/grass creation. - MilesBaskett - Jan 18, 2006 10:45 PM
I stsrted up a thread on this subject over at cgtalk.com in the game modeling thread.It may be of interest to some here.
Real-time fur/hair/grass creation. - TomorrowPlusX - Jan 20, 2006 06:01 AM
I wish I knew Japanese.
Anyway, the fur interests me less than a couple other parts. First, how do they do the blurred distant background? Is it pre-rendered? Or are they doing something fancy, like rendering the background into a low-res texture, blurring it, and then drawing it behind everything else?
Same with the bloom effect. I didn't know the PS2 could run a blur on a texture. Of course, I don't know anything about the PS2's hardware, but still, I'm impressed.
Real-time fur/hair/grass creation. - Bachus - Jan 20, 2006 12:13 PM
TomorrowPlusX Wrote:I wish I knew Japanese.
None of it is terribly revolutionary. And quite frankly, the fur looks like ass, as that's how all fur done with the shell/fin method looks.
Real-time fur/hair/grass creation. - psyba - Jan 20, 2006 06:09 PM
GLSL Shaders anyone? I'm no expert, but I've seen a GLSL pixel shader that made fuzzy fur on any kind of mesh. GLUT fuzzy teapots and all. I found this link for ATI specific extensions but you may be able to work it into GLSL.
Real-time fur/hair/grass creation. - PowerMacX - Jan 20, 2006 06:31 PM
Here is another translation, it includes all the pictures & thumbnails of the original article, along with captions, so it is easier to follow than the translation on the forum post.
As Bachus says though, nothing really revolutionary - the outdoors scenes look nice, and so does the fur (from a distance), but it is still a pretty "common" set of techniques.
Real-time fur/hair/grass creation. - arekkusu - Jan 21, 2006 02:45 AM
psyba Wrote:GLSL Shaders anyone? I'm no expert, but I've seen a GLSL pixel shader that made fuzzy fur on any kind of mesh.
You can do shells and fins without any sort of shaders. Much less GLSL.
Real-time fur/hair/grass creation. - OneSadCookie - Jan 21, 2006 03:18 AM
http://onesadcookie.com/~keith/fur10.zip is a port of a (now ancient) PC fur demo. It ran OK-ish on a Rage 128, so it should scream on anything even relatively recent.
needs an "unsigned" at the start of line 90 of texture.h to compile with Xcode 2.2. Read the ReadMe for keys. Play with constants near the top of fur.c for amusement value.[/edit]
Real-time fur/hair/grass creation. - AnotherJake - Jan 21, 2006 02:37 PM
Very cool demo! I've never seen fur in real-time that I can recall. It looks surprisingly good. I'm not sure the fins really add anything since the shells seem to do the trick all on their own IMHO.
Strangely (or not so strangely with Xcode sometimes), changing to unsigned char didn't fix the problem right away. For some reason Xcode simply couldn't get it out of its brain that the problem had been fixed. I tried cleaning the project and it still refused to see reality. After trying to build it and changing a couple different lines to trip it up it finally picked up the correction. Weird! I don't think that's the first time I've encountered that happening.
Real-time fur/hair/grass creation. - blobbo - Jan 21, 2006 05:20 PM
Fun little Demo. Can't wait for TomorrowPlusX to implement this. Seems he always manages to get way cool generative graphics effects working in his engine.
Real-time fur/hair/grass creation. - akb825 - Jan 21, 2006 05:40 PM
I can't compile it in XCode. It says that
Command /Developer/Private/jam failed with exit code 1
This is with XCode 2.2 on OS X 10.4.4. I looked through all the build settings, but I don't know what it's breaking on.
Real-time fur/hair/grass creation. - aarku - Jan 21, 2006 05:54 PM
What do the detailed build results say?
Real-time fur/hair/grass creation. - OneSadCookie - Jan 21, 2006 06:13 PM
It's got -Werror set, and contains a warning (new for GCC 4.x I think), therefore doesn't build. See the edit to my original post for the fix.
Real-time fur/hair/grass creation. - MilesBaskett - Jan 22, 2006 04:01 PM
There is a 50+ page pdf at the link on realtime fur creation, including the coding on making a few creation and viewer apps.Very interesting.
Real-time fur/hair/grass creation. - akb825 - Jan 24, 2006 10:10 PM
Works now. Quite a nice effect.
Real-time fur/hair/grass creation. - MilesBaskett - Jan 24, 2006 10:17 PM
They used that type of fur creation for the new KingKong videogame as well, not as good looking as in Shadows of the colossus though.