Search found 24 matches

by Oddmonger
Wed Nov 18, 2009 12:54 pm
Forum: Advanced Help
Topic: MD2 reading in Irrlicht sources
Replies: 2
Views: 410

Ok, I think i'll do the same thing.

Thank you for answering.
by Oddmonger
Wed Nov 18, 2009 11:14 am
Forum: Advanced Help
Topic: MD2 reading in Irrlicht sources
Replies: 2
Views: 410

MD2 reading in Irrlicht sources

Hello, I'm trying to load a md2 mesh in my own renderer (nothing to do with Irrlicht). It works quite well, but i've got some problems with a few models (faces are disappearing). After investigating, it seems that it's a blender exporting problem with the generation of "gl_commands" in md2...
by Oddmonger
Wed Mar 11, 2009 12:44 pm
Forum: Beginners Help
Topic: Abnormals normals
Replies: 6
Views: 601

Thanks for the answers. I haven't thought i'd have to manipulate transformation matrix. That's an interesting discovery :D Matrix in Irrlicht seem to work the same way as OpenGL do (modelview, projection ..). Doing the change in my code with adding driver->setTransform(video::ETS_WORLD, core::matrix...
by Oddmonger
Tue Mar 10, 2009 3:27 pm
Forum: Beginners Help
Topic: Abnormals normals
Replies: 6
Views: 601

Hello, Let's call "Irrlicht's normals representation in debug mode" BYA (i.e. big yellow arrow) 1) Why BYA aren't connected to the vertices of the pyramid ? They wander in the space, they should be connected to the matching vertex (even if the normal's computing is wrong.) 2) What do you c...
by Oddmonger
Tue Mar 10, 2009 1:45 pm
Forum: Beginners Help
Topic: Abnormals normals
Replies: 6
Views: 601

a few details about my question.

- Hey, it seems nobody replied to me. - Yeah . Perhaps the question was not so obvious ? - You're right dear me. Let's sum this up. - Oh me, you're so smart. Well, the question was: is my normal computing done right ? And, another one: why the display of the normal with irrlicht's debug mode is not ...
by Oddmonger
Mon Mar 09, 2009 11:14 pm
Forum: Beginners Help
Topic: Abnormals normals
Replies: 6
Views: 601

Abnormals normals

Well, hello everyone. I tried to compute normals on a small object (a pyramid). The results are strange, when i turn on "normals display" in debug mode. I got this: http://img291.imageshack.us/img291/8391/capt1.jpg Hmmm strange normals.. i wrote some code to display normals my own way. Her...
by Oddmonger
Tue Mar 03, 2009 4:24 pm
Forum: Beginners Help
Topic: light statistics
Replies: 2
Views: 255

light statistics

Hello, I'd like to know if there's a way to display on screen light statistics. You know, like the bounding boxes or normals on the meshes. I tried : light=scenemgr->addLightSceneNode(0,irr::core::vector3df(0,20,0)); light->setDebugDataVisible(irr::scene::EDS_FULL); but it displays absolutely nothin...
by Oddmonger
Thu Feb 19, 2009 5:08 pm
Forum: Beginners Help
Topic: And I thought having understood mesh generation...
Replies: 6
Views: 406

Oh... so much answers in such little time lapse. So it was my camera after all. (and the precision problem in my function). Thank you :D Of course, as you noticed, i did parameters mistake (int and not float in "create_hexagon" function.) I would have bet that "-Wall" parameter i...
by Oddmonger
Thu Feb 19, 2009 4:11 pm
Forum: Beginners Help
Topic: And I thought having understood mesh generation...
Replies: 6
Views: 406

And I thought having understood mesh generation...

Hello, I'd like to generate a simple mesh. It's a hexagon. This code compile without error with g++ 04-hexagons.cpp -o 04-hexagons.elf -I/usr/include/irrlicht -L/usr/X11R6/lib -lX11 -lXxf86vm -lIrrlicht -lpng -ljpeg -lGL -Wall Obviously, i've screwed up something, because it shows nothing at all. I ...
by Oddmonger
Fri May 16, 2008 12:04 pm
Forum: Beginners Help
Topic: Some (idle) reflections about animation.
Replies: 1
Views: 194

Some (idle) reflections about animation.

Hello, I tried to give a gun to Sydney (md2 model from media directory of Irrlicht's samples). Alas, I rapidly understood that md2 formats (and all morphing animation based formats) were not designed for this kind of stuff. Ok, so what's else ? Skeletal animation with bones, nice! Not so fast, John,...
by Oddmonger
Sun May 11, 2008 9:57 am
Forum: Beginners Help
Topic: IAnimatedMesh : is it possible to update a bounding box ?
Replies: 3
Views: 233

bounding box aren't updated in md2 animation cycle

Ok, i've modified a bit the first sample of Irrlicht sample dir. I've added bounding box visibility. You can see that the bounding box doesn't change while Sydney is running. Here is the complete code for testing: /* based on irrlicht sample: 01.HelloWorld i've stripped all i could, to only keep the...
by Oddmonger
Sat May 10, 2008 10:25 pm
Forum: Beginners Help
Topic: IAnimatedMesh : is it possible to update a bounding box ?
Replies: 3
Views: 233

Some animated mesh do that, e.g. md2. So I don't understand why yours doesn't :? Hmm well, i don't understand either The nice running woman on the screenshot is "sydney.md2" and comes from the "media" directory of Irrlicht. So the bounding box should grow when Sydney is running,...
by Oddmonger
Sat May 10, 2008 7:23 pm
Forum: Beginners Help
Topic: IAnimatedMesh : is it possible to update a bounding box ?
Replies: 3
Views: 233

IAnimatedMesh : is it possible to update a bounding box ?

Hello.

As a little drawing say more than lot of words, let's look at this:

Image

How ugly.

It would be nice if IAnimatedMesh could update the bounding box while the animation is running.

Is it possible ? Or may i have to do it myself ?
by Oddmonger
Sat May 10, 2008 6:58 pm
Forum: Beginners Help
Topic: [SOLVED] How to adjust a bounding box to a custom mesh node?
Replies: 2
Views: 263

"Hello me, it's me again!" (Megadeth!) Well i've found out what to do with bounding box. With bouding box, you cannot modify directly mesh buffers. You have to edit the Imesh, after having included the mesh buffer of course. That gives : (blah blah and then ...) for (int i=0; i<12; ++i) { ...
by Oddmonger
Sat May 10, 2008 4:02 pm
Forum: Beginners Help
Topic: problem finding lib file
Replies: 6
Views: 227

I usually use gcc, but if i remember well, you just have to include library on the cl command line. Libraries which are not found don't return an error at the compilation stage. It's when linking than you get an error, if the library is not found by the linker. Check these 2 things: - Is "Irrli...