Search found 5 matches

by wts
Sat Jan 02, 2010 3:38 pm
Forum: Code Snippets
Topic: [PATCH] loadScene and saveScene with parent (loadSubScene)
Replies: 4
Views: 1412

Hi,
I've modified previous patch:
- readSceneNode now doesn't create a new emptynode
- added functions for backward compatibility
- added saveScene with 'ISceneNode* parent' parameter

Note:
saveScene doesn't use parent's attributes (position, orientation scale, ecc) but root's

Feedback is ...
by wts
Tue Dec 29, 2009 9:31 am
Forum: Beginners Help
Topic: with DeviceNull can't create shadows
Replies: 1
Views: 231

with DeviceNull can't create shadows

Hi,
I noticed that node->addShadowVolumeSceneNode (shadowMesh) returns null if I use DeviceNull, is it correct?
I think that the node should be created even by the null device (like other nodes).
I'm using it for unit testing and it's useful that preserves the same behaviour of others devices.
by wts
Tue Dec 29, 2009 9:06 am
Forum: Code Snippets
Topic: [PATCH] loadScene and saveScene with parent (loadSubScene)
Replies: 4
Views: 1412

this changes can break older codes !!!
you should set "ISceneNode* parent=0" as last parameter, so older codes will work without changing the code...

I thought it, but watching the doc i notice that ISceneNode*parent is ever the first default parameter, and I think it's more likely that ...
by wts
Mon Dec 28, 2009 10:16 am
Forum: Code Snippets
Topic: [PATCH] loadScene and saveScene with parent (loadSubScene)
Replies: 4
Views: 1412

[PATCH] loadScene and saveScene with parent (loadSubScene)

Hi,
I've modified loadScene adding a ISceneNode* as parameter.
It's useful to create ripetitive scenes.

This is the patch:
https://sourceforge.net/tracker/?func=d ... tid=540679
by wts
Thu Nov 12, 2009 10:09 am
Forum: Beginners Help
Topic: Strange behaviour with boundingbox
Replies: 1
Views: 231

Strange behaviour with boundingbox

Hi,
I've a problem visualizing bbox of 2 nodes using the same mesh (.x)
I load 1 mesh (dwarf.x), create 2 nodes and stop the animation of the first.
When I draw the scene the BBox of the stoped node follows animated node and
the BBox of the animated node is fixed.
Using .x and .b3d meshes the ...