Search found 50 matches

by paooolino
Wed Jun 03, 2009 8:38 pm
Forum: Advanced Help
Topic: get coords from mouse pointer
Replies: 2
Views: 508

thankyou, good advice :-)
by paooolino
Wed Jun 03, 2009 8:59 am
Forum: Advanced Help
Topic: get coords from mouse pointer
Replies: 2
Views: 508

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...
by paooolino
Wed Jan 14, 2009 2:44 pm
Forum: Beginners Help
Topic: terrain renders oddly
Replies: 2
Views: 362

it's a LOD setting problem. search the API for the function and how to set LOD properly (Level Of Detail).
by paooolino
Sun Oct 19, 2008 10:15 am
Forum: Beginners Help
Topic: blender, obj, and transparent texture
Replies: 1
Views: 627

sorry, I find the solution. Just put

Code: Select all

node->setMaterialType(EMT_TRANSPARENT_ALPHA_CHANNEL_REF);
in the code :)
by paooolino
Sun Oct 19, 2008 9:14 am
Forum: Beginners Help
Topic: blender, obj, and transparent texture
Replies: 1
Views: 627

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...
by paooolino
Mon Oct 06, 2008 3:03 pm
Forum: Beginners Help
Topic: Terrains
Replies: 5
Views: 1211

You could subdivide your terrain in big sectors - each of them is a mesh. You could model your terrain with a modeling software, like blender, and apply how many textures you want in the places you want. Then save the model in any suitable 3d format (like .OBJ) and load into irrlicht ;-)
by paooolino
Mon Sep 22, 2008 4:19 pm
Forum: Beginners Help
Topic: irrlicht in c++ class code and destructor
Replies: 12
Views: 1273

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...
by paooolino
Sat Sep 13, 2008 8:11 pm
Forum: Beginners Help
Topic: xml config file
Replies: 12
Views: 788

mmh I will give it a try, thanks :wink:
by paooolino
Sat Sep 13, 2008 7:47 pm
Forum: Beginners Help
Topic: xml config file
Replies: 12
Views: 788

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...
by paooolino
Tue Aug 12, 2008 2:01 pm
Forum: Advanced Help
Topic: managing huge map
Replies: 6
Views: 793

..or dividing map into regions and simply checking in which region the player is at every frame, and then updating the LODs of meshes in each region ;)
by paooolino
Tue Aug 12, 2008 10:21 am
Forum: Advanced Help
Topic: managing huge map
Replies: 6
Views: 793

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...
by paooolino
Sun Jun 08, 2008 3:40 pm
Forum: Beginners Help
Topic: Loading image problem.
Replies: 6
Views: 384

200 is not power of 2. powers of 2 are:

2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 ...
by paooolino
Sat Jun 07, 2008 12:27 pm
Forum: Beginners Help
Topic: 2d and FPS
Replies: 18
Views: 1526

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 ...
by paooolino
Sat Jun 07, 2008 7:18 am
Forum: Beginners Help
Topic: Loading image problem.
Replies: 6
Views: 384

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...
by paooolino
Fri Jun 06, 2008 11:50 am
Forum: Beginners Help
Topic: 2d and FPS
Replies: 18
Views: 1526

@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...