Search found 195 matches

by Malgodur
Tue Sep 29, 2009 12:10 pm
Forum: Beginners Help
Topic: Lightmaping
Replies: 3
Views: 378

Take a look at q3mesh loader code from Irrlicht source...
by Malgodur
Sun Sep 20, 2009 2:41 pm
Forum: Beginners Help
Topic: Can Irrlicht draw a piece of surface?
Replies: 4
Views: 495

Maybe he wants to see both sides of his plane?

Disable backface and frontface culling in your material, eg

Code: Select all

						video::SMaterial m;
						m.BackfaceCulling=false;
						driver->setMaterial(m);
						driver->drawIndexedTriangleList
by Malgodur
Sat Sep 19, 2009 7:07 am
Forum: Beginners Help
Topic: zombie ai
Replies: 3
Views: 442

Use debuger...
and change distances to higher, 4 isnt far enough to let zombie spot the camera. Maybe 400/100 should be ok
by Malgodur
Tue Jul 14, 2009 10:34 am
Forum: Beginners Help
Topic: strange setUpVector problem.
Replies: 2
Views: 316

strange setUpVector problem.

Im trying to change the upvector of fps camera scene node. But it dont work properly, please help, ill try to describe the problem: (0,1,0) its default value and work properly (0,-1,0) works allright but both mouse axis seem to be inverted (1,0,0) , (0,0,1), etc act NUTS, camera view turn really str...
by Malgodur
Wed Jun 17, 2009 2:47 pm
Forum: Project Announcements
Topic: IrrODE - an Irrlicht - ODE wrapper (now with SVN)
Replies: 561
Views: 136910

Well, after reading a readme and few tries with premake.exe I finally got project file for Visual Studio 2008. Unfortunatelly now im gettin 54 unresolved externals. I tried to compile with ode_singled.lib from 1.11 ODE release, and also with the same file from latest svn, both cause the same problem...
by Malgodur
Wed Jun 17, 2009 9:56 am
Forum: Project Announcements
Topic: IrrODE - an Irrlicht - ODE wrapper (now with SVN)
Replies: 561
Views: 136910

Guys, i dont know how to compile IRrOdePlayground,got errors because of missed ode_singled.lib, I downloaded latest ODE release but I wasnt able to compile it with Viusal Studio. What should I do now, can you help me? Im new at this ;D
by Malgodur
Sat Jun 13, 2009 5:27 pm
Forum: Beginners Help
Topic: What do I need to display customSceneNode with texture?
Replies: 7
Views: 590

Oh yes, but its even easier to operate with them inside custom scene node class.

EDIT: Now my model works with lighting! I still dont know why, why I had to set all three colors to 255 to let it works...
by Malgodur
Sat Jun 13, 2009 4:48 pm
Forum: Beginners Help
Topic: What do I need to display customSceneNode with texture?
Replies: 7
Views: 590

I cant just load a mesh because I need to have acces to vertices/indices every frame.
by Malgodur
Sat Jun 13, 2009 4:24 pm
Forum: Beginners Help
Topic: What do I need to display customSceneNode with texture?
Replies: 7
Views: 590

I cannot just load mesh, im working on my own scene node. Well, I checked everything again, and im almost sure that the textures coords, normals, and textures are loaded properly. Can you help me get it to work without lighting? EDIT: Now I found out really strange thing!! I made lil test with verte...
by Malgodur
Fri Jun 12, 2009 9:06 pm
Forum: Beginners Help
Topic: What do I need to display customSceneNode with texture?
Replies: 7
Views: 590

What do I need to display customSceneNode with texture?

Im trying to display TEXTURED custom mesh... but its black, either lighting is disabled or enabled. And i got one light in my scene with radius 1000 when its on 0,0,50 and mesh is at 0,0,0. Can somebody tell me what I missed? Texture's loaded properly, i chek'd in log. Material.Lighting = false; Mat...
by Malgodur
Fri Jun 12, 2009 6:47 pm
Forum: Beginners Help
Topic: eventreciever crash!
Replies: 2
Views: 283

Well, so it isnt caused by some kind of my noob'by bug:D ? The whole code is a bit big, Im mixing another graphic engine (with its input reciever) with irrlicht, now Im sure that's caused by this.... however thanks for reply. Edit: Indeed, I got the ride of 3rd stuff and now recevier works how it sh...
by Malgodur
Fri Jun 12, 2009 4:55 pm
Forum: Beginners Help
Topic: cameraNode->setUpVector problem
Replies: 2
Views: 388

Well... you can try add that line to Irrlicht 1.5 demo (on proper scene[!]). And, maybe change the gravity. Whats the problem? Renderings allright, there no diffrence.. but camera errmmm shift, turn strange when I move mouse. It doenst looks like "changed gravity", imho it looks like chang...
by Malgodur
Fri Jun 12, 2009 3:05 pm
Forum: Beginners Help
Topic: eventreciever crash!
Replies: 2
Views: 283

eventreciever crash!

Crash on device start. Can somebody explain me why? heres code class CEventReceiver : public IEventReceiver { public: bool OnEvent(const SEvent& event) { if (event.EventType == EET_KEY_INPUT_EVENT) { if (event.KeyInput.PressedDown) return false; if (event.KeyInput.Key == KEY_KEY_C) { //smgr->get...
by Malgodur
Fri Jun 12, 2009 10:46 am
Forum: Beginners Help
Topic: cameraNode->setUpVector problem
Replies: 2
Views: 388

cameraNode->setUpVector problem

Im trried to change the upvector of camera and its gravity - gravity works fine now but i cant get upvector to work. How should i use it? Actually it looks strange! camera->setUpVector(core::vector3df(0,0,1)); //0,1,0 // 1,0,0 tried some combination, but they dont work good for me. Please help.. ps ...
by Malgodur
Thu Jun 11, 2009 1:24 pm
Forum: Code Snippets
Topic: (C++) Resize/Fullscreen Windows at Runtime
Replies: 7
Views: 4162

its usefull, but idk why did you spread that small code into 10 files? Its bit harder to understand it now but im sure that ill use it in my game