Search found 28 matches

by lab_zj
Mon Mar 15, 2010 7:00 am
Forum: Beginners Help
Topic: Strange problem for RTT...
Replies: 2
Views: 209

I place make makeColorKeyTexture() inside render loop, the memory leaks very obviously, and this problem both exist in OpenGL and D3D9 driver.
by lab_zj
Mon Mar 15, 2010 6:51 am
Forum: Beginners Help
Topic: How to use SMesh to draw non-indexed primitives effectively
Replies: 1
Views: 221

How to use SMesh to draw non-indexed primitives effectively

I have a big terrain that represented by a TIN (triangulate irregular network) and many contour lines. I currently using a SMesh to contain TIN as indexed triangles, and using another SMesh to contain contour lines as indexed line-strips. when rendering, the contour lines always shows above TIN surf...
by lab_zj
Mon Mar 15, 2010 6:36 am
Forum: Beginners Help
Topic: Strange problem for RTT...
Replies: 2
Views: 209

Strange problem for RTT...

I have created a Render To Texture used for render a fixed camera's view into it. In render loop, every time I call makeColorKeyTexture() to make background color of RTT to transparent,then call draw2DImage() to paste RTT onto screen. But I have a strange problem: if I call makeColorKeyTexture() in ...
by lab_zj
Sat Mar 13, 2010 2:40 pm
Forum: Advanced Help
Topic: How to make background transparent?
Replies: 0
Views: 651

How to make background transparent?

I have a big terrain that made up into many triangles, and have a FPS camera used for walk into terrain, and have another camera fixed above terrain used for RTT(render to texture). the RTT has been pasted into screen. I want to RTT's background is full transparent, so using: video::IVideoDriver::ma...
by lab_zj
Fri Nov 20, 2009 9:02 am
Forum: Beginners Help
Topic: how to fly camera follow spline?
Replies: 4
Views: 1412

thanks for your reply. I have write my track animator, that can exactly control camera's position and rotation based on time-key-frame interpolate, the camera always fly with uniform speed and smoothly rotate.
by lab_zj
Thu Nov 19, 2009 8:38 am
Forum: Beginners Help
Topic: how to fly camera follow spline?
Replies: 4
Views: 1412

thank you very much, I will try again.
by lab_zj
Thu Nov 19, 2009 6:32 am
Forum: Beginners Help
Topic: how to fly camera follow spline?
Replies: 4
Views: 1412

how to fly camera follow spline?

I have many points that served as a track, and I want fly camera follow this track with optional offset, and require camera's direction always toward the front (the track point's tangent direction). currently, I use ISceneManager::createFollowSplineAnimator(), that can control camera follow track (a...
by lab_zj
Wed Nov 18, 2009 8:28 am
Forum: Beginners Help
Topic: how to get aabbox for a given node?
Replies: 1
Views: 267

how to get aabbox for a given node?

I have a empty node, and have many animationed mesh nodes include in it, but when I call getBounds(), it always return unit aabbox, not include any child's aabbox.

So, have any functions can get a node's aabbox (include all child's)?

thank you.
by lab_zj
Sun Nov 15, 2009 3:16 am
Forum: Beginners Help
Topic: texture wrap mode and texture direction
Replies: 2
Views: 317

thank you very much, i will try to fix it in my code temporarily, and wait for v1.7 release.
by lab_zj
Sat Nov 14, 2009 5:49 pm
Forum: Beginners Help
Topic: texture wrap mode and texture direction
Replies: 2
Views: 317

texture wrap mode and texture direction

1. For texture mode: For a material layer, I want to set texture wrap mode in u and v direction with different values, how to do? currently, seems must set to same value, because no method to specify which direction should be changed. 2. For texture direction: In OpenGL, if I set a rectangle's textu...
by lab_zj
Mon Mar 16, 2009 2:37 am
Forum: Bug reports
Topic: [fixed] error in IrrCompileConfig.h...
Replies: 1
Views: 503

[fixed] error in IrrCompileConfig.h...

In lastest svn version of Irrlicht engine, the IrrCompileConfig.h: #if defined(_MSC_VER) && (_MSC_VER < 1400) # error "Only Microsoft Visual Studio 7.0 and later are supported." #endif should change to: #if defined(_MSC_VER) && (_MSC_VER < 1300) # error "Only Microsoft...
by lab_zj
Tue Mar 03, 2009 3:42 am
Forum: Bug reports
Topic: three problems for 1.5...
Replies: 1
Views: 542

three problems for 1.5...

1. IMeshManipulator does not support mesh that using 32-bit index, so, for dynamic mesh with 32-bit index, IMeshManipulator will almost crashed. 2. the skybox and skydome node using same node-type-flag, so when the scene save and reload, the skydome will become skybox. Also, skybox and skydome node ...
by lab_zj
Fri Feb 27, 2009 9:41 am
Forum: Project Announcements
Topic: IrrPhysx 0.3 - Nvidia Physx 2.8.1 wrapper
Replies: 51
Views: 23965

yes, when set cameraoffset to (0,2.0f,0), then seems ok.
by lab_zj
Fri Feb 27, 2009 2:18 am
Forum: Advanced Help
Topic: how to load saved scene effective?
Replies: 1
Views: 337

how to load saved scene effective?

when I load a saved scene, the FPS camera missing origin settings for animator, the skydome missing it's mesh and just hang on the space. Now, for FPS camera, I can set my scene::ISceneUserDataSerializer pointer to save and reload extra parameters, and set it to animator. But for skydome, I must sav...
by lab_zj
Mon Feb 23, 2009 8:39 am
Forum: Project Announcements
Topic: IrrPhysx 0.3 - Nvidia Physx 2.8.1 wrapper
Replies: 51
Views: 23965

thank you very much. when I set the radius of sphere to 2.0 and CameraOffset to (0,0,0), means that camera located in the center of sphere, and always 2.0 above ground? But when I does so, the camera seems cling to the ground. I set radius to 2.0, because the height of man about two meters, and the ...