Search found 8 matches

by Serge
Fri Mar 18, 2011 7:47 am
Forum: Beginners Help
Topic: createTerrainTriangleSelector and memory leak ?
Replies: 0
Views: 546

createTerrainTriangleSelector and memory leak ?

Using heightmap 1025x1025 bmp format.
12 Example. Adding sleep() after device->drop();
First we run example uncommented createTerrainTriangleSelector, and we have:
23.2 mb before creating device
282 mb after creating device and loading all files
113.7 mb after device->drop()(window dont close ...
by Serge
Sun Mar 06, 2011 9:09 am
Forum: Beginners Help
Topic: Minimap for ITerrainSceneNode
Replies: 8
Views: 738

I made a minimap using a second camera and render that to an RTT.

http://img856.imageshack.us/img856/5489/bildschirmfoto1.th.png

This works for all kind of geometry, not only for terrains.
Yes, i need similar minimap, but i dont know, show full scalled terrarin on it or scalled fragment.
Can ...
by Serge
Sat Mar 05, 2011 11:09 am
Forum: Beginners Help
Topic: Minimap for ITerrainSceneNode
Replies: 8
Views: 738

nespa wrote:minimap or mipmap?

mipmap is done automaticaly over the color texture depends on the value of the patch size when you load a terrain from a heightmap;
MiniMap
by Serge
Sat Mar 05, 2011 10:40 am
Forum: Beginners Help
Topic: Minimap for ITerrainSceneNode
Replies: 8
Views: 738

Minimap for ITerrainSceneNode

Hi all.
Can help me with minimap for ITerrainSceneNode.may be сan ready solutions.
in forum search i dont find any good solution(
by Serge
Wed Feb 09, 2011 7:13 am
Forum: Beginners Help
Topic: Qt version 4.7.0 & QKeyEvent(camera move)
Replies: 3
Views: 782

I resolve this problem. Read api: void* irr::SIrrlichtCreationParameters::WindowId and findedd where i mistake.
In Qt(and in others gui probably) we mast paint in recursive, and increase the timer.
My paintEven
void Terrain3DTiled::paintEvent(QPaintEvent */*event*/)
{
if(m_IrrDevice == 0)
return ...
by Serge
Tue Feb 08, 2011 9:34 am
Forum: Beginners Help
Topic: Qt version 4.7.0 & QKeyEvent(camera move)
Replies: 3
Views: 782

humn... this has been done before, did you search the forums??


Anyways, here you go :
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=15112&highlight=qirrlichtwidget

This should sort out all your problems.
yes, i read this topic long time ago. but this don't help me.
I will repeat, m ...
by Serge
Wed Feb 02, 2011 6:29 am
Forum: Project Announcements
Topic: New Tiled Terrain Scene Node [works with Irr 1.5]
Replies: 338
Views: 121185

Minimum fix in code, and this worked with irrlicht 1.7.2 )
Thx for the great class
by Serge
Mon Jan 31, 2011 9:10 am
Forum: Beginners Help
Topic: Qt version 4.7.0 & QKeyEvent(camera move)
Replies: 3
Views: 782

Qt version 4.7.0 & QKeyEvent(camera move)

Hi ALL. Sorry for my english, but i need help :) with irrlicht and Qt.
Mouse events work excellent :
void Terrain3D::mouseMoveEvent(QMouseEvent *event)
{
switch(mousePressedBtn){
case Qt::LeftButton:{
if(mousePressed){
irr::SEvent irrEvent;
irrEvent.EventType = irr::EET_MOUSE_INPUT_EVENT;
if ...