Search found 15 matches

by Shomaa
Fri Mar 15, 2013 12:53 pm
Forum: Beginners Help
Topic: Bump mapping with several texture
Replies: 5
Views: 741

Re: Bump mapping with several texture

ok thanks, i'll switch to the shaders then.
by Shomaa
Wed Mar 13, 2013 12:38 pm
Forum: Beginners Help
Topic: Bump mapping with several texture
Replies: 5
Views: 741

Re: Bump mapping with several texture

I use .irr file ,most of the time, (with coppercube).
And nothing explains the method for matches the correct height map or detail map
and the right texture (or material).

the code snippet above is here, for illustrate my questions.

So I must use shaders (HLSL) for Bump mapping ?
by Shomaa
Tue Mar 12, 2013 5:18 pm
Forum: Beginners Help
Topic: Bump mapping with several texture
Replies: 5
Views: 741

Bump mapping with several texture

Hello ,

I try to do some Per-Pixel Lighting with a mesh and several textures...
but it's REALLY possible ?

with a mesh and one texture :

video::ITexture* normalMap =
driver->getTexture("../../media/rockwall_height.bmp");
if (normalMap)
driver->makeNormalMapTexture(normalMap, 9.0f);
scene ...
by Shomaa
Sun Jul 22, 2012 5:33 pm
Forum: Beginners Help
Topic: transparency with png (alpha)
Replies: 3
Views: 728

transparency with png (alpha)

Hello,

i'm working on a small game project with several images, but I don't know how to resolve my problem.
On the tutorial with the 2D images, the format png is supported.
but my images in png displays a ugly color black instead of the background (a sort of gradient blue...)
http://img15 ...
by Shomaa
Fri Jun 03, 2011 3:40 pm
Forum: Beginners Help
Topic: [RESOLVED] OpenGL and ITexture->lock() for movie player
Replies: 12
Views: 5320

well it's works !

it's a bit slow, so I'll reduce the texture to 256.
Now Irrlicht can play Video on Texture !
Congratulations !
by Shomaa
Wed Jun 01, 2011 10:25 am
Forum: Beginners Help
Topic: [RESOLVED] OpenGL and ITexture->lock() for movie player
Replies: 12
Views: 5320

I applied the modification but the results are the same.
With BurningsVideo everything is OK, but with D3D and OpenGL nothing is displayed on the cube.
the VLC docs says that OpenGl is compatible with VLC.

I dont know what to do ....
by Shomaa
Tue May 31, 2011 8:22 pm
Forum: Beginners Help
Topic: [RESOLVED] OpenGL and ITexture->lock() for movie player
Replies: 12
Views: 5320

Hi ,
I conduct some research and test after read your post...
Unfortunaly the bug is alway here.
so I'll post the source here ...
Am I forget anything ?


#define WIDTH 640
#define HEIGHT 480
#define TEXTUREWIDTH 512
#define VIDEOWIDTH 320
#define VIDEOHEIGHT 240
#define PITCH 640

using namespace ...
by Shomaa
Mon May 30, 2011 1:35 pm
Forum: Beginners Help
Topic: [RESOLVED] OpenGL and ITexture->lock() for movie player
Replies: 12
Views: 5320

[RESOLVED] OpenGL and ITexture->lock() for movie player

Hello,

I've created my VideoLibrary for display a Video in a texture.
I've encountered few problem...

with the Driver BURNINGDVIDEO, my video is well displayed on my cube...
but with the OPENGL Driver, my cube is desperately blue when my library play the sound

I suppose that's the fault of ...
by Shomaa
Tue Jul 14, 2009 1:09 pm
Forum: Beginners Help
Topic: Can't set position of differents scenes with Collada
Replies: 1
Views: 486

Can't set position of differents scenes with Collada

Hi ,
I've encountered a problem with Irrlicht.
I use a XML for load a Collada scene ,which contains differents elements.
after set the position of each element , i create a bounding box.
But it result that each elements are not totally loaded
(for example my scene contains the same chair and table ...
by Shomaa
Wed Apr 22, 2009 12:12 pm
Forum: Beginners Help
Topic: Trouble about COLLADA (Octree and texture)
Replies: 11
Views: 806

I found my first error:
because the file is a .DAE, you must add the flag video::EMF_FRONT_FACE_CULLING , for avoid the blink of texture (because the mesh is one textured...)
but the second problem remain here the screenshot :
http://picasaweb.google.com/lh/photo/xCIc9gmnKMQTnMHJP_jQPg?authkey ...
by Shomaa
Tue Apr 21, 2009 1:48 pm
Forum: Beginners Help
Topic: Trouble about COLLADA (Octree and texture)
Replies: 11
Views: 806

in my last post, I compiled the project with the lastest Irllicht (SVN/Trunk)
and the picture is the result of this operation...
how do you apply correctly the texture ?
Can you show a piece of your code ,please ?
by Shomaa
Sat Apr 18, 2009 2:07 pm
Forum: Beginners Help
Topic: Trouble about COLLADA (Octree and texture)
Replies: 11
Views: 806

After several try ,the resultat is still the same, the z axis is reverted ,and worst ,the collada meshes doesnt support several texture anymore... :evil:

http://picasaweb.google.com/lh/photo/nKyn8M-pKfZQNDdm8mqyTQ?authkey=Gv1sRgCIijmqCRmrfvigE&feat=directlink

i post my code here, it's for loading ...
by Shomaa
Fri Apr 17, 2009 5:17 pm
Forum: Beginners Help
Topic: Trouble about COLLADA (Octree and texture)
Replies: 11
Views: 806

we load many parts via XML ,
it's the easiest mtehod for applying the physic engine on the scene and twinking the scene.
by Shomaa
Fri Apr 17, 2009 12:59 pm
Forum: Beginners Help
Topic: Trouble about COLLADA (Octree and texture)
Replies: 11
Views: 806

Hybrid :
I gave you a piece of the mesh via PM

thanks for the help
by Shomaa
Fri Apr 17, 2009 10:49 am
Forum: Beginners Help
Topic: Trouble about COLLADA (Octree and texture)
Replies: 11
Views: 806

Trouble about COLLADA (Octree and texture)

Hi,
I use Irrlicht for a school project and we got a problem with COLLADA.
the real meshes looks like this :

http://picasaweb.google.fr/lh/photo/8aEApf-ruhXWRF1YJJEyRQ?authkey=Gv1sRgCPLr-4GkktfZBg&feat=directlink

but in Irrlicht, every meshes is reverted in Z axis (Textures and meshes)
also, the ...