Search found 5 matches

by killrazor
Tue Nov 07, 2006 4:58 pm
Forum: Beginners Help
Topic: Terrain tutorial doubt
Replies: 4
Views: 506

Ahhhhh, ok. Thanks for your explanation. I thought that a pixel is a whole triangle.
by killrazor
Tue Nov 07, 2006 10:57 am
Forum: Beginners Help
Topic: Terrain tutorial doubt
Replies: 4
Views: 506

Terrain tutorial doubt

Hi all,
I'm following the terrain tutorial and I'm wondering about the getTriangleCount method of the scene::ITriangleSelector interface. If the height map have 256*256 pixels, the most logical triangle count should be 65532 triangles. But the triangle count is 115200. Why?

Thanks in advance
by killrazor
Mon Nov 06, 2006 7:48 pm
Forum: Beginners Help
Topic: How does Irrlicht count the polygons?
Replies: 10
Views: 863

I have a similar problem. I'm triyng the terrain render tutorial and I have modified the code by putting this simply line:

// create triangle selector for the terrain
scene::ITriangleSelector* selector =
smgr->createTerrainTriangleSelector(terrain, 0);
terrain->setTriangleSelector(selector ...
by killrazor
Thu Oct 26, 2006 10:32 pm
Forum: Beginners Help
Topic: [solved]Newbie question: get an image width and height
Replies: 1
Views: 161

Solved

Solved, thanks to all. I'm so stupid. The method is getAbsolutPosition
by killrazor
Thu Oct 26, 2006 10:25 pm
Forum: Beginners Help
Topic: [solved]Newbie question: get an image width and height
Replies: 1
Views: 161

[solved]Newbie question: get an image width and height

Hi all, I'm trying to follow the tutorials but BTW doing other test. Now, I'm following the GUI tutorial and I successfully put an image logo in my window. The problem is to put a text next to the image. To do this I need the image witdh by it no seems to be a function that returns the image size ...