Search found 24 matches

by dujimache
Mon Jul 05, 2010 1:58 pm
Forum: Advanced Help
Topic: CTerrainSceneNode heightmap's max width and height
Replies: 1
Views: 441

CTerrainSceneNode heightmap's max width and height

when i use a 2049 * 2049's heightmap,and set patch size 129,irrlicht engine appears mistake,i want to know the max size irrlicht support.
by dujimache
Mon Jul 05, 2010 1:44 pm
Forum: Advanced Help
Topic: sphere scenenode of level of detail
Replies: 9
Views: 1419

DtD wrote:Oh, you mean LOD like they have on the terrain. I'd look at how the terrain scene node works internally and go from there.
thanks ,if you create a lod sphere scene node,tell me!thank you.i think it is a very useful node!
by dujimache
Mon Jul 05, 2010 1:42 pm
Forum: Advanced Help
Topic: sphere scenenode of level of detail
Replies: 9
Views: 1419

Sounds like you need a Chunked LOD 3rd party library like I'm trying to get to work with Irrlicht :( http://www.organicvectory.com/index.php?option=com_content&view=article&id=22&Itemid=2 thank you very much,the pics shown on your link seem like effect,can i get access the source code??
by dujimache
Sun Jul 04, 2010 7:01 am
Forum: Advanced Help
Topic: sphere scenenode of level of detail
Replies: 9
Views: 1419

Basically, just make a scene node with a sphere mesh a several different resolutions, and then render a different one depending on how far away the camera is. You don't even need to write the code to generate the spheres ~David yes,your suggestion is a good idea for rendering a sphere,but it needs ...
by dujimache
Sun Jul 04, 2010 2:36 am
Forum: Advanced Help
Topic: sphere scenenode of level of detail
Replies: 9
Views: 1419

sphere scenenode of level of detail

does anyone have a sphere scenenode of level of detail, like the world wind's earth,or can somebody give me some advice on this topic?
by dujimache
Sun Sep 27, 2009 10:58 am
Forum: Advanced Help
Topic: how to change the color of a cube surface
Replies: 1
Views: 523

how to change the color of a cube surface

scene::ISceneNode *cube1 = smgr->addCubeSceneNode(10.0f,0,1,core::vector3df(-50,0,0)); scene::ISceneNode *cube2 = smgr->addCubeSceneNode(10.0f,0,2,core::vector3df(0,0,0)); scene::ISceneNode *cube3 = smgr->addCubeSceneNode(10.0f,0,3,core::vector3df(50,0,0)); scene::ISceneNode *sphere = smgr->addSphe...
by dujimache
Tue Sep 15, 2009 10:59 am
Forum: Advanced Help
Topic: how to draw3dline using render to texture?
Replies: 0
Views: 524

how to draw3dline using render to texture?

i want to draw 3d line to a texture, as the example rendering to texture shows, using draw3dline,i can get the correct 3d position.but i can't see the line.can somebody help me?
by dujimache
Wed Sep 09, 2009 6:20 am
Forum: Advanced Help
Topic: how to fix a point in the view by moving the camera?
Replies: 0
Views: 418

how to fix a point in the view by moving the camera?

i want to make the leftup corner of the grid stay at the (40,30) pixcel on the screen all the time,first,the camera is above the rightdown corner.so,when i move close to the grid,i have to move the camera to left and up. and set the camera's target renewedly,i use method as below: //xCamDist X offse...
by dujimache
Tue Sep 08, 2009 12:48 am
Forum: Advanced Help
Topic: can somebody give me some advise?
Replies: 2
Views: 451

I think you can definitely handle all of that using irrlicht. Take a look at the tutorials and some of the different camera animators to see how to use the mouse to zoom in and out. You may want to make the distinction between "panning" and "zooming" (panning actually moves clos...
by dujimache
Mon Sep 07, 2009 12:44 pm
Forum: Advanced Help
Topic: can somebody give me some advise?
Replies: 2
Views: 451

can somebody give me some advise?

hello,everyone!now i want to program a 3d home editor,it can create walls,and there are two rulers on the gui,including the top horizontal ruler,and the left ruler,like sweet home 3d's ruler.when you scale or zoom use your mouse the ruler changes with your operation.and grids change too.can somebody...
by dujimache
Mon Sep 07, 2009 6:27 am
Forum: Advanced Help
Topic: add a ruler
Replies: 1
Views: 365

add a ruler

#include <iostream> #include <Irrlicht.h> using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; #pragma comment(lib, "Irrlicht.lib") #include <fstream> using namespace std; //ofstream out("out.txt"); enu...
by dujimache
Mon Aug 31, 2009 1:49 am
Forum: Beginners Help
Topic: how to move the character using mouse
Replies: 3
Views: 339

how to move the character using mouse

if (mouseDownL == true) { cursor.X = (f32)event.MouseInput.X; cursor.Y = (f32)event.MouseInput.Y; cursorDelta.X = (f32)((cursor.X - cursorOld.X) * 1.0); cursorDelta.Y = (f32)((cursor.Y - cursorOld.Y) * 1.0); selectedNode = smgr->getSceneCollisionManager()->getSceneNodeFromScreenCoordinatesBB(core::...
by dujimache
Fri Aug 28, 2009 10:39 am
Forum: Advanced Help
Topic: how to hide the title bar?
Replies: 2
Views: 688

thank you very much,i see!thanks again!
by dujimache
Fri Aug 28, 2009 2:25 am
Forum: Advanced Help
Topic: how to hide the title bar?
Replies: 2
Views: 688

how to hide the title bar?

i added a window and i don't want to see the title bar? can somebody help me? :wink:
by dujimache
Thu Aug 27, 2009 5:04 am
Forum: Beginners Help
Topic: memory grow continuously,why?
Replies: 2
Views: 266

yes ,thank you ,i find the problem