Search found 6 matches

by jockey
Tue Jan 20, 2015 9:45 am
Forum: Beginners Help
Topic: Adding custom parent/child relation in a new ISceneNode
Replies: 3
Views: 773

Re: Adding custom parent/child relation in a new ISceneNode

After a quick glance I have rewritten the OnRegisterSceneNode of CMyOtherSceneNode. It does work although it seems a bit lame. There must be a better solution to this.


CMyNode* CMyOtherNode::m_myNodeParent = instance CMyNode; // ISceneNode::Parent is still 0
void CMyOtherNode ...
by jockey
Mon Jan 19, 2015 11:54 pm
Forum: Beginners Help
Topic: Adding custom parent/child relation in a new ISceneNode
Replies: 3
Views: 773

Adding custom parent/child relation in a new ISceneNode

hi,

Am creating my own scenenode (CMyNode) and have a question about the children and rendering a node without any parent. Since I am learning the engine, I need some preventive advice.

The scenenode contains his own custom scenenodes (CMyOtherNode). These 'children' scenenodes shouldn't be ...
by jockey
Wed Dec 31, 2014 1:45 am
Forum: Off-topic
Topic: What are some good open-source Irrlicht games to learn from?
Replies: 3
Views: 3133

Re: What are some good open-source Irrlicht games to learn f

if you have characters in your game, and a player. Hence lets trow in some animals to just wandering around.

Then you can have something like:

class Actor{}; // maybe descending from ISceneNode
class Character : public Actor{};
class Player : public Character{};
class Animal : public Actor ...
by jockey
Wed Dec 31, 2014 12:48 am
Forum: Beginners Help
Topic: Assertion failed (irrArray.h)
Replies: 5
Views: 974

Re: Assertion failed (irrArray.h)

Have to admit, don't know your debugger.
by jockey
Wed Dec 31, 2014 12:13 am
Forum: Beginners Help
Topic: Assertion failed (irrArray.h)
Replies: 5
Views: 974

Re: Assertion failed (irrArray.h)

hi Cyanotype

Assertion is just a debugging help, sounds advanced but simply put it's just an if-statement but only in debug mode (I believe).

e.g.

assert( index < size );


That will check if index is smaller then size, if not an assertion failure is given.

In practise for end-users when you ...
by jockey
Tue Dec 30, 2014 8:27 pm
Forum: Beginners Help
Topic: Matrices and me!
Replies: 0
Views: 1058

Matrices and me!

hi,

Am trying to create a camera without getting gimlocked and think matrices would be the solution for that. The camera should be able to go up-side-down and towards all directions. Only one problem there, how do they work? So I wanted to ask if there are any known tutorials about those which are ...