Search found 105 matches

by Reiko
Wed Sep 16, 2009 1:49 am
Forum: Beginners Help
Topic: Using .x Animated Characters
Replies: 6
Views: 1809

The model format you use shouldn't really matter, since the code for making things move around, animate and so on would be the same anyway. I'm not too sure about other demos. This site has some demos: http://sio2.g0dsoft.com/modules/wmpdownloads/ But not all have the source included. When I started...
by Reiko
Tue Sep 15, 2009 11:46 pm
Forum: Beginners Help
Topic: Help with object rotation to mouse position.
Replies: 3
Views: 1320

Since this seems pretty cool and interesting.. I gave it a shot myself. This is how far I got. I made this event receiver: class EventReceiver : public IEventReceiver { public: core::position2di cursor; bool OnEvent(const SEvent &event) { if(event.EventType == EET_MOUSE_INPUT_EVENT) { // store m...
by Reiko
Tue Sep 15, 2009 9:52 pm
Forum: Beginners Help
Topic: Need help - 2 simple noob questions (parent + scenenode)
Replies: 5
Views: 190

Fog is very easy... It's used in the PerPixelLighting tutorial that comes with irrlicht, so you might wanna check that out.
by Reiko
Tue Sep 15, 2009 9:46 pm
Forum: Beginners Help
Topic: Using .x Animated Characters
Replies: 6
Views: 1809

I am not too sure how to help you with your problem, since I am still learning too. With the mesh not moving with the skeleton, have you set the vertex weights and such? But anyways, playing specific animations is easy. If all your animations are in the one model you should use setFrameLoop(x, y) in...
by Reiko
Tue Sep 15, 2009 9:33 pm
Forum: Beginners Help
Topic: addTextSceneNode and multiple line !
Replies: 5
Views: 411

Hmm, well I am using irrlicht 1.6 from the svn. I don't know if that makes a difference. Btw, you should only set the position on the parent node because the child will follow it automatically. Don't move the child or the child will move twice. The reason why I did it this way is because if I set bo...
by Reiko
Tue Sep 15, 2009 9:54 am
Forum: Beginners Help
Topic: Copying an animated mesh
Replies: 3
Views: 216

After reading the thread, it does look pretty good. Valmond (that thread's creator) also had a good idea with using useAnimationFrom(). I hadn't thought of using that and it would give some advantages for what I'm doing with my game too. (most of the meshes have the same skeleton) Anyways, I'll give...
by Reiko
Tue Sep 15, 2009 9:19 am
Forum: Beginners Help
Topic: addTextSceneNode and multiple line !
Replies: 5
Views: 411

It does insert new lines (since my example above does work) but no text beyond that will display
by Reiko
Tue Sep 15, 2009 9:08 am
Forum: Beginners Help
Topic: Copying an animated mesh
Replies: 3
Views: 216

Copying an animated mesh

Hello I want to use different skeletal animations on multiple instances of the same animated mesh. If I do it like this: IAnimatedMesh* mesh1 = smgr->getMesh("character.x"); IAnimatedMeshSceneNode* node1 = smgr->addAnimatedMeshSceneNode( mesh1 ); IAnimatedMesh* mesh2 = smgr->getMesh("...
by Reiko
Tue Sep 15, 2009 8:13 am
Forum: Beginners Help
Topic: addTextSceneNode and multiple line !
Replies: 5
Views: 411

I don't think this is a proper solution, but in my game I wanted to have 2 lines of text (a character name and a status shown above a characters head). So I made 2 seperate nodes and made one a child of the other. Like this: core::stringw topStr = L"Top Text\n\n"; ITextSceneNode * topText ...
by Reiko
Fri Sep 04, 2009 8:16 pm
Forum: Beginners Help
Topic: Python Wrapper
Replies: 6
Views: 738

I know this is a bit off topic, but I just want to ask. What's the advantage of using python? Not saying its bad, actually Python is probably one of my fave languages. I just wondered how well it performs in this field (games programming) or what benefits it has over simply using c++.
by Reiko
Fri Sep 04, 2009 6:08 pm
Forum: Beginners Help
Topic: Need help with Matrix4x4
Replies: 2
Views: 182

Ah.. nevermind. I feel a little silly now. I was trying to get a screenshot to show you what I was trying to achieve, but in doing so and testing more, I've discovered that the models aren't flipped after all. What threw me off is, I used someone elses converter for these files before, but everythin...
by Reiko
Fri Sep 04, 2009 12:41 pm
Forum: Beginners Help
Topic: Need help with Matrix4x4
Replies: 2
Views: 182

Need help with Matrix4x4

Hello. This is sort of a general programming (math?) question. I've written a script which will convert a custom model format used in a game to a .x format which I can use in IrrLicht. The problem is that for some reason in the original file, the model's X and Z axis are flipped. For example, this w...
by Reiko
Thu Aug 20, 2009 3:13 pm
Forum: Bug reports
Topic: Transparency on textures with direct 3d 9
Replies: 8
Views: 1532

Im using EMT_TRANSPARENT_ALPHA_CHANNEL, but with _REF it does the same thing at my end.


edit: oops, my bad. I'm wrong, maybe I don't know what I'm doing because with _REF the transparent part is all black and not transparent at all.
by Reiko
Wed Aug 19, 2009 2:43 pm
Forum: Bug reports
Topic: Transparency on textures with direct 3d 9
Replies: 8
Views: 1532

I dont know if it matters but I forgot to say that burnings video also has the same behaviour as direct 3d 9 does in this case.
by Reiko
Sun Aug 16, 2009 8:17 am
Forum: Beginners Help
Topic: Coloring textures?
Replies: 4
Views: 514

Coloring textures?

Hello I think the answer to this is very simple but I am not sure what I am doing. I have a mesh with a monochrome texture. How can I apply something similar to a "Color balance" sort of thing, which exists in graphic programs such as Adobe Photoshop and GIMP, to the texture to change the ...