Search found 6 matches

by bpe_xmind
Sat Jan 13, 2007 1:18 pm
Forum: Beginners Help
Topic: SMesh shadows
Replies: 10
Views: 1055

Ok. Here are the changes in a text diff format output by examdiff pro (they are very minor changes). < means the lines were added. > are those which were removed. If there's a better way please let me know. Changes to IMeshSceneNode.h :- 8d7 < #include "IShadowVolumeSceneNode.h" 35,51d33 <...
by bpe_xmind
Thu Jan 11, 2007 11:18 pm
Forum: Beginners Help
Topic: SMesh shadows
Replies: 10
Views: 1055

Sure. I'm not sure how the forum works (where/how to upload source files). I chose to change the implementation of IMeshSceneNode because I believe it is inconsistent with IAnimatedMeshSceneNode and should allow the use of shadow volumes - I could have extended it or written a new custom node by bas...
by bpe_xmind
Thu Jan 11, 2007 1:53 pm
Forum: Beginners Help
Topic: SMesh shadows
Replies: 10
Views: 1055

Ok. If anyone is interested, I've modified IMeshSceneNode.h and the CMeshSceneNode class to allow to create and use a shadow volume node. No idea if there are other nodes derived from IMeshSceneNode that may need tweaking. I've only just noticed that shadows only work with point lights... I'll need ...
by bpe_xmind
Thu Jan 11, 2007 10:28 am
Forum: Beginners Help
Topic: SMesh shadows
Replies: 10
Views: 1055

Ok. For now I'm going to implement a new custom scene node derived from IMeshSceneNode (basically CMeshSceneNode with the same shadow volume support that CAnimatedMeshSceneNode has). It looks like all the mechanisms are there for it to work - it just seems like a glaring omission to me. I guess most...
by bpe_xmind
Wed Jan 10, 2007 10:36 pm
Forum: Beginners Help
Topic: SMesh shadows
Replies: 10
Views: 1055

Thanks Travis. I need to cast the shadow onto everything in the scene though, not just a plane. Isn't it a common thing to do? I'm quite surprised it's not already implemented, after all, not all dynamic entities are animated meshes, I would have expected the same behaviour in the IMeshSceneNode as ...
by bpe_xmind
Wed Jan 10, 2007 5:27 pm
Forum: Beginners Help
Topic: SMesh shadows
Replies: 10
Views: 1055

SMesh shadows

Hi, I'm new to Irrlicht. Is there any extension to IMeshSceneNode which can draw shadows? Essentially my scene doesn't have any animated nodes, it just has mesh nodes generated on the fly (using SMesh/SMeshBuffers). These nodes are not necessarily static and I need to render the scene with shadows. ...