Search found 6 matches

by Imbrondir
Sun May 31, 2009 3:33 pm
Forum: Beginners Help
Topic: ITexture::lock() and update too slow?
Replies: 5
Views: 643

Using OpenGL as driver and Irrlicht 1.5. Slowing down the framerate I can see what is happening. The frames are instead of: Original -> Orignal -> Original -> etc... I get: Blank -> Original -> Blank -> etc... Mirror Org -> Blank -> Mirror Org I tested it with Direct3d 8 and 9 driver, but then I onl...
by Imbrondir
Sun May 31, 2009 11:52 am
Forum: Beginners Help
Topic: ITexture::lock() and update too slow?
Replies: 5
Views: 643

One thing though. With this change, suddenly my texture got mirrored. Why is this? Well both the actual image _and_ a mirrored copy beneath.

[EDIT: If i don't update it (only draw it the first time, I only get the mirrored one).]
by Imbrondir
Sat May 30, 2009 10:19 pm
Forum: Beginners Help
Topic: ITexture::lock() and update too slow?
Replies: 5
Views: 643

Nox wrote:What kind of texture do you use? Do you use a dynamic/rendertargettexture? Because normal textures are not optimizied for frequently locks/unlocks.
I changed the addTexture to addRenderTargetTexture, and it certainly did the trick! Thank you for the tip.
by Imbrondir
Thu May 28, 2009 7:11 pm
Forum: Beginners Help
Topic: ITexture::lock() and update too slow?
Replies: 5
Views: 643

ITexture::lock() and update too slow?

Hey. I've drawn some graphics to an ITexture, and mapped it to cube. Now I want to update the graphics to the texture, but suddenly I get like 5fps. First I thought it was the 2D library (cairo), but I isolated it down to only (ITexture*)texture->lock() and later unlocking it. Why is this slow? And ...
by Imbrondir
Sat Jan 26, 2008 3:24 pm
Forum: Beginners Help
Topic: Is there a general way of linking nativly?
Replies: 1
Views: 235

Is there a general way of linking nativly?

This is kind of off topic, but it is a general c++ programming issue. Irrlicht is one of the very few libraries I have managed to link with. I have tried to link with a lot of open source 3rd party libraries though. My consistent low success has lead me to believe that I'm missing something. Is ther...
by Imbrondir
Mon Oct 08, 2007 2:49 pm
Forum: Jirr
Topic: Other Java 3D engines
Replies: 16
Views: 19446

Other Java 3D engines

Anybody been trying to work with other pure(r) java implementations of a 3D engine like jMonkeyEngine, Jake, jPCT...? How does that compare to irrlicht? I like that jogl is swing compatible, but on the other hand, a higher level wrapper than pure opengl would probobly result in less jni calls, givin...