Search found 105 matches

by Magnet
Sat Oct 07, 2006 5:59 am
Forum: Beginners Help
Topic: How to set transparent textures?
Replies: 5
Views: 333

excuse me ^-). I am not change extension. But this not solve my problem.
by Magnet
Fri Oct 06, 2006 10:21 pm
Forum: Beginners Help
Topic: How to set transparent textures?
Replies: 5
Views: 333

How to set transparent textures?

I have texture, with apha chanel.
How to set it to object?
If i set it with this code:

Code: Select all

	SMaterial mat3;
	mat3.Texture1=driver->getTexture("../storage/Water/texture3.png");
	mat3.Lighting=true;
	mat3.MaterialType=video::EMT_TRANSPARENT_ALPHA_CHANNEL;
texture draws no trasparent.
by Magnet
Fri Oct 06, 2006 10:13 pm
Forum: Beginners Help
Topic: How to blend two textures.
Replies: 4
Views: 268

How to blend two textures.

Please tell me about blending.
I have two textures. How to blend them?
Please paste small code.
Please...!
by Magnet
Fri Oct 06, 2006 10:45 am
Forum: Advanced Help
Topic: Lload image from one file but alpha mask from other
Replies: 8
Views: 576

How to copy the alpha channel?
by Magnet
Thu Oct 05, 2006 8:59 pm
Forum: Advanced Help
Topic: Lload image from one file but alpha mask from other
Replies: 8
Views: 576

Lload image from one file but alpha mask from other

How to load image data from one file but alpha mask from other.
For example:
ImageData:
Image
Alpha mask:
Image
by Magnet
Tue Oct 03, 2006 8:20 pm
Forum: Advanced Help
Topic: I am create new water surface, but I have texturing broblem
Replies: 1
Views: 294

Why rays reconverge in one point? Whence these rays? As their possible avoid? If I set for HillPlaneMesh: node->setMaterialTexture(0,driver->getTexture("../../media/stones.jpg")); node->setMaterialTexture(1,driver->getTexture("../../media/water.jpg")); node->setMaterialType(video...
by Magnet
Tue Oct 03, 2006 3:27 pm
Forum: Advanced Help
Topic: I am create new water surface, but I have texturing broblem
Replies: 1
Views: 294

I am create new water surface, but I have texturing broblem

I am create a nwe water surface.
In this surface I am realize hits on water.
But I can't texture this surface normaly.
I am rotate my camera and take this:
Image

Please review my code and halp me.
http://www.webpolit.com/irr/MyFish.rar
by Magnet
Mon Oct 02, 2006 4:35 pm
Forum: Advanced Help
Topic: How to realize the hits on water?
Replies: 2
Views: 404

I want to do the waves in any place.
Possible influence on WatherSurface?
by Magnet
Mon Oct 02, 2006 10:39 am
Forum: Advanced Help
Topic: How to realize the hits on water?
Replies: 2
Views: 404

How to realize the hits on water?

How to realize the hits on water, or fish beating?
For example: stone falls in water or
Possible to using standard IrrLicht facilities to realize it.
by Magnet
Fri Sep 29, 2006 1:49 pm
Forum: Beginners Help
Topic: Understanding the coordinates
Replies: 1
Views: 193

Understanding the coordinates

I am create small application: smgr->addCameraSceneNodeMaya(); smgr->getActiveCamera()->setPosition(vector3df(50,30,50)); IAnimatedMesh * mesh=smgr->getMesh("../storage/AquaBox/AquqBox.x"); smgr->getMeshManipulator()->setVertexColors( mesh->getMesh(0), video::SColor( 50, 50, 50, 50 ) ); IS...
by Magnet
Fri Sep 29, 2006 12:44 pm
Forum: Beginners Help
Topic: Probleme with transparency
Replies: 27
Views: 1767

Many thanks!!!! I am not set material type to EMT_TRANSPARENT_VERTEX_ALPHA My object is transparent by this code: IMesh * mesh=smgr->getMesh("../storage/AquaBox/AquqBox.x")->getMesh(0); smgr->getMeshManipulator()->setVertexColors( mesh, video::SColor( 100, 100, 100, 100 ) ); ISceneNode *Aq...
by Magnet
Fri Sep 29, 2006 12:34 pm
Forum: Beginners Help
Topic: Probleme with transparency
Replies: 27
Views: 1767

I am create new code: This code build full scene: IMesh * mesh=smgr->getMesh("../storage/AquaBox/AquqBox.x")->getMesh(0); smgr->getMeshManipulator()->setVertexColors( mesh, video::SColor( 25, 255, 255, 255 ) ); ISceneNode *Aqua = smgr->addMeshSceneNode(mesh); Aqua->setMaterialFlag(EMF_LIGH...
by Magnet
Thu Sep 28, 2006 11:57 am
Forum: Beginners Help
Topic: Probleme with transparency
Replies: 27
Views: 1767

Hm..
But first parametr is IMesh...possible do this for any ISceneNode or at least for CubeSceneNode
by Magnet
Thu Sep 28, 2006 9:39 am
Forum: Beginners Help
Topic: Probleme with transparency
Replies: 27
Views: 1767

Please, write me code which create in scene 5% transparant box with texture.
I can't set transparency for object.
by Magnet
Thu Sep 28, 2006 8:53 am
Forum: Beginners Help
Topic: Probleme with transparency
Replies: 27
Views: 1767

I seem that transparency is does not work. I not even can create box with 20% transparency. C#: ITexture texWall = device.VideoDriver.GetTexture(@"..\..\media\wall.bmp"); ISceneNode node = device.SceneManager.AddCubeSceneNode(15, null, -1, new Vector3D(30, -15, 0)); Material mat = new Mate...