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.
Search found 31 matches
- Sun Mar 07, 2010 11:14 pm
- Forum: Beginners Help
- Topic: Animate part of a mesh [solved]
- Replies: 4
- Views: 386
- 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...
- 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...
- 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...
- 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...
- Mon Sep 11, 2006 8:41 am
- Forum: Bug reports
- Topic: Memory leak in createDevice? (Not a bug)
- Replies: 2
- Views: 513
- 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...
- 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...
- 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 ...
- 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
- 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...
- Sun Jul 16, 2006 11:19 pm
- Forum: Advanced Help
- Topic: Widescreen
- Replies: 2
- Views: 409
- 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
- Wed Jul 12, 2006 8:49 pm
- Forum: Bug reports
- Topic: RTTtexture->lock() FIX (D3D8 & D3D9)
- Replies: 3
- Views: 8172
- 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, ...