Guys, im using an IMetaTriangeSeletor to add colision in my scene, the next two calls are working well:
ISceneNode *cuboo = smgr->addCubeSceneNode(10.0f,NULL,-1,core::vector3df(140,120,-40));
scene::ISceneNodeAnimator *animm = smgr->createCollisionResponseAnimator(WorldColisions, cuboo,core ...
Search found 6 matches
- Thu Nov 03, 2011 3:56 am
- Forum: Beginners Help
- Topic: IMeshTriangleSlector losing the Reference Countable
- Replies: 2
- Views: 207
- Wed Nov 02, 2011 8:08 pm
- Forum: Beginners Help
- Topic: custom scene node disappears while FPS camera movement
- Replies: 4
- Views: 710
Re: custom scene node disappears while FPS camera movement
Make sure you are not using SOFTWARE as renderer, this can have strange behavior with 3D.
- Tue Oct 25, 2011 2:33 pm
- Forum: Beginners Help
- Topic: Polys Disapearing ("Reverse Culling")
- Replies: 6
- Views: 494
Re: Polys Disapearing ("Reverse Culling")
// To change the bias of a particular texture:
node->getMaterial(0).TextureLayer[0].LODBias = 0; // 0 is the deafault value, play around with that
// To enable/disable mipmaps:
driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, false); // will disable it
// #### LOAD your texture ...
node->getMaterial(0).TextureLayer[0].LODBias = 0; // 0 is the deafault value, play around with that
// To enable/disable mipmaps:
driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, false); // will disable it
// #### LOAD your texture ...
- Tue Oct 25, 2011 5:15 am
- Forum: Beginners Help
- Topic: Polys Disapearing ("Reverse Culling")
- Replies: 6
- Views: 494
Re: Polys Disapearing ("Reverse Culling")
I know you said it's not mipmaps, but... I think it's mipmaps :lol: . If you're talking about setting the far value of the camera , that has absolutely no influence on mipmaps. You need to set the LODBias in the object's material's texture layers.
WOW :o , i came from a purely OpenGL background ...
WOW :o , i came from a purely OpenGL background ...
- Tue Oct 25, 2011 4:22 am
- Forum: Beginners Help
- Topic: Polys Disapearing ("Reverse Culling")
- Replies: 6
- Views: 494
Re: Polys Disapearing ("Reverse Culling")
Are you using the irrlicht software renderer? If so, don't. It culls any triangles with ANY points off screen, so they visibly poof out of existence all the time. Try burning's, it's faster and much better looking.
How can i change the renderer? Sorry, i'm a bit new.
Edit:
Just made the change ...
How can i change the renderer? Sorry, i'm a bit new.
Edit:
Just made the change ...
- Tue Oct 25, 2011 2:06 am
- Forum: Beginners Help
- Topic: Polys Disapearing ("Reverse Culling")
- Replies: 6
- Views: 494
Polys Disapearing ("Reverse Culling")
Guys, just added a scene from irredit, the colision is ok but i have this weird effect of a "reverse culling" the polygons simple disapear when i get near them, when i take distance they show properly.
http://imageshack.us/photo/my-images/804/problem1a.png/
http://imageshack.us/photo/my-images/200 ...
http://imageshack.us/photo/my-images/804/problem1a.png/
http://imageshack.us/photo/my-images/200 ...