deriving new node classes possible?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
uzik
Posts: 24
Joined: Wed Sep 22, 2004 4:56 pm

deriving new node classes possible?

Post by uzik »

I'd like to extend the functionality of a node. For example, I'd like
to add the ability to draw some text under a billboard node. The way
I'd usually do this is to derive a class from the IBillboardSceneNode class
and create a render() method. I'd call IBillboardSceneNode::render()
to draw the billboard using the existing class code then render my own
text underneath. I can't because there's no AddSceneNode() in the ISceneManager class. Any suggestions?
andy0482
Posts: 23
Joined: Mon Sep 13, 2004 6:22 pm

Example 03. CustomSceneNode

Post by andy0482 »

Example 03. CustomSceneNode
Post Reply