Search found 50 matches
- Wed Jun 03, 2009 8:38 pm
- Forum: Advanced Help
- Topic: get coords from mouse pointer
- Replies: 2
- Views: 541
- Wed Jun 03, 2009 8:59 am
- Forum: Advanced Help
- Topic: get coords from mouse pointer
- Replies: 2
- Views: 541
get coords from mouse pointer
let us have a flat terrain, this terrain is a scene node containing a mesh. I'd like to subdivide all (or a part) of this terrain in a grid of cells, so when I roll the mouse over the terrain I can highlight the cell the mouse is in. How can I do that? How to get the coordinates of the collision poi...
- Wed Jan 14, 2009 2:44 pm
- Forum: Beginners Help
- Topic: terrain renders oddly
- Replies: 2
- Views: 388
- Sun Oct 19, 2008 10:15 am
- Forum: Beginners Help
- Topic: blender, obj, and transparent texture
- Replies: 1
- Views: 637
sorry, I find the solution. Just put
in the code
Code: Select all
node->setMaterialType(EMT_TRANSPARENT_ALPHA_CHANNEL_REF);
- Sun Oct 19, 2008 9:14 am
- Forum: Beginners Help
- Topic: blender, obj, and transparent texture
- Replies: 1
- Views: 637
blender, obj, and transparent texture
Hi guys. I'm trying to apply a transparent texture on the default cube of Blender. The texture is a .png 256x256 image. The texture is UV mapped. In the blender 3D window the texture looks correctly transparent, but as I export the .obj model and load it into irrlicht, the transparent zones are rend...
- Mon Oct 06, 2008 3:03 pm
- Forum: Beginners Help
- Topic: Terrains
- Replies: 5
- Views: 1247
- Mon Sep 22, 2008 4:19 pm
- Forum: Beginners Help
- Topic: irrlicht in c++ class code and destructor
- Replies: 12
- Views: 1471
irrlicht in c++ class code and destructor
Hi guys. just a nooby question :) Let's say I make a c++ program in wich I define my own Game class. Obviously, Game class has members like - IrrlichtDevice* device; - IVideoDriver* driver; ..and so on. The device is created in the Game class constructor. A run() method contains the game loop. The m...
- Sat Sep 13, 2008 8:11 pm
- Forum: Beginners Help
- Topic: xml config file
- Replies: 12
- Views: 1040
- Sat Sep 13, 2008 7:47 pm
- Forum: Beginners Help
- Topic: xml config file
- Replies: 12
- Views: 1040
xml config file
Hello guys. My question is simple. I just wanna load an xml config file through IXMLReader and read few useful parameters like: - video driver - screen resolution - ...others... I know I need this line of code IXMLReader* xml = device->getFileSystem()->createXMLReader("..."); but I can put...
- Tue Aug 12, 2008 2:01 pm
- Forum: Advanced Help
- Topic: managing huge map
- Replies: 6
- Views: 832
- Tue Aug 12, 2008 10:21 am
- Forum: Advanced Help
- Topic: managing huge map
- Replies: 6
- Views: 832
managing huge map
Hello everybody. I was wondering on how to make and render a really big map. I'm not going to use the TerrainSceneNode but a simple mesh for the terrain. The problem is all the amount of objects (trees, houses, stuffs, etc) contained in the map. I was thinking about making two (or three) versions of...
- Sun Jun 08, 2008 3:40 pm
- Forum: Beginners Help
- Topic: Loading image problem.
- Replies: 6
- Views: 437
- Sat Jun 07, 2008 12:27 pm
- Forum: Beginners Help
- Topic: 2d and FPS
- Replies: 18
- Views: 1761
the texture is 512x512. Tiles are 64x64. So, all of them are 2^n. The console log is: Irrlicht Engine version 1.4.1 Microsoft Windows XP Professional Service Pack 2 (Build 2600) Using renderer: OpenGL 1.5.0 Intel 965/963 Graphics Media Accelerator: Intel OpenGL driver version is 1.2 or better. GLSL ...
- Sat Jun 07, 2008 7:18 am
- Forum: Beginners Help
- Topic: Loading image problem.
- Replies: 6
- Views: 437
Re: Loading image problem.
I started messing around with the 2D parts of Irrlicht and am trying to load a large background image. Unfortunately, it won't load and I don't know why. Heres the code that creates and displays it and the error message. The image is located in the same folder as the project code. It should be loca...
- Fri Jun 06, 2008 11:50 am
- Forum: Beginners Help
- Topic: 2d and FPS
- Replies: 18
- Views: 1761
@arras you were right, on another machine drawing nothing D3D -> 1700 FPS OGL -> 1100 FPS SW -> 350 FPS Drawing 100 tiles D3D -> 1200 FPS OGL -> 900 FPS SW -> 290 FPS Drawing 10,000 (100x100)tiles all on screen D3D -> 49 OGL -> 49 SW -> 17 Drawing 10,000 tiles but only 24x24 on-screen D3D -> 570 OGL...