Search found 14 matches

by bongse1
Sat Jun 15, 2024 6:53 am
Forum: Beginners Help
Topic: texture is white..hello world
Replies: 6
Views: 575

Re: texture is white..hello world

I am using latest irrlicht engine..and in the code,there is no mode,
only IAnimatedMesh* mesh = smgr->getMesh("./../.. exist..
I can't find node->setMaterialTexture( 0, driver->getTexture("../../media/sydney.bmp") ); // use your real path here
}
by bongse1
Thu Jun 13, 2024 2:52 am
Forum: Beginners Help
Topic: texture is white..hello world
Replies: 6
Views: 575

Re: texture is white..hello world

https://www.youtube.com/watch?v=-jb7sphi-l8
Thank you..I've changed to createDevice to OPENGL,and model became black cover..
is light missing?how can I fix it?
by bongse1
Wed Jun 12, 2024 4:18 am
Forum: Beginners Help
Topic: texture is white..hello world
Replies: 6
Views: 575

texture is white..hello world

https://www.youtube.com/watch?v=XVlG7opaPHs https://www.facebook.com/photo/?fbid=463749219678254&set=a.463749293011580 https://www.facebook.com/photo/?fbid=463749219678254&set=a.463749293011580 .. i tried hello world of irrlicht,the model shows but the texture is all white,How can i fix it? ...
by bongse1
Wed Sep 01, 2010 5:18 am
Forum: Beginners Help
Topic: destroyed model in MeshScenNode,but AnimatedMeshSceneNode/
Replies: 0
Views: 387

destroyed model in MeshScenNode,but AnimatedMeshSceneNode/

I have a model in x-file.when I load it to AnimatedMeshSceneNode it's fine.But if I load it into MeshSceneNode,the model is destroyed.Does anyone know why and have solution for that? IAnimatedMesh* animMesh = pSceneManager->getMesh("model.X") ; MeshSceneNode* mCstle_ForCollisionTest = pSce...
by bongse1
Wed Sep 01, 2010 4:07 am
Forum: Beginners Help
Topic: a triangleselector with multiple meshes or sceneNode
Replies: 1
Views: 205

a triangleselector with multiple meshes or sceneNode

Can I let a triangleSelector stand on the top of multiple meshes or mutple CubesceneNodes?If I can,how? I am trying to do something with collision detection.
by bongse1
Tue Aug 31, 2010 4:34 pm
Forum: Beginners Help
Topic: can I block auto culling by camera?
Replies: 1
Views: 268

can I block auto culling by camera?

I have problem with my x-file.So I want to never cull regardless of the diretion of the camera and position.Can I do that? Or the problem I have is that it seems the actual location of mesh of x file,and the detected position of x file by irrlicht seems not correspond.So when i move and turn the dir...
by bongse1
Tue Aug 31, 2010 3:29 pm
Forum: Beginners Help
Topic: collisionManager->getCollisionResultPosition(..);paramete
Replies: 1
Views: 351

collisionManager->getCollisionResultPosition(..);paramete

triangle3df triOut; vector3df finalPos; bool bFalling; ISceneNode* sd ; collisionManager->getCollisionResultPosition( mainCastleSelector , this->mHero->getPosition(), vector3df(100.0,100.,100.), vector3df(0.,0.,0.), triOut, finalPos, bFalling, *sd, <--------------problem 0.0005, vector3df(0.0,-0.001...
by bongse1
Wed Aug 25, 2010 2:52 am
Forum: Beginners Help
Topic: collisionResponseAnimator dissapears?
Replies: 0
Views: 349

collisionResponseAnimator dissapears?

I've added collisionResponseAnimator to a sceneNode.It works fine.But after I made another flystraightAnimator and added to the sceneNode,the collisionResponseAnimator dissapears.As the function's name is "add~",it should be remained.Does anyone have any idea? I want an scene have the coll...
by bongse1
Tue Aug 17, 2010 7:42 pm
Forum: Beginners Help
Topic: getting direct X device?
Replies: 1
Views: 208

getting direct X device?

How can I get directX device in irrlicht?
I've coded some directX class that needs feed of directX device.how can I get directX device in irrlicht?
by bongse1
Mon Aug 16, 2010 7:28 pm
Forum: Beginners Help
Topic: how can I supply parameter to shader?
Replies: 2
Views: 374

how can I supply parameter to shader?

To implement shader,we need to implement "IShaderConstantSetCallBack" class. In this class ,the method looks like below, virtual void OnSetConstants(video::IMaterialRendererServices* services, s32 userData) {..} how can I supply "s32 userData" parameter from outside? Is this the ...
by bongse1
Sat Aug 14, 2010 3:12 am
Forum: Beginners Help
Topic: problem with collision detection.
Replies: 0
Views: 473

problem with collision detection.

I've loaded a house x file model.and loaded camera FPS camera.and I use collision check with collisionReseponseAnimator.It seem the house's floor's normal is opposite.normal seems towards ground.The camera should stand on the floor,but falls as gravity is downward.But in opposite direction it works ...
by bongse1
Thu Aug 12, 2010 10:18 pm
Forum: Beginners Help
Topic: how can I change back face cull mode of rendering?
Replies: 2
Views: 269

how can I change back face cull mode of rendering?

in directX there are 3 kinds of back face culling mode.Clockwize,anti-clock-wize,non-cull.How can I change this back face culling mode in irrlicht?.
by bongse1
Sat Aug 07, 2010 11:10 am
Forum: Beginners Help
Topic: plz help.blinking objects.
Replies: 1
Views: 290

plz help.blinking objects.

scene::IAnimatedMesh* mesh = smgr->getMesh("castle.X"); scene::ISceneNode* node = sceneManager->addMeshSceneNode(mesh); ... irr::scene::ICameraSceneNode* cn = smgr->addCameraSceneNodeFPS(); as I turn around camera,the object blinks.Does anyone know why? Initially,the camera is located in f...
by bongse1
Mon Jul 26, 2010 11:45 am
Forum: Beginners Help
Topic: Doesn't it provide x64 window7 library file?
Replies: 1
Views: 252

Doesn't it provide x64 window7 library file?

:oops: I've downloaded irrlicht zip file.And I am using visual studio 2010.The first problem I've encountered is that it doesn't detect .exe file to excute.Does anyone know how I can confiure this in visual studio2010 by setting.And I am using windows7 with 86bits OS.Can I let it refer the library f...