Search found 10 matches

by gustav05
Fri Apr 28, 2006 1:45 pm
Forum: Beginners Help
Topic: SkySphere
Replies: 1
Views: 216

SkySphere

Hello!

I made a sphere with a 3d modelling porgram and then I loaded it in irrlicht, scaled it very high and placed a texture on it Then I don`t know how the make the sphere "looking inside", because so I didn`t see anything.
by gustav05
Thu Apr 27, 2006 11:45 am
Forum: Beginners Help
Topic: Move code
Replies: 11
Views: 547

Yes I know that it has nothing to do with OOP.

Thank you for your help. That was the thing I forgot, that the scene manager was declared only in the main function. poop happens.
Thanks.
by gustav05
Wed Apr 26, 2006 3:27 pm
Forum: Beginners Help
Topic: Move code
Replies: 11
Views: 547

It is not so that I never heard anything about OOP. I already trusted in OOP. But there I had a problem that confusing me. The code of scene.cpp: void makeScene() { scene::ITerrainSceneNode* terrain = smgr->addTerrainSceneNode("heightmap.tga");; terrain->setScale(core::vector3df(40, 4.4f, ...
by gustav05
Wed Apr 26, 2006 2:25 pm
Forum: Beginners Help
Topic: Move code
Replies: 11
Views: 547

Move code

Hello! I had a problem: I will move the code for the terrain creating: scene::ITerrainSceneNode* terrain = smgr->addTerrainSceneNode("heightmap.tga"); terrain->setScale(core::vector3df(40, 4.4f, 40)); terrain->setMaterialFlag(video::EMF_LIGHTING, false); terrain->setMaterialTexture(0, driv...
by gustav05
Tue Apr 25, 2006 4:01 pm
Forum: Beginners Help
Topic: Textures for 3ds files
Replies: 7
Views: 431

Thank you for your help.

Now I got it. The name of the texture that belongs to the 3ds-Objekt was not correct. I renamed it and then Irrlicht could load the texture.
by gustav05
Sun Apr 23, 2006 7:49 pm
Forum: Beginners Help
Topic: Textures for 3ds files
Replies: 7
Views: 431

Ok, I added the texture manually, because I didn`t know how to call the 3ds loader. Is it not with getMesh()?
by gustav05
Sat Apr 22, 2006 8:05 am
Forum: Beginners Help
Topic: Textures for 3ds files
Replies: 7
Views: 431

I don`t know, but when you create a UV-Map to the model then it place the texture right on the model.
by gustav05
Fri Apr 21, 2006 4:28 pm
Forum: Beginners Help
Topic: Textures for 3ds files
Replies: 7
Views: 431

Textures for 3ds files

Hello! When I try to set a texture for a *.3ds File it doesn`t show me the correct texture, but rather a black/grey color. Here is a code snippet: IAnimatedMesh* mesh = smgr->getMesh(Player1.GetMeshPath()); IAnimatedMeshSceneNode* node_mesh = smgr->addAnimatedMeshSceneNode(mesh); if(node_mesh) { nod...
by gustav05
Tue Mar 21, 2006 3:53 pm
Forum: Beginners Help
Topic: Linker error
Replies: 4
Views: 176

I had solved the problem!
by gustav05
Tue Mar 21, 2006 3:23 pm
Forum: Beginners Help
Topic: Linker error
Replies: 4
Views: 176

Linker error

Hello! I get a simple error message when I compile this: #include <irrlicht.h> #pragma comment(lib, "Irrlicht.lib") using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; int main() { IrrlichtDevice *device; device ...