SAnimatedMesh / SMesh - Shadow Volume

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Prott
Posts: 104
Joined: Sun Jan 14, 2007 12:01 pm

SAnimatedMesh / SMesh - Shadow Volume

Post by Prott »

Hello,
I have one simple question ... Is there any way to create shadow from SAnimatedMesh or SMesh ? (without "reprogramming" irrlicht source code) :)
Riki
Posts: 30
Joined: Tue Feb 27, 2007 9:12 pm
Location: Croatia

Post by Riki »

Yes search for shadow and youll find plenty of examples how to do it :wink:
Prott
Posts: 104
Joined: Sun Jan 14, 2007 12:01 pm

Post by Prott »

I searched the whole forum and there isn`t any thread how to do SMesh (including DOT3 mapping) + Shadow :shock:
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

SMesh doesn't exist in the scene without being part of a node, so what use would a shadow be if you're not going to draw it?
easiest way would be to attach the SMesh to SAnimatedMesh, add as an AnimatedMeshSceneNode, then create a shadow as usual.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Prott
Posts: 104
Joined: Sun Jan 14, 2007 12:01 pm

Post by Prott »

This is "a little bit" old threat. There it is:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=18793
Post Reply