Search found 9 matches

by ayboangelus
Wed Jan 07, 2009 10:05 pm
Forum: Beginners Help
Topic: Collision detection with more objects
Replies: 3
Views: 468

Hardcpp for french irrlicht website have create a script for collision for all.

scene::IMetaTriangleSelector * meta = smgr->createMetaTriangleSelector();

core::array<scene::ISceneNode *> nodes;
smgr->getSceneNodesFromType(scene::ESNT_ANY, nodes);

for (u32 i=0; i < nodes.size(); ++i)
{
scene ...
by ayboangelus
Sat Jan 03, 2009 11:31 pm
Forum: Beginners Help
Topic: [SOLVE]Problem with listening event
Replies: 8
Views: 637

Problem solve, have modify party of code and work well now, thanks for all
by ayboangelus
Sat Jan 03, 2009 9:49 am
Forum: Beginners Help
Topic: [SOLVE]Problem with listening event
Replies: 8
Views: 637

i succed to make an exemple like tuto but when i put it in my code, it crash :(

if you want that's is the new code:

character.h

#ifndef CHARACTER_H
#define CHARACTER_H
#include "Login.h"
#include <irrlicht.h>

using namespace irr;
using namespace core;
using namespace scene;
using namespace ...
by ayboangelus
Fri Jan 02, 2009 11:44 pm
Forum: Beginners Help
Topic: [SOLVE]Problem with listening event
Replies: 8
Views: 637

I have try it, and get another but no succeed that's why i post there.

Need help for understand better.
by ayboangelus
Fri Jan 02, 2009 11:20 pm
Forum: Beginners Help
Topic: [SOLVE]Problem with listening event
Replies: 8
Views: 637

[SOLVE]Problem with listening event

Hi all, i have a problem, when my listening event is running, it crash.

I have this code:

char character::draw()
{
cEventReceiver eventReceiver;
device->setEventReceiver(&eventReceiver);
return 0;
}


and my listening event:

#ifndef EVENEMENT_H_INCLUDED
#define EVENEMENT_H_INCLUDED ...
by ayboangelus
Fri Jan 02, 2009 11:17 pm
Forum: Beginners Help
Topic: Irredit - black meshs = no texture
Replies: 10
Views: 1214

try with it :
scenegraph->setAmbientLight (video::SColorf(1.0,1.0,1.0,0.0));


^^

for diffuse light:
scenegraph->addLightSceneNode (0, core::vector3df(0,0,0), video::SColorf(0.4f,0.4f,0.6f,0.0f), 100.0f);
by ayboangelus
Fri Jan 02, 2009 10:00 pm
Forum: Beginners Help
Topic: Irredit - black meshs = no texture
Replies: 10
Views: 1214

Have you disable your light when you have created your character in 3D.

Try with another.
by ayboangelus
Mon Dec 29, 2008 8:57 pm
Forum: Beginners Help
Topic: Print a var, who crash when i run it.
Replies: 3
Views: 516

Sorry, i have make change on my program.

I have add a lot of thing, for answer to you i have put all in comment and when i have try.

No bug :(

Strange, don't know why, now my var print well, without crash my program.

Sorry for the disturb.

Thanks for had answer to me
by ayboangelus
Sun Dec 28, 2008 1:00 pm
Forum: Beginners Help
Topic: Print a var, who crash when i run it.
Replies: 3
Views: 516

Print a var, who crash when i run it.

Hi all, i try to print a var, and when my exe is reading the code it crash.

I have it:


#include "world.h"
#include <iostream>

world::world(IrrlichtDevice* Device,int spouet)
{
device = Device;
IVideoDriver* driver = device->getVideoDriver ();
ISceneManager *scenegraph = device ...