Search found 54 matches
- Sat May 05, 2007 6:28 pm
- Forum: Beginners Help
- Topic: Having the IrrlichtDevice in a main game class
- Replies: 8
- Views: 377
Having the IrrlichtDevice in a main game class
I should return to c#... I simply want to have the IrrlichtDevice, IVideoDriver and ISceneManager collected in a central class CGame. Trying to do it like this: Extract from the header (constructor): IrrlichtDevice* device; video::IVideoDriver* driver; scene::ISceneManager* smgr; And the correspondi...
- Thu May 03, 2007 5:33 pm
- Forum: Beginners Help
- Topic: How OpenGl is updated ?
- Replies: 4
- Views: 354
- Thu May 03, 2007 5:31 pm
- Forum: Beginners Help
- Topic: Textures better choice drawn or pic
- Replies: 3
- Views: 188
Depends on where/how you use it. For a single bloom, a photo would be the better choice - for repeating patterns like grass, a texture would be the method to choose. Why? A texture is (hopefully!) tileable, that means you can put two of them next to each other and cant see the border between them. O...
- Thu May 03, 2007 2:23 pm
- Forum: Beginners Help
- Topic: How to get a 3D position from 2D screen coordinates
- Replies: 4
- Views: 309
- Thu May 03, 2007 2:07 pm
- Forum: Beginners Help
- Topic: How to get a 3D position from 2D screen coordinates
- Replies: 4
- Views: 309
A little variation of the question: How do I get a vector3df from a vector2df? I gonna work with 2d values in my game (2d math - 3d gfx) and the scenenodes want 3d vectors for their positions... Since simply reading the two directional values from the vector2df doesnt work (no methods to access them...
- Wed May 02, 2007 7:57 pm
- Forum: Beginners Help
- Topic: how to instantiate core::string
- Replies: 2
- Views: 169
- Wed May 02, 2007 7:11 pm
- Forum: Beginners Help
- Topic: how to instantiate core::string
- Replies: 2
- Views: 169
how to instantiate core::string
Ive checked the documentation for an irrlicht-specific string class - and I found irr::core::string. But how to I get an instance of that class to use it? These two template parameters confused me. I know how to deal with the template-thing in f.e. dimension2d, but what should I do here to get a str...
- Tue May 01, 2007 7:09 pm
- Forum: Beginners Help
- Topic: [solved] strange g++ error
- Replies: 10
- Views: 383
- Tue May 01, 2007 11:20 am
- Forum: Beginners Help
- Topic: 2-sided texture
- Replies: 4
- Views: 234
- Tue May 01, 2007 10:57 am
- Forum: Beginners Help
- Topic: Problem with the events
- Replies: 19
- Views: 609
- Tue May 01, 2007 10:49 am
- Forum: Beginners Help
- Topic: [solved] strange g++ error
- Replies: 10
- Views: 383
ARR! Never change a running program... I wanted to put the EventReceiver in its own header and cpp files - but now g++ produces a really strange error message: /tmp/ccYFfx16.o: In function `CEventReceiver::CEventReceiver()': main.cpp:(.text._ZN14CEventReceiverC1Ev[CEventReceiver::CEventReceiver()]+0...
- Tue May 01, 2007 10:24 am
- Forum: Beginners Help
- Topic: [solved] strange g++ error
- Replies: 10
- Views: 383
- Mon Apr 30, 2007 4:57 pm
- Forum: Beginners Help
- Topic: [solved] strange g++ error
- Replies: 10
- Views: 383
- Mon Apr 30, 2007 3:56 pm
- Forum: Beginners Help
- Topic: [solved] strange g++ error
- Replies: 10
- Views: 383
The long one is this: IrrlichtDevice *device = createDevice(driver, dimension, bpp, bool, bool, bool, eventreceiver, [something strange]); Where I dont get it compiled using this one like you can see above. I'm sure there's also a shorter one... Cant find it at the moment. And no, I'm not linking ag...
- Mon Apr 30, 2007 2:26 pm
- Forum: Beginners Help
- Topic: [solved] strange g++ error
- Replies: 10
- Views: 383