Search found 9 matches

by Van
Wed Nov 17, 2004 8:10 pm
Forum: Beginners Help
Topic: A second Scene, how?
Replies: 4
Views: 472

yes, we need it to be a 3D space.

We would prefer not tampering with the Irrlicht code because when a new release comes out its always a hassle to reintegrate.

Also, panning far out in the current scene is an option but we want to change the scale and camera view, etc, etc, etc. Doing this would ...
by Van
Wed Nov 17, 2004 3:54 pm
Forum: Beginners Help
Topic: A second Scene, how?
Replies: 4
Views: 472

A second Scene, how?

We have a game. Now, someone wants to see a "map" and press the "M" key. What is the recomened way to draw the map?

I would think you would create a new (second) SceneManager which would in effect create another "window" on top of the current SceneManager. Is this correct or is there a better way?
by Van
Wed Nov 17, 2004 2:34 pm
Forum: Beginners Help
Topic: No textures when I load a 3ds file
Replies: 4
Views: 735

I am having the same problem with 3DS files as well. No texture.

If I load my 3DS file into the MeshViewer, the MeshViewer (the demo with Irrlicht) loads the Textures and displays them. However, if I load them into my program the textures do not appear.

Yes, I am loading the mesh EXACTLY the same ...
by Van
Wed Nov 17, 2004 2:25 pm
Forum: Beginners Help
Topic: addTextSceneNode - great feature, how do you delete it?
Replies: 8
Views: 1267

Hmmm, well:


scene::ITextSceneNode *MyTextNode=NULL;

MyTextNode = smgr->addTextSceneNode(font,str.c_str(),SColor(0, 255, 128, 128),0,LabelX,1);

MyTextNode->remove();


The MyTextNode->remove(); doesn't work. Matter of fact, it won't compile. I have even tried to type cast it with ISceneNode and ...
by Van
Wed Nov 17, 2004 2:12 am
Forum: Beginners Help
Topic: addTextSceneNode - great feature, how do you delete it?
Replies: 8
Views: 1267

addTextSceneNode - great feature, how do you delete it?

So, I find this great feature addTextSceneNode .

The text from addTextSceneNode is persistant which means that the text stays on the screen (and in the engine) even after the endScene is called (unlike the 2D text). Now I want to DELETE the node (ITextSceneNode) but there is no way to do it ...
by Van
Mon Nov 15, 2004 3:03 pm
Forum: Beginners Help
Topic: Targeting another Object (or player)
Replies: 2
Views: 503

Targeting another Object (or player)

We are writing a space game where you need to "target" another object (or player, etc). We are not sure the best way to go about doing this.

We made a 2D bitmap to "highlight" the tarket (just a square box). But, we are not sure how to place the 2D item on a 3D item. To complicate matters, the ...
by Van
Fri Oct 29, 2004 1:00 pm
Forum: Beginners Help
Topic: createFlyCircleAnimator
Replies: 4
Views: 475

Ah, so I am not loosing my mind. The orbit is a fixed radius.
Ok, the documentation was missleadind.

Would be really nice if this function would handle a radius.
by Van
Fri Oct 29, 2004 4:34 am
Forum: Beginners Help
Topic: createFlyCircleAnimator
Replies: 4
Views: 475

Here is my code:
.....
scene::ISceneNodeAnimator* SChildAnim = 0;

ChildAnim = smgr->createFlyCircleAnimator (
vector3df(
ParentNode->getPosition().X,
ParentNode->getPosition().Y,
ParentNode->getPosition().Z
),
100.0f
);

ChildNode->addAnimator(ChildAnim);
ChildAnim->drop();
......

This code ...
by Van
Fri Oct 29, 2004 3:37 am
Forum: Beginners Help
Topic: createFlyCircleAnimator
Replies: 4
Views: 475

createFlyCircleAnimator

I am trying to make an object(node) orbit aother object (node).
I do not understand the syntax for createFlyCircleAnimator - specifically, the "center".

So, having TWO Nodes (Parent and Child), I want to have the CHILD orbit the Parent. How do I determine "center" of the Parent Node to supply it ...