Animated Fur Demo

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Animated Fur Demo

Post by sio2 »

Another demo - animated fur. http://sio2.g0dsoft.com

Image

Readme from the demo:
Fur Animation Demo for the Irrlicht 3D Engine
=============================================

sio2 'at' users.sourceforge.net

This is a demo of realtime fur rendering on an animated mesh. Additionally, the fur is coloured based on a multi-coloured texture. The fur is built up in 13 alpha-blended passes, plus an initial "skin" pass for a total of 14 passes. The demo was implemented using only the Irrlicht API.

Usage
=====
WASD keys or arrow (cursor) keys to move camera.
Alt-F4 or Escape key to exit.

Requirements
============
Drivers:
Latest DirectX 9.0b drivers [www.microsoft.com/directx],
Latest DirectX9 drivers for your graphics hardware [from your HW vendor].

Graphics hardware with:
Vertex Shader 1.1 support, or better
Pixel Shader 1.1 support, or better.

Notes
=====
1. This demo may require the Visual Studio 2005 Redistributable Files installed on your machine. These can be obtained from http://www.sio2.g0dsoft.com in the "Misc" section in "Downloads".

2. This Irrlicht build is of unmodified Irrlicht Subversion revision 470.

Credits
=======
1. This fur shader is based on the ATI RenderMonkey sample. The OpenGL GLSL shader from the sample was converted to a Direct3D9 HLSL shader for this demo.
2. The mesh is the "Tiny.x" mesh from the DirectX SDK converted to Blitz3D format (.b3d).
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Hehe, not exactly what I meant - it's not cute anymore :wink: But having this animated is really impressive.
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

I was going to call it "Return Of The Abominable Snow Woman". :mrgreen:
Anteater
Posts: 266
Joined: Thu Jun 01, 2006 4:02 pm
Location: Earth
Contact:

Post by Anteater »

I'm getting a "shaders not supported" error when I try to run the exe. I'm using an N*Vidia GFfx5200, which should be more than enough to run a PS1.1 shader, so I'm guessing I need to update my drivers. Anyway, it looks really cool. I can't wait to try it out.
sRc
Posts: 431
Joined: Thu Jul 28, 2005 1:44 am
Location: Salt Lake City, Utah
Contact:

Post by sRc »

Anteater wrote:I'm getting a "shaders not supported" error when I try to run the exe. I'm using an N*Vidia GFfx5200, which should be more than enough to run a PS1.1 shader, so I'm guessing I need to update my drivers. Anyway, it looks really cool. I can't wait to try it out.
make sure you have the latest DirectX runtimes installed too, I had that problem with another of his demos yesterday (the glass one, everything was all transparent :lol: )
The Bard sRc

Blog | Twitter
monkeycracks
Posts: 1029
Joined: Thu Apr 06, 2006 12:45 am
Location: Tennesee, USA
Contact:

Post by monkeycracks »

I get 7-8FPS but really cool anyways.
Luke
Admin
Posts: 449
Joined: Fri Jul 14, 2006 7:55 am
Location: Australia
Contact:

Post by Luke »

nice work,

runs fine here.

about 74 fps.
sRc
Posts: 431
Joined: Thu Jul 28, 2005 1:44 am
Location: Salt Lake City, Utah
Contact:

Post by sRc »

Image

only getting that if shes on the left side of the screen. doesnt do it if shes on the right, but it does it from her facing all directions
The Bard sRc

Blog | Twitter
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

monkeycracks wrote:I get 7-8FPS but really cool anyways.
Well, it's drawing 14 animated meshes to build up the fur, remember. Thirteen of those are alpha-blended with the framebuffer so I guess it can be quite fill-rate intensive.

We really could do with Vertex Buffer support in Irrlicht and hardware skinning, though I do only skin the model for the first pass and reuse the skinned mesh for the other 13 passes. :)
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

Luke wrote:nice work,

runs fine here.

about 74 fps.
You may have noticed that it uses a .b3d version of "tiny.x", since your B3D animation code is so much faster than anything else. :wink:

I also haven't done the tangent-space hair-length map yet. With it I can vary the hair length over the body - I could just have hair on the head (furry hair)! :D
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

The Anaconda wrote: only getting that if shes on the left side of the screen. doesnt do it if shes on the right, but it does it from her facing all directions
Vista drivers. The driver model was changed for Vista and I guess they're still ironing out the bugs. :wink:

I'd be interested in knowing if anyone else is seeing this on non-Vista machines, though.

I'll also test on Vista myself...
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

The Anaconda wrote:Image

only getting that if shes on the left side of the screen. doesnt do it if shes on the right, but it does it from her facing all directions
I just ran on Vista and it looked OK for me. I noticed the odd incorrect triangle in my Irrlicht/Newton demo, though. I think Vista video drivers maybe have a few bugs.

I ran this fur demo on Vista and got 153fps with the Aero interface and 198fps with the Classic interface (D3D9 isn't rendering the desktop). On XP I get 216fps. With Vista I'd imagine I'd get better numbers fullscreen, as D3D9 isn't rendering the desktop and my demo at the same time.
bami
Posts: 20
Joined: Fri Apr 08, 2005 4:11 pm
Contact:

Post by bami »

I want to hug it, it looks so plush :P
Anyways, runs at 150 FPS for me, but I also get that weird bug.
I'm running a Radeon x1600 under XP SP2.
sRc
Posts: 431
Joined: Thu Jul 28, 2005 1:44 am
Location: Salt Lake City, Utah
Contact:

Post by sRc »

sio2 wrote: I just ran on Vista and it looked OK for me.
figures :lol:

what card you got again? and what drivers you running
The Bard sRc

Blog | Twitter
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

The Anaconda wrote:
sio2 wrote: I just ran on Vista and it looked OK for me.
figures :lol:
Like I say, I'm seeing "dropouts" is my other demos. That may be a driver glitch unrelated to this issue, though.
The Anaconda wrote:what card you got again? and what drivers you running
nvidia 7800GTX. I'm on XP now - I'll check Vista driver version next time I boot into it.

Is your card ATI? If so, there may be a trend as someone has reported the same on an ATI card. I have an X1800 I can try (if your card is ATI)...
Post Reply