Search found 19 matches

by MattyBoy
Fri Apr 14, 2006 7:01 am
Forum: Bug reports
Topic: Billboards are upside down
Replies: 6
Views: 1348

[SOLVED] Upside down particles

The previous link does fix some things. The emitter than emits based on the rotation of the parent, correctly. But the textures are still upside down. HOW TO FIX UPSIDE DOWN Particles. IN void CParticleSystemSceneNode::reallocateBuffers() replace Vertices[0+i].TCoords.set(0.0f, 0.0f); Vertices[1+i]....
by MattyBoy
Thu Apr 13, 2006 6:59 pm
Forum: Bug reports
Topic: Billboards are upside down
Replies: 6
Views: 1348

That fix does not help with this problem. It has to do ONLY when it is part of a particle system or has a parent which is rotated. The particles get the transform of the parent and the billboard gets rotated. (Or something like that!!)

The problem is, I just can't seem to fix it!!


Please Help!!
by MattyBoy
Tue Apr 11, 2006 9:35 pm
Forum: Advanced Help
Topic: Cg shadow volumes
Replies: 0
Views: 255

Cg shadow volumes

Has anyone worked on Cg shadow volumes?? Is this possible with the current state of shader support in Irrlicht?
by MattyBoy
Sun Apr 09, 2006 5:27 pm
Forum: Bug reports
Topic: Shadow bug with ITextScenenodes???
Replies: 5
Views: 901

Does anyone have a fix for the first problem mentioned in this thread? If I change the PreRendering code in CTextSceneNode from SceneManager->registerNodeForRendering(this, ESNRP_SHADOW); TO SceneManager->registerNodeForRendering(this, ESNRP_TRANSPARENT); It now doesn't mess with the shadows, but th...
by MattyBoy
Thu Apr 06, 2006 7:17 pm
Forum: Beginners Help
Topic: Cal3d performance improvements?
Replies: 1
Views: 279

Another tip:

uncomment the line

//#define CAL_16BIT_INDICES

in cal3d - globals.h

Irrlicht uses 16 bit indicies anyways!!
by MattyBoy
Thu Apr 06, 2006 7:04 pm
Forum: Beginners Help
Topic: Realtime shadows
Replies: 5
Views: 508

Checkout this thread.

http://irrlicht.sourceforge.net/phpBB2/ ... ght=shadow

This can help. It won't solve all your problems. From my understanding, to correctly fix this is not trivial.
by MattyBoy
Wed Mar 29, 2006 5:48 pm
Forum: Bug reports
Topic: Fix to text scenenode for bounding box
Replies: 1
Views: 608

Fix to text scenenode for bounding box

Changes to CTextSceneNode.cpp void CTextSceneNode::render() { if (!Font || !Coll) return; ///////////////////////////////////////////////////////////////////// video::IVideoDriver* driver = SceneManager->getVideoDriver(); ICameraSceneNode* camera = SceneManager->getActiveCamera(); if (!camera || !dr...
by MattyBoy
Wed Mar 29, 2006 1:43 am
Forum: Advanced Help
Topic: Shadows - Please help
Replies: 1
Views: 538

I did figure out that when using addShadowVolumeSceneNode, if you set the zfailmethod = true and infinity to a smaller value like 0.5f, it clips the shadow volume which you could then tune to keep it from displaying to far. FYI
by MattyBoy
Tue Mar 28, 2006 5:34 pm
Forum: Advanced Help
Topic: Shadows - Please help
Replies: 1
Views: 538

Shadows - Please help

I am starting to use Stencil shadows. They seem to be working good for me. BUT, they are displaying thru things. EX: If I have an overhead light with an object on a table, the shadow is displayed on the table AND the floor. Has anyone been able to fix this. I could fix this if someone could help me ...
by MattyBoy
Wed Mar 22, 2006 10:29 pm
Forum: Beginners Help
Topic: Cal3d performance improvements?
Replies: 1
Views: 279

Cal3d performance improvements?

Does anyone have additional performance improvements that work with DirectX and OpenGL they would like to share?

I have included one big one in this thread.

http://irrlicht.sourceforge.net/phpBB2/ ... ight=cal3d
by MattyBoy
Fri Mar 10, 2006 8:47 am
Forum: Beginners Help
Topic: using CAL3D (Character Animation Library) with Irrlicht
Replies: 11
Views: 2714

Forgot

I also switched to getVerticesNormalsAndTexCoords, which didn't seem to help to much.
by MattyBoy
Fri Mar 10, 2006 8:45 am
Forum: Beginners Help
Topic: using CAL3D (Character Animation Library) with Irrlicht
Replies: 11
Views: 2714

Cal3d - Speed up

You can dramatically speed this up if you make SMeshBuffer mb a member of the class and don't do the clears. DON'T DO mb.Verticies.clear(); mb.Indicies.clear(); They clear all the memory and the memory has to be reallocated. Do something like this in the constructor mb.Vertices.set_used(2000); mb.In...
by MattyBoy
Mon Jan 23, 2006 6:48 pm
Forum: Bug reports
Topic: Problem loading large png files?
Replies: 5
Views: 2932

I had the same problem. Seems Irrlicht doesn't like PNG's with 1024 width.

In file CImageLoadedPNG.cpp, around line 205

Original

if( bytes_per_row >= (int)sizeof( g_png_load_buffer ) )

TO

if( bytes_per_row > (int)sizeof( g_png_load_buffer ) )
by MattyBoy
Tue Nov 22, 2005 9:17 pm
Forum: Bug reports
Topic: GUI bug
Replies: 3
Views: 606

GUI Bug

I get this problem also. Has anyone had this same issue and fixed it? My window needs to be NOT resizeable.
by MattyBoy
Wed Aug 04, 2004 7:36 am
Forum: Beginners Help
Topic: static link lib
Replies: 2
Views: 1375

Lets try this again

OK, Lets try this again. In the Irrlicht.h (DON'T FORGET their are TWO Irrlich.h file) Replace the similar section with #if defined(WIN32) && !defined(IRRLICHT_STATIC) #ifdef IRRLICHT_EXPORTS #define IRRLICHT_API __declspec(dllexport) #else #define IRRLICHT_API __declspec(dllimport) #endif /...