Search found 49 matches

by turboferret
Thu Jul 22, 2010 9:24 pm
Forum: Bug reports
Topic: getPickedNodeFromBBAndSelector returns wrong ISceneNode
Replies: 0
Views: 652

getPickedNodeFromBBAndSelector returns wrong ISceneNode

Hey hey, I have a project with a collision system setup like this: CNodeA derived from ISceneNode | > unknown number of children of CNodeB derived from ISceneNode with IMetaTriangleSelector | > this IMetaTriangleSelector contains a number of CSelector derived from ITriangleSelector that is returning...
by turboferret
Thu Jul 13, 2006 3:38 pm
Forum: Bug reports
Topic: RTTtexture->lock() FIX (D3D8 & D3D9)
Replies: 3
Views: 8112

Hi alc! I'm not sure about getPitch, sounds like it would fit there. You can't modify the pixels of a rendertargettexture. It is in fact a copy of the texture like you suggest. I don't think there's an easy fix for this, since a rendertarget is pretty different from a regular texture. Thanks for the...
by turboferret
Fri Jun 09, 2006 11:08 am
Forum: Advanced Help
Topic: Diet rendering
Replies: 10
Views: 736

Hi Eagle!
The Irrlicht object will hopefully be released the same time as this Mesh object, not long after MMF2 is released. Thanks for the interest.
by turboferret
Thu Jun 08, 2006 7:46 pm
Forum: Advanced Help
Topic: Diet rendering
Replies: 10
Views: 736

can't you just tell us what exactly you want to do? or is that a secret? Not exactly a secret. I'll try to be as precise as possible. There's a product called Multimedia Fusion created by ClickTeam . Simply put it is a program for creating other applications (games/mediaplayers etc). the second ver...
by turboferret
Thu Jun 08, 2006 5:57 pm
Forum: Advanced Help
Topic: Diet rendering
Replies: 10
Views: 736

There is not much room for improvement, if you render each mesh seperately. Question is: Do you really need to? That's a good question. The problem is; as the project is a plugin there may be lots of different mesh-objects with different sizes and configurations. I'll try to elaborate on your sugge...
by turboferret
Thu Jun 08, 2006 5:00 pm
Forum: Advanced Help
Topic: Diet rendering
Replies: 10
Views: 736

Thanks for the interest, Baal. Ok this is what I'm doing: Begin scene Set rendertarget A single mesh is drawn End scene Lock rendertarget Load rendertarget to destination surface This is then repeated for every mesh used by the application. As reference I use the sydney mesh supplied with Irrlicht a...
by turboferret
Wed Jun 07, 2006 11:14 pm
Forum: Advanced Help
Topic: Diet rendering
Replies: 10
Views: 736

Diet rendering

Hey everyone! I'm making a plugin/extension to a multimedia creation application using Irrlicht. My plugin renders a single mesh without any fancy stuff like shaders/shadows, this procedure will then be repeated an arbitrary number of times every frame, depending on how many copies of the plugin obj...
by turboferret
Wed Jun 07, 2006 10:54 pm
Forum: Advanced Help
Topic: Create a video file (e.g. mpeg) of the 3D Data
Replies: 13
Views: 1474

i dont think you can lock a render target (yet). you can however grab screen data using either directx or opengl. see here for opengl. Emil Halim's Magic2d library can record to divx avi, I assume this is using directx and vfw or something I posted a fix to locking d3d8/d3d9 rendertarget textures s...
by turboferret
Wed Jan 25, 2006 12:56 pm
Forum: Beginners Help
Topic: Copy part of texture into another
Replies: 4
Views: 400

heh thanks :)
by turboferret
Tue Jan 24, 2006 4:22 pm
Forum: Beginners Help
Topic: Copy part of texture into another
Replies: 4
Views: 400

Here's my fix for locking d3d8/9 rendertargets
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=10154
by turboferret
Mon Dec 05, 2005 11:33 pm
Forum: Advanced Help
Topic: Offscreen rendering
Replies: 4
Views: 427

Here's the url to my fix for that in 0.14
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=10154
by turboferret
Sat Dec 03, 2005 11:15 am
Forum: Bug reports
Topic: RTTtexture->lock() FIX (D3D8 & D3D9)
Replies: 3
Views: 8112

RTTtexture->lock() FIX (D3D8 & D3D9)

Hi everyone! This is how to modify the engine (0.14.0) so that you can use ITexture::lock() on textures created with IVideoDriver::createRenderTargetTexture(). Direct3D9 CD3D9Texture.h <-- URL to updated file In the class definition, add a protected IDirect3DSurface9 member IImage* Image; IDirect3DD...
by turboferret
Sun Sep 18, 2005 10:16 am
Forum: Advanced Help
Topic: lock rendertarget texture
Replies: 3
Views: 349

Thanks for that Nico. Looking forward to what you'll find out!
by turboferret
Sat Sep 17, 2005 9:15 am
Forum: Advanced Help
Topic: lock rendertarget texture
Replies: 3
Views: 349

Update:
I've been able to lock the texture when using OpenGL, but not with directx 8 or 9. The weird thing with OpenGL is that when I use draw2DImage to draw the texture afterwards, it is flipped vertically. Also the colors returned by getPixel is wrong or different than expected.
by turboferret
Fri Sep 16, 2005 9:49 am
Forum: Advanced Help
Topic: lock rendertarget texture
Replies: 3
Views: 349

lock rendertarget texture

Hi all!
Is it possible to lock an ITexture created with IVideoDriver::createRenderTargetTexture? Everytime I try to lock such a texture it returns NULL. Normal textures work fine.

Thanks