Search found 7 matches
- 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...
- Mon Jul 30, 2007 5:48 pm
- Forum: Beginners Help
- Topic: Height field losts some triangles
- Replies: 3
- Views: 181
- 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...
- 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...
- 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...
- 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...
- 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...