Search found 18 matches

by fabs
Tue Apr 10, 2012 4:59 pm
Forum: Code Snippets
Topic: LensFlareSceneNode with occlusion query
Replies: 36
Views: 19049

Re: LensFlareSceneNode with occlusion query

Thank you very much for reposting it so quickly! It works beautifully.
by fabs
Mon Apr 09, 2012 1:42 pm
Forum: Code Snippets
Topic: LensFlareSceneNode with occlusion query
Replies: 36
Views: 19049

Re: LensFlareSceneNode with occlusion query

I notice the mediafire link is now disabled. Is there a copy of this node available somewhere?
by fabs
Mon Apr 09, 2012 1:16 pm
Forum: Code Snippets
Topic: AutoPtr
Replies: 18
Views: 3684

Re: AutoPtr

I suggest just using boost headers and intrusive_ptr. All you need to do is add the following to your main header file: #include <boost/intrusive_ptr.hpp>   namespace boost {         static inline void intrusive_ptr_add_ref(irr::IReferenceCounted *p)         {                 p->grab();         }   ...
by fabs
Fri Jan 14, 2011 10:21 am
Forum: Beginners Help
Topic: [Solved] IFileSystem::createAndOpenFile returning null po...
Replies: 4
Views: 442

Well this is a bit embarassing... there was indeed a call to change the working directory in a superclass method /after/ it calls the script, so it works the first time and fails on consecutive runs. Thank you for that idea bitplane, it has solved my problem :lol:
by fabs
Fri Jan 14, 2011 8:23 am
Forum: Beginners Help
Topic: [Solved] IFileSystem::createAndOpenFile returning null po...
Replies: 4
Views: 442

I should add that the file is a physical file, not in an archive. I was therefore worried that the first opening of the file isn't getting closed, but there doesn't appear to be any method other than drop which would close the file.
by fabs
Fri Jan 14, 2011 7:24 am
Forum: Advanced Help
Topic: Slow A* Pathfinding Routine
Replies: 20
Views: 3170

It helps to have at least a few comments in the code so people can work out what the hell the variables are for. e.g. bool findPath(u32 sx, u32 sy, u32 ex, u32 ey, array<Node *> &path); what is sx, sy, ex, and ey? How would anyone know? I assume it's startX and endX for example. Without looking...
by fabs
Fri Jan 14, 2011 7:22 am
Forum: Beginners Help
Topic: [Solved] IFileSystem::createAndOpenFile returning null po...
Replies: 4
Views: 442

[Solved] IFileSystem::createAndOpenFile returning null po...

Hello all I have a routine in a game I'm writing which loads and executes a script file. It uses the Irrlicht filesystem to support transparently loading the script from an archive or a directory. The code works fine, except when the code is called a second (or further) time with the same arguments:...
by fabs
Sat Sep 27, 2008 7:38 am
Forum: Beginners Help
Topic: Simple collision question
Replies: 3
Views: 709

Don't worry, you weren't rude :D

I just found what I was looking for, ISceneCollisionManager::getCollisionPoint. I must be tired or something, i searched for an hour earlier today >.> Thanks kingdutch.
by fabs
Sat Sep 27, 2008 4:55 am
Forum: Beginners Help
Topic: Simple collision question
Replies: 3
Views: 709

Simple collision question

Hello all, I just have a question about irrlicht's collision system. If I want to determine the location (in 3d) of the first face under a mouse click on the screen, is this possible? Also, is it possible to test whether a mouse click falls within a 3d volume (read: axis aligned bounding box)? Thanks.
by fabs
Mon May 12, 2008 10:07 am
Forum: Beginners Help
Topic: Not console application. Is possilbe?
Replies: 15
Views: 9723

owned
by fabs
Sun Apr 06, 2008 10:40 am
Forum: Beginners Help
Topic: What to use for complicated environments
Replies: 5
Views: 446

And as for what he's asking about, just manually create the entire mesh in blender or something. Forget terrains for cliffs and caves.
by fabs
Mon Jun 26, 2006 11:38 am
Forum: Beginners Help
Topic: NOOB - stringw conversion to char*
Replies: 5
Views: 503

Thx ^_^
by fabs
Mon Jun 26, 2006 5:49 am
Forum: Beginners Help
Topic: MMORPG walking/path finding for terrains
Replies: 14
Views: 1159

Also, A* does NOT tell me where the hell i clicked on a mesh!
by fabs
Mon Jun 26, 2006 5:48 am
Forum: Beginners Help
Topic: MMORPG walking/path finding for terrains
Replies: 14
Views: 1159

Well, we're out to disprove that.
by fabs
Mon Jun 26, 2006 5:45 am
Forum: Beginners Help
Topic: NOOB - stringw conversion to char*
Replies: 5
Views: 503

Code: Select all

char* lolololol = stringc(out213).c_str();
Still not working X_X (If i get this worked out most of the maunal will make sense :P)

Anyhow, this is the error:

Code: Select all

no match for call to `(irr::core::stringc) (irr::core::stringw&)'