Search found 5 matches
- Fri Jun 03, 2011 8:54 pm
- Forum: Beginners Help
- Topic: [RESOLVED] Different sized text on screen at once
- Replies: 2
- Views: 272
- Fri Jun 03, 2011 8:32 pm
- Forum: Beginners Help
- Topic: [RESOLVED] Different sized text on screen at once
- Replies: 2
- Views: 272
[RESOLVED] Different sized text on screen at once
I'm using Nalins CGUITTFont to get true type fonts into my program and am having a hard time figuring out how to get different font sizes to show up on the screen. I create two different sized fonts like this: font16 = CGUITTFont::createTTFont(guienv, "C:\\Windows\\fonts\\calibri.ttf", 16)...
- Mon Feb 07, 2011 2:48 am
- Forum: Beginners Help
- Topic: 32/64-bit Floating Point Numbers
- Replies: 3
- Views: 377
32/64-bit Floating Point Numbers
I have a newbie-ish question to ask. It's not strictly an issue with Irrlicht, but it does apply to Irrlicht. Floating point numbers (f32, u32)... the way I understand it is a 32-bit floating point number has a sign bit, 8 exponent bits, a hidden bit and 23 bits used for the actual digits. That equa...
- Sat Feb 05, 2011 9:20 pm
- Forum: Beginners Help
- Topic: Creating the Sun, emit light, use light source?
- Replies: 7
- Views: 1128
Turning off lighting on the Sun has given me what I want for now. The Sun sits there clear as day, and all the planets are still shrouded in sunlight. Took me a while to get it working... I was using my Planet class for the Sun (lazy). But of course, the planets are using tangent meshes and what-not...
- Sat Feb 05, 2011 6:17 pm
- Forum: Beginners Help
- Topic: Creating the Sun, emit light, use light source?
- Replies: 7
- Views: 1128
Creating the Sun, emit light, use light source?
I'm trying to create a model of the Solar System and am currently working on the Sun. I've got this problem of finding a way to make the Sun provide the light for the rest of the scene and be visible itself. My current approach is to have a light source at (0,0,0) and put my Sun at (0,0,0) as well. ...