Search found 42 matches

by Mag-got
Fri Jan 07, 2011 6:28 pm
Forum: Project Announcements
Topic: [Help Wanted] Forgotten Darkness MMORPG
Replies: 30
Views: 9063

mrkfc, if you want to prove that your project isn't going down, tell some of your previous projects

And also, what is your job in the team? What do you do?
by Mag-got
Wed Jan 05, 2011 12:12 pm
Forum: Beginners Help
Topic: Getting starteted with shaders
Replies: 3
Views: 479

http://www.lighthouse3d.com/opengl/glsl/

Helped me a lot with shaders. If you haven't read the tutorials then read them, very helpful

http://irrlicht.sourceforge.net/docu/example010.html

How to apply shaders in Irrlicht
by Mag-got
Wed Jan 05, 2011 12:03 pm
Forum: Beginners Help
Topic: Getting Collision Node/Triangle/Position from a mouse click
Replies: 2
Views: 1222

Check the ray's length
by Mag-got
Tue Jan 04, 2011 2:31 pm
Forum: Beginners Help
Topic: mtl Texture refuses to load
Replies: 16
Views: 5301

You have 2 objects in your object file, checked COBJMeshFileLoader.cpp and looks like irrlicht doesn't support multiple objects in one object file.

So try joining your meshes in blender
by Mag-got
Tue Jan 04, 2011 12:24 am
Forum: Beginners Help
Topic: mtl Texture refuses to load
Replies: 16
Views: 5301

Post link to .obj and .mtl file?
by Mag-got
Mon Jan 03, 2011 9:25 pm
Forum: Beginners Help
Topic: mtl Texture refuses to load
Replies: 16
Views: 5301

Well damn.. And you've turned off lighting with

Code: Select all

node->setMaterialFlag(EMF_LIGHTING, false);
?

You exported with UV?

Check if the materials are being used in the .obj file, with usemtl <material name>?

And irrlicht finds these textures, so it can't be because of that?
by Mag-got
Mon Jan 03, 2011 4:16 pm
Forum: Beginners Help
Topic: mtl Texture refuses to load
Replies: 16
Views: 5301

Open up your .obj file, on the top of it after the comments should be linkage to the .mtl file "mtllib tree.mtl" If the line isn't there, you haven't exported correctly. If the line is there, then look at your material file. There should be the texture names in the materials. For example &...
by Mag-got
Mon Jan 03, 2011 12:07 am
Forum: Beginners Help
Topic: mtl Texture refuses to load
Replies: 16
Views: 5301

The .mtl file is the material file, not the texture. If the .obj file is linked to the .mtl file, irrlicht should load the texture for you when you load the .obj file.

So try exporting with materials and remove the setMaterialTexture line, or just load the texture.
by Mag-got
Thu Dec 23, 2010 6:19 pm
Forum: Beginners Help
Topic: Character rotation smoothing.
Replies: 2
Views: 247

You could interpolate between the curren't angle and the wanted angle. If you want to do it with vector3d, the class has the function getInterpolated, where d should be (time since rotation start) / (time rotation should take) The shorter direction thing, the other way is abs(angle-target) and the o...
by Mag-got
Fri Nov 05, 2010 1:14 pm
Forum: Beginners Help
Topic: Newton 2.0 and Irrlicht 1.7
Replies: 5
Views: 938

Re: Newton 2.0 and Irrlicht 1.7

//Create collision manager NewtonCollision *collision=NewtonCreateBox(nWorld,0,0,0,0,0); It creates a box collision shape //No idea here NewtonBodySetUserData(body,boxNode); A body has a pointer to it's user data, and the user data can be a pointer to anything you wish. In this case it's the boxNod...
by Mag-got
Thu Jun 03, 2010 3:22 pm
Forum: Beginners Help
Topic: spline !?
Replies: 5
Views: 451

of course: "don't eat yellow snow !!!"
:lol: Fine tip.

*cough*cough*vector3df::getInterpolated(vector3d<T> &other, f64 d)*cough*cough*
by Mag-got
Wed Jun 02, 2010 10:16 am
Forum: Beginners Help
Topic: applying gravity to irrlicht FPS camera using BULLET
Replies: 2
Views: 466

You should read tutorials about bullet. The camera has to be attached to a body or you can make a raycast character controller
by Mag-got
Wed May 26, 2010 7:39 am
Forum: Project Announcements
Topic: irrNetLite 2.1 [BETA]
Replies: 230
Views: 125214

I tried building by including just irrNet.h, irrNetLite.lib and ws2_32.lib.

Seems like doing what you said did the trick, thanks
by Mag-got
Tue May 25, 2010 10:42 pm
Forum: Project Announcements
Topic: irrNetLite 2.1 [BETA]
Replies: 230
Views: 125214

I'm getting a strange linker error on MSVC++ 2008, I haven't touched the library or header/source files that came with. Has anyone had this before, does anyone have an idea how to fix it? 1>irrNetLite.lib(CNetManager.obj) : error LNK2019: unresolved external symbol __imp___invalid_parameter_noinfo r...
by Mag-got
Thu May 20, 2010 12:35 pm
Forum: Beginners Help
Topic: Image has transparent bits which come out black when loaded
Replies: 2
Views: 237

You have to load it with the right settings. If you're applying it to a node, you must set the nodes material type to EMT_TRANSPARENT_ALPHA_CHANNEL with

Code: Select all

node->setMaterialType(E_MATERIAL_TYPE);
for example.