Search found 14 matches

by rikyoh
Wed Oct 18, 2006 8:32 pm
Forum: Beginners Help
Topic: Loading irrfile in existing scene
Replies: 1
Views: 141

Loading irrfile in existing scene

Hi,

it seems that when I load an irrfile, it first clears my scene. Is there a way to load an irrfile into an existing scene, so that the scenenodes from the file are just added to it?

Bye
Riky
by rikyoh
Fri Oct 06, 2006 5:03 pm
Forum: Beginners Help
Topic: Implementing own particle emitter
Replies: 2
Views: 159

The os.h file is not part of the include directory, but in source/Irrlicht. Yes. I had a closer look at the code now and learned that I will not need os:: to implement an emitter, its only needed for a Randomizer class there. But another question: the emitter must implement a method for returning i...
by rikyoh
Thu Oct 05, 2006 8:18 pm
Forum: Beginners Help
Topic: Implementing own particle emitter
Replies: 2
Views: 159

Hi, i am trying to make my own particle emitter. I copied the code from the PointEmitter cpp and h files and only changed the name of the class. Now I get an error because he doesn't know of class or namespace "os::", and if i try to include "os.h", I get fatal error "file n...
by rikyoh
Wed Sep 20, 2006 10:20 pm
Forum: Beginners Help
Topic: scaling model makes it brighter or darker
Replies: 3
Views: 248

Thanks :lol: Works perfect now. I wonder why someone shouldn't set this flag?

Bye riky
by rikyoh
Wed Sep 20, 2006 9:20 pm
Forum: Beginners Help
Topic: scaling model makes it brighter or darker
Replies: 3
Views: 248

scaling model makes it brighter or darker

Hi, I have a scene with one light and a sphere with an texture. With the keys I can increase/decrease the scale (ISceneNode->setScale()). It works fine but when I let the sphere grow, it gets darker and when I let it shrink, it gets brighter. The effect is cleary noticable, if I scale from 0.5 to 1....
by rikyoh
Mon Sep 18, 2006 8:21 pm
Forum: Beginners Help
Topic: Need Help with Arrays of Cubes
Replies: 5
Views: 252

If you are using Visual C++ and start your programm from the ide, it will run in the context of your project folder. Because you have stored your textures there, they are found. But if you start the exe directly from one of the subfolders where it is created ("debug" and "release"...
by rikyoh
Sun Sep 17, 2006 9:29 pm
Forum: Beginners Help
Topic: Remove all GUI Elements
Replies: 13
Views: 3320

Hello, thanks, the removing of GUI Elements seems to work know. Your idea for maintaining multiple sets of UI and Scenenodes looks very interesting and would fit easy into my actual design, but wouldn't that have an impact on performance? If I have two very complex scenes and only deactivate the vis...
by rikyoh
Sun Sep 17, 2006 4:13 pm
Forum: Beginners Help
Topic: Base Mobile Class
Replies: 1
Views: 127

Hi, this is my code for such a class. The scenenode is created in the constructor with the scenemanager, that is stored in m_game. Bye, riky class CMobileIrrObject { protected: CGame* m_game; vector3df m_speed; IAnimatedMeshSceneNode* m_node; bool m_valid; CMobileIrrObject(); public: virtual ~CMobil...
by rikyoh
Fri Sep 15, 2006 5:38 pm
Forum: Beginners Help
Topic: Remove all GUI Elements
Replies: 13
Views: 3320

Hi, tanks for your replies. In my game I have several gamestates which all need different "setups" of scenenodes and guielements, so when I switch from one state to the other I want to first delete all elements of the old state and then create the elements needed for the new state. Thats n...
by rikyoh
Mon Sep 11, 2006 9:37 pm
Forum: Beginners Help
Topic: Remove all GUI Elements
Replies: 13
Views: 3320

Remove all GUI Elements

Hi,

is there an easy way to remove all GUI Elements?

Bye,
Rikyoh
by rikyoh
Mon Sep 11, 2006 2:55 pm
Forum: Bug reports
Topic: ms3d loading
Replies: 4
Views: 586

Hm,

where can I find Lession 31 ?...


I think the problem is the left handed coordinate system in irrlicht. Milkshape has a right handed and so the modell is mirrored.

Is there a way in irrlicht to mirror the model again after loading, so that it is correct after that?

bye
rikyoh
by rikyoh
Sat Sep 09, 2006 9:43 pm
Forum: Beginners Help
Topic: EventReceiver, Flag for Mouse-Moving
Replies: 2
Views: 240

Thanks for your answer. I tried with getting the mousepos in the main-loop and not in the eventreceiver like you suggested and now have a solution which does everything in the main loop in every frame. But the problem is the same. I think it is the high framerate. In my project its about 700 or so. ...
by rikyoh
Fri Sep 08, 2006 1:19 pm
Forum: Beginners Help
Topic: obj colours in blender different from in irrlicht
Replies: 2
Views: 441

Hi, i'm using milkshape and had similar problems. How did you make your objekt green, with material color or with texture? I tried it with material color first, that didn't work (dont know why). The "purple" is the default irrlicht color. May be irrlicht can't process that material colors ...
by rikyoh
Fri Sep 08, 2006 1:13 pm
Forum: Beginners Help
Topic: EventReceiver, Flag for Mouse-Moving
Replies: 2
Views: 240

EventReceiver, Flag for Mouse-Moving

Hi, in my app I need to now if the mouse is moving or not, so I have a global flag "g_mousemoving". In the OnMove() of the EventReceiver I set this flag to "true", if the event occurs. But where should I set the flag to "false"? The OnMove() is not called when the mouse...