Search found 33 matches

by Eldritch
Wed Mar 21, 2007 12:00 pm
Forum: Beginners Help
Topic: SceneManager->Clear() crashes!
Replies: 6
Views: 1112

I dont have the code with me right now, but I can show you the pseudo: public void SetState(State newState) if (this.currState != null) this.currState.Clear() // clears the scene graph, obj lib and gui lib this.currState = newState newState.Clear() // clears the scene graph, obj lib and gui lib publ...
by Eldritch
Wed Mar 21, 2007 8:03 am
Forum: Beginners Help
Topic: SceneManager->Clear() crashes!
Replies: 6
Views: 1112

No further tips about this problem? Without a fix for it, Irrlicht is not really usable for me.
by Eldritch
Sat Mar 17, 2007 2:14 pm
Forum: Beginners Help
Topic: SceneManager->Clear() crashes!
Replies: 6
Views: 1112

The reason why I want to hide my objects is many fold. Say I complete a level and want to load another one.. I need to clear the scene of all previous objects so they don't appear in the new level. That is one example. Another example is if I go from Main Menu to Game and then back to Main Menu. The...
by Eldritch
Sat Mar 17, 2007 11:25 am
Forum: Beginners Help
Topic: irrlicht world struct
Replies: 5
Views: 333

I feel I need to ask a very noobish question: is it possible to have multiple devices and just switch between them like in this world struct example?

*hides in case anti-noob squad appears* :oops:
by Eldritch
Sat Mar 17, 2007 10:59 am
Forum: Beginners Help
Topic: SceneManager->Clear() crashes!
Replies: 6
Views: 1112

SceneManager->Clear() crashes!

I have multiple game states in my engine based on Irrlicht, and when I switch between different game states I make sure to clear the SceneManager so there are no redundant objects from previous states laying around. I have two states at the moment: menu and game. If I switch between them continously...
by Eldritch
Fri Mar 16, 2007 10:48 am
Forum: Beginners Help
Topic: Problems getting AnimatedMeshSceneNode in .Net
Replies: 2
Views: 255

I am having the exact same problem. I cannot cast a read SceneNode into anything usable without the program crashing... using Irrlicht .NET CP for C#.
by Eldritch
Fri Mar 16, 2007 9:07 am
Forum: Irrlicht.NET
Topic: Problems converting SceneNode into its correct type
Replies: 0
Views: 1162

Problems converting SceneNode into its correct type

When I traverse the SceneManager's scene graph, I cannot seem to convert the children to their respective types. What I mean is: SceneNode[] children = smgr.RootSceneNode; foreach (SceneNode child in children) if (child.SceneNodeType.ToString.Equals("Mesh")) { AnimatedMeshSceneNode mesh = ...
by Eldritch
Thu Mar 15, 2007 8:01 am
Forum: Advanced Help
Topic: getting scene node in shader callback
Replies: 9
Views: 1117

Looks to me like he's asking about how to get the node that is currently being handled in the event, what node the current shader is applied to.
by Eldritch
Wed Mar 14, 2007 8:06 pm
Forum: Beginners Help
Topic: 3D models for Irrlicht
Replies: 5
Views: 443

Post code of how you are doing it.
by Eldritch
Tue Mar 13, 2007 8:51 pm
Forum: Beginners Help
Topic: Quad primitive?
Replies: 5
Views: 485

Please do read this: http://irrlicht.sourceforge.net/docu/classirr_1_1video_1_1_i_video_driver.html and watch for 2D methods. You'll find lots of color parameters there, too. Felt like something that should have worked, but I see nothing.. seems like the texture parameter does nothing... Also, it i...
by Eldritch
Tue Mar 13, 2007 8:29 pm
Forum: Beginners Help
Topic: Detail Map for non-terrain
Replies: 4
Views: 265

Ok, I see.. bummer.. Thanks anyways :)
by Eldritch
Tue Mar 13, 2007 12:13 pm
Forum: Beginners Help
Topic: Detail Map for non-terrain
Replies: 4
Views: 265

Aha, but I think I could settle with using the first texture's coordinates since I do not need to tile the detail map for non-terrain geometry.
by Eldritch
Tue Mar 13, 2007 11:45 am
Forum: Beginners Help
Topic: Detail Map for non-terrain
Replies: 4
Views: 265

Detail Map for non-terrain

I noticed that only TerrainSceneNodes can be assigned a detail map. I'd like to have the same for non-terrain (i.e. regular geometry meshes), is it possible? Perhaps through some mix of two textures and a material type setting?
by Eldritch
Tue Mar 13, 2007 11:15 am
Forum: Beginners Help
Topic: Quad primitive?
Replies: 5
Views: 485

Found two different tutorials that incorporated two different techniques of how to draw a quad, but they were both in 3D space. I need this to be in 2D space.

Would it be possible to make a GUIImage object with color blending?
by Eldritch
Tue Mar 13, 2007 8:39 am
Forum: Irrlicht.NET
Topic: fast getHeight?
Replies: 2
Views: 1414

Awesome! Show some pics perhaps? :D