Search found 77 matches

by thomascheah
Thu Jul 03, 2008 3:02 pm
Forum: Advanced Help
Topic: createScreenShot captures overlapping window as well?
Replies: 3
Views: 415

So it is indeed a bug in the Direct3D driver?
by thomascheah
Thu Jul 03, 2008 3:54 am
Forum: Advanced Help
Topic: createScreenShot captures overlapping window as well?
Replies: 3
Views: 415

createScreenShot captures overlapping window as well?

Before I moved this into the bugs forum, can anybody confirm to me that createScreenShot actually captures any overlapping window above the Irrlicht drawing surface. For example, I have an application (windowed, non-fullscreen) that used Irrlicht to perform 3D rendering. I want to save the 3D render...
by thomascheah
Wed Jul 02, 2008 2:41 pm
Forum: Beginners Help
Topic: Targeting Box
Replies: 6
Views: 971

Targeting Box

How do I calculate a targeting box in screen coordinates that encloses an object? For example, in flight simulator, whenever you saw a bogie in front of you, you have a targeting box in your HUD that encloses the enemy ship. I want to achieve the same.

Thanks in advance.
by thomascheah
Fri Mar 28, 2008 1:33 pm
Forum: Advanced Help
Topic: CreateRenderTargetTexture causes problems to OnResize
Replies: 12
Views: 1712

Any quick patch to this? 8)
by thomascheah
Fri Mar 28, 2008 7:59 am
Forum: Advanced Help
Topic: CreateRenderTargetTexture causes problems to OnResize
Replies: 12
Views: 1712

Thanks Hybrid, but no luck either. I tried to call remove texture before dropping it, like the followings if (++count == 500) { rt = driver->createRenderTargetTexture(core::dimension2d<s32>(256,256)); // Comment the following 2 lines and things will be ok. rt->lock(); rt->unlock(); // Drop the RTT a...
by thomascheah
Fri Mar 28, 2008 7:42 am
Forum: Advanced Help
Topic: Optimizing the display of texture with alpha
Replies: 14
Views: 1097

Ok, just did a quick test. I tried making the texture above has a dimension of 1024 x 1024 by padding extra space, and it still looks yucky. Can't see any significant improvements than before. I just got a feeling that whether it could be the texture anti-aliasing works better without alpha informat...
by thomascheah
Fri Mar 28, 2008 7:11 am
Forum: Advanced Help
Topic: Optimizing the display of texture with alpha
Replies: 14
Views: 1097

Thanks for all inputs. Appreciate them! BlindSide's solution seems very creative, though requires great deal of precision in order to be precise. For the rest, I am not sure whether the rendering quality is indeed caused by non-POT texture dimension. As you can seen from my tests above, both texture...
by thomascheah
Thu Mar 27, 2008 10:08 am
Forum: Advanced Help
Topic: Optimizing the display of texture with alpha
Replies: 14
Views: 1097

Sorry I noticed that the MipMap flag is activated. I had disabled it and update the screenshots above. Still looks somewhat unsatifactory. :(
by thomascheah
Thu Mar 27, 2008 9:51 am
Forum: Advanced Help
Topic: Optimizing the display of texture with alpha
Replies: 14
Views: 1097

Thanks for the quick response. I wish I can scale the texture size into power of 2, but it is not possible in my case, as the image is specified by the user, the most I can do is scaling either its Width or Height to be power of 2, and the other dimension will have to scale proportionally. Thus, I h...
by thomascheah
Thu Mar 27, 2008 9:27 am
Forum: Advanced Help
Topic: Optimizing the display of texture with alpha
Replies: 14
Views: 1097

Optimizing the display of texture with alpha

Hi, If I had an image that contains line networks, that looks like below, http://www.objectiveworld.com/tmp/sample_map.gif what is the best way of apply this type image as texture on a 3D plane that will give the most optimum appearance? Note that the white color area supposed to be transparent. If ...
by thomascheah
Thu Feb 21, 2008 2:21 pm
Forum: Advanced Help
Topic: CreateRenderTargetTexture causes problems to OnResize
Replies: 12
Views: 1712

No comments, anyone? Hmmm....
by thomascheah
Mon Feb 18, 2008 10:18 am
Forum: Advanced Help
Topic: CreateRenderTargetTexture causes problems to OnResize
Replies: 12
Views: 1712

Hmm... I wonder when this problem will be fixed? (Or will it ever be fixed.)
by thomascheah
Mon Dec 03, 2007 11:11 am
Forum: Advanced Help
Topic: DXF Viewer
Replies: 3
Views: 534

Thanks Hybrid for the effort. Anyway, what are those extra "additions" that are missing? Like curve, circle entities, etc. in DXF I supposed?

Also, does your DXF loader draw the lines only, or it will fill them with solid colors?
by thomascheah
Mon Dec 03, 2007 3:42 am
Forum: Advanced Help
Topic: DXF Viewer
Replies: 3
Views: 534

DXF Viewer

Hi, While I was looking for DXF loader for Irrlicht, I found this patch at Hybrid website, http://parsys.informatik.uni-oldenburg.de/~hybrid/irrlicht/patch.1.0/features/addfiles/dxf.patch Why does this patch never make it to the official release? Wondering whether it is still usable for the current ...
by thomascheah
Tue Nov 27, 2007 12:46 am
Forum: Advanced Help
Topic: RenderTargetTexture on OpenGL Return 0 for lock() and pitch
Replies: 6
Views: 543

Aside from that, I also noticed createScreenShot will capture any windows that are on top of the main window where Irrlicht renders. This might not be a problem in fullscreen mode, but I believe it is ill-suited for programs in windowed mode, where there is always dialog boxes (of the same applicati...