Search found 31 matches

by alc
Sun Mar 07, 2010 11:14 pm
Forum: Beginners Help
Topic: Animate part of a mesh [solved]
Replies: 4
Views: 386

Thanx hybrid. Worked like a charm.

Anyone doing this trick, remember to recalculateBoundingBox() on your SMesh, otherwise you may get strange effects from the reduced-sized mesh.
by alc
Sun Mar 07, 2010 4:53 pm
Forum: Beginners Help
Topic: Animate part of a mesh [solved]
Replies: 4
Views: 386

Animate part of a mesh [solved]

I have a mesh of a wind turbine that I found on the web, and now I want the rotor to rotate. According to the site that I found it on it is not animated, so I have to rotate it myself. Now, the mesh contains 5 meshbuffers according to IMesh::getMeshBufferCount(), and I thinking that one or two or th...
by alc
Sat Mar 06, 2010 10:28 pm
Forum: Beginners Help
Topic: An internal error has occurred in the compiler [Solved]
Replies: 1
Views: 354

An internal error has occurred in the compiler [Solved]

This is to help anyone getting the rather non-specific error "fatal error C1001: An internal error has occurred in the compiler." when compiling in VS 2008. In my own code I had #define rectf irr::core::rect<f32> to make my life a little easier. Now, after upgrading to 1.7.1 this is part o...
by alc
Tue Sep 26, 2006 8:58 pm
Forum: Beginners Help
Topic: skydome scenenode
Replies: 9
Views: 7638

Well, if you have only two domes, maybe you just want to hide it (and thus it is not rendered). Otherwise, I believe, you have use the ->remove() function. In any case, you need to assign the pointer returned by smgr->addSky ... to a variable, say 'sky', like ISceneNode *sky = smgr->addSkyDome ... a...
by alc
Mon Sep 25, 2006 9:07 pm
Forum: Beginners Help
Topic: skydome scenenode
Replies: 9
Views: 7638

Since I'm the original author of the sky dome function, allow me to elaborate the previous answer: The four values 16, 16, 1.0f and 1.0f means 1) The entire sky dome (which is a sphere made of of rectangles) is made from 16 rows of rectangles from top to bottom. The rows 8 and 9 are closest to the e...
by alc
Mon Sep 11, 2006 8:41 am
Forum: Bug reports
Topic: Memory leak in createDevice? (Not a bug)
Replies: 2
Views: 513

DOH!! My bad entirely!!

The latest svn started givin' me mem leaks, and it came from a missing ->drop() somewhere in my code, a miss that apparently didn't cause problems earlier. In my hast to isolate the problem, I forgot the most obvious ->drop of them all ... thanx!
by alc
Sun Sep 10, 2006 8:32 pm
Forum: Bug reports
Topic: Memory leak in createDevice? (Not a bug)
Replies: 2
Views: 513

Memory leak in createDevice? (Not a bug)

I have a larger application that runs fine. However, when the application terminates, VC reports a memory leak. Trying to find the cause of this, if learned that this happens even when the main function is reduced to int main() { IVideoDriver *driver; IGUIEnvironment *env; ISceneManager *smgr; GLOBA...
by alc
Sun Sep 10, 2006 7:55 pm
Forum: Bug reports
Topic: OBJ loader in Irrlicht 1.1 sometimes crashes (FIX)
Replies: 2
Views: 1007

OBJ loader in Irrlicht 1.1 sometimes crashes (FIX)

I've seen a couple of threds on the OBJ loader regarding crashes and exceptions of various kinds. I had the same problem, and tracked it down to a sign issue in the MTL file reader. The fix (well, it works for me) is to replace line 634 in COBJMeshFileLoader.cpp while (isspace(buf[++i])) ; with whil...
by alc
Thu Jul 27, 2006 6:33 pm
Forum: Beginners Help
Topic: Physic Engine Question
Replies: 1
Views: 404

I've only tried Newton, and it works fairly well. However, I and others had some problems with the newest version (search this forum for 'newton'). Also, I had some strange behaviour (some graphics elements disappear, not just visibly, but also interactively) in my application when running the .exe ...
by alc
Thu Jul 27, 2006 6:26 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: TrueType font Support by FreeType Library
Replies: 183
Views: 102358

clovenhoof wrote:When launching the recompiled demo with freetype 221 it crashes at the first (and only?) pass to Glyphs.reallocate in CGUITTFont.cpp.
Had the same problem, but solved it by compiling my own .lib file from the FreeType source code. However, I then had a new problem (see above post).
by alc
Thu Jul 27, 2006 6:24 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: TrueType font Support by FreeType Library
Replies: 183
Views: 102358

I've just tried using the TrueType package, but I cannot make it work. That is to say, the demo works fine (compiles without problems), but when included in my project, it crashes. I've tried FT 2.1.9 and 2.2.1. Same result. I am using my own compiled ft219 (or ft221) lib file, as I get numerous war...
by alc
Sun Jul 16, 2006 11:19 pm
Forum: Advanced Help
Topic: Widescreen
Replies: 2
Views: 409

and remember to set the SColor in the beginScene() to black to get your black bars top and bottom.
by alc
Sun Jul 16, 2006 11:16 pm
Forum: Beginners Help
Topic: How to run the compiled helloworld code in VC++ 6.0
Replies: 5
Views: 422

or you can copy the DLL to a place, where Windows looks for it. For instance windows\system32 or in the same folder as the exe file.
by alc
Wed Jul 12, 2006 8:49 pm
Forum: Bug reports
Topic: RTTtexture->lock() FIX (D3D8 & D3D9)
Replies: 3
Views: 8172

I just realized: A possible workaround is to create an empty standard (non-rendered) texture, and copy the rendered texture to this. Then it is possible to edit it and display the altered version on the screen.
by alc
Wed Jul 12, 2006 8:44 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Newton tutorial updated for Irr 1.0 and NDG 1.53
Replies: 9
Views: 3648

Personally, I do not need it. But I guess that it would be nice for other users to have a working tut. Perhaps you should sent it to niko (site admin) to put on the newton tut page. There are only few things more frustraing than a tut that ALMOST works ... Btw, I did try to resize the newton world, ...