Search found 7 matches

by khayyam
Wed Oct 31, 2007 6:08 pm
Forum: Beginners Help
Topic: How to copy textures into a texture ?
Replies: 1
Views: 710

How to copy textures into a texture ?

Hello everybody, I'm trying to copy a texture into another texture. How should I proceed ? I'm looking for something like video::ITexture *renderTexture(video::ITexture *target, video::ITexture *source, core::rect<int>& position); I don't really understandthe difference between ITexture and IIma...
by khayyam
Mon Jul 30, 2007 5:48 pm
Forum: Beginners Help
Topic: Height field losts some triangles
Replies: 3
Views: 181

hybrid wrote:It should be 129x129 pixels in size.
that was the problem. I forgot the extra pixel, I got 256x256, with 257x257 it works.

thanks a lot
by khayyam
Mon Jul 30, 2007 5:14 pm
Forum: Beginners Help
Topic: Height field losts some triangles
Replies: 3
Views: 181

Height field losts some triangles

Hello all, I have a strange rendering for a height field. *Sometimes*, I get this -> http://img49.imageshack.us/my.php?image=hfieldym9.jpg , some triangles are lost. At starting the height field is fine, but after some processings (independant, on my mind), the heigt field suddently changes. The pro...
by khayyam
Thu Jun 07, 2007 12:14 pm
Forum: Beginners Help
Topic: How to select nodes behind a 2d rectangle ?
Replies: 1
Views: 185

How to select nodes behind a 2d rectangle ?

Hi all, I'm trying to implement a rectangle selection functionality, so I draw a 2d rectangle on the screen and I would like to get all the objets whose screen projection is inside this rectangle. First idea : project all the objects on the screen with ISceneCollisionManager ::getScreenCoordinatesFr...
by khayyam
Wed Jun 06, 2007 7:31 am
Forum: Beginners Help
Topic: Problem with 2d graphics & zbuffer
Replies: 1
Views: 157

Problem with 2d graphics & zbuffer

hi all, I have a little problem with the z buffer when displaying 2d graphics. Look by yourself : http://img204.imageshack.us/img204/5112/shotlx5.jpg My custom scene node renders the white 2d graphics and the blue 3d object. How to be sure that the 2d graphics will appear in front of all the other o...
by khayyam
Fri Mar 09, 2007 9:07 pm
Forum: Game Programming
Topic: Compilation error on MSVC++ 2005
Replies: 2
Views: 2099

Compilation error on MSVC++ 2005

Hi all, On compiling code using irrKlang on MSVC++ 2005, I get the errors : irrKlang.h(137) : error C3861: 'visibility': identifier not found irrKlang.h(137) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int irrKlang.h(137) : error C2146: syntax error : miss...
by khayyam
Fri Mar 09, 2007 9:01 pm
Forum: Game Programming
Topic: Callbacks on events ?
Replies: 1
Views: 1226

Callbacks on events ?

Hi all, My question is very simple : how to trigger a function when an event happens ? for example I'm playing a sound, how to play another one just when the first will be finished ? One solution could be to watch regularly by irr::audio::ISound::isFinished () if the sound is finished and so to star...