Search found 15 matches

by scotchfaster
Fri Oct 17, 2008 8:15 pm
Forum: Advanced Help
Topic: Accelerate Rendering
Replies: 8
Views: 1710

Yeah I already thought that I can not accelerate it anymore 1. Ensure all scene data is in static VBO's. 2. MRT 3. Huge RTT target; subdivide into virtual viewports 4. Hardware instancing/shader instancing. That's just a few ideas off the top of my head. Question on #3: I have a similar problem in ...
by scotchfaster
Fri Aug 29, 2008 6:05 am
Forum: Bug reports
Topic: Render to texture & fullscreen bug in Irrlicht 1.4
Replies: 9
Views: 4426

I think this thread took a tangent... However, the above fix didn't work in my application. I tried a number of different approaches, and none of them worked. Actually, the exact scenario in my case was that beginScene() would fail (and the call to reset() would also fail) after my computer hibernat...
by scotchfaster
Tue Jul 22, 2008 10:14 pm
Forum: Beginners Help
Topic: changing the axis of rotation?
Replies: 5
Views: 321

Hmmm...I'm not creating these meshes myself, but importing them. They are in 3DS format, but I don't see an "origin" field anywhere. In any case, it does appear that it rotates around (0,0,0), and so my very simple solution is to offset the vertices of the mesh. And yes, I realize that a b...
by scotchfaster
Sun Jul 20, 2008 7:24 pm
Forum: Beginners Help
Topic: changing the axis of rotation?
Replies: 5
Views: 321

What type of visual effect are you trying to achieve? I'm not following your question exactly; a rotation about a point in space (outside of the mesh's BB) or a rotation about a different point within a mesh's BB? The second one, rotation around a different point within the mesh (not necessarily a ...
by scotchfaster
Sun Jul 20, 2008 7:18 pm
Forum: Beginners Help
Topic: changing the axis of rotation?
Replies: 5
Views: 321

changing the axis of rotation?

Total n00b question, but I haven't been able to figure this out.

It appears that ISceneNode::setRotation() rotates the object around the center of the bounding box (as near as I can tell). How do I go about changing this, so it rotates around some other arbitrary point?

Thanks in advance!
by scotchfaster
Sun Mar 02, 2008 6:57 am
Forum: Bug reports
Topic: OpenGL and createScreenShot() issue with odd border
Replies: 7
Views: 552

Don't repost. Just edit your original post and add the necessary tags. I hope my previous post didn't come off as rude. The whole code tag thing seems to be a recurring issue, and I just thought it would be a funny way to ask you to use them. Travis[/quote] Well, the anger management classes seem t...
by scotchfaster
Sun Mar 02, 2008 5:31 am
Forum: Bug reports
Topic: OpenGL and createScreenShot() issue with odd border
Replies: 7
Views: 552

Okay...should I repost my code between

Code: Select all

...
?
by scotchfaster
Sun Mar 02, 2008 4:43 am
Forum: Bug reports
Topic: OpenGL and createScreenShot() issue with odd border
Replies: 7
Views: 552

Here you go. The result of calling renderTest() is the file "C:\out.bmp", which is blue but with a black area on the top and right. Thanks for looking at this. #include <irrlicht.h> #include <windows.h> using namespace irr; using namespace core; using namespace scene; using namespace video...
by scotchfaster
Sat Mar 01, 2008 10:25 pm
Forum: Bug reports
Topic: OpenGL and createScreenShot() issue with odd border
Replies: 7
Views: 552

OpenGL and createScreenShot() issue with odd border

Some rambling context: for this project I've needed to render to an offscreen bitmap. I've waffled between rendering to a texture or calling createScreenShot(). The problem with the texture is that apparently I can't get access to bitmap data using lock() on OpenGL. This is a problem for me. I was r...
by scotchfaster
Sat Mar 01, 2008 8:48 pm
Forum: Bug reports
Topic: [fixed]ITexture::lock() returns NULL in OpenGL
Replies: 1
Views: 445

[fixed]ITexture::lock() returns NULL in OpenGL

It works fine with the DirectX engine, but fails with OpenGL.

Any thoughts? I'm assuming I can't use DirectX on the Mac, so I need this to work.
by scotchfaster
Mon Feb 25, 2008 1:14 am
Forum: Beginners Help
Topic: using irrlicht in a background application?
Replies: 10
Views: 451

Which driver do you use for the render job? d3d and opengl do handle this stuff a little different, but there are also some bugfixes to come in the next version (opengl and ATI have a problem with FBO support, and d3d is limited to something smaller than the current window). Also, some drivers do s...
by scotchfaster
Sun Feb 24, 2008 11:17 pm
Forum: Beginners Help
Topic: using irrlicht in a background application?
Replies: 10
Views: 451

Thanks for all of your help. So I am successfully rendering to a hidden window using a texture as a target, and obtaining the bitmap by calling the texture's Lock and Unlock methods. This seems like a workable solution. The reason I wasn't thrilled with using a texture was mainly because of the size...
by scotchfaster
Sun Feb 24, 2008 12:29 pm
Forum: Beginners Help
Topic: using irrlicht in a background application?
Replies: 10
Views: 451

What exactly are you trying to do? It sounds like you want to do everything that Irrlicht is supposed to, but only to an 'offscreen buffer,' for a 'background application.' Yes, exactly right. I just want my application to run invisibly in the background, rendering images to an offscreen buffer. Do...
by scotchfaster
Sun Feb 24, 2008 5:11 am
Forum: Beginners Help
Topic: using irrlicht in a background application?
Replies: 10
Views: 451

Try using EDT_NULL as driver type. I saw that, but from the description, it didn't sound like what I'm looking for. It's described as "Null device, useful for applications to run the engine without visualisation. The null device is able to load textures, but does not render and display any gra...
by scotchfaster
Sun Feb 24, 2008 4:31 am
Forum: Beginners Help
Topic: using irrlicht in a background application?
Replies: 10
Views: 451

using irrlicht in a background application?

First, I'm very excited to be using Irrlicht. It looks great. My issue is that I need to use Irrlicht strictly to render to an offscreen buffer. I don't want a window, event handling or anything else. createDevice and createDeviceEx both seem to want to create windows or go into fullscreen mode. Sho...