Search found 16 matches
- Tue Jun 23, 2009 3:05 am
- Forum: Beginners Help
- Topic: Lights from .irr scenes not working
- Replies: 9
- Views: 646
Okay, I've done all that, but now the intensity of the light appears to depend on the intensity of the ambient light. If it's pitch dark (no ambient light) the light doesn't show up at all, and if I set the ambient light to (0.2, 0.2, 0.2) the light is there, but much dimmer than it looks in Blender ...
- Mon Jun 22, 2009 6:18 pm
- Forum: Beginners Help
- Topic: Lights from .irr scenes not working
- Replies: 9
- Views: 646
- Mon Jun 22, 2009 5:53 pm
- Forum: Beginners Help
- Topic: Lights from .irr scenes not working
- Replies: 9
- Views: 646
- Sat Jun 20, 2009 11:48 pm
- Forum: Beginners Help
- Topic: Lights from .irr scenes not working
- Replies: 9
- Views: 646
- Fri Jun 19, 2009 7:29 pm
- Forum: Beginners Help
- Topic: Lights from .irr scenes not working
- Replies: 9
- Views: 646
Lights from .irr scenes not working
I have an .irr scene exported from Blender (http://pastebin.ca/1466626) with a light and an empty room. The light is indeed in the XML, but when I load it (either via my code or the LoadIrrFile example) and enable lighting on the mesh, it acts as if the light isn't there at all. If I create a light ...
- Thu Jun 18, 2009 10:09 pm
- Forum: Beginners Help
- Topic: Model formats
- Replies: 4
- Views: 377
- Thu Jun 18, 2009 9:47 pm
- Forum: Beginners Help
- Topic: Model formats
- Replies: 4
- Views: 377
- Thu Jun 18, 2009 8:06 pm
- Forum: Beginners Help
- Topic: irrlicht's string class template [Solved]
- Replies: 11
- Views: 785
Yes, it seems you're right. I did come up with this funky syntax which works, but looks horrible unless you're entering the IOCCC:
Code: Select all
(((mxy += 123) += L", ") += 456);- Thu Jun 18, 2009 8:00 pm
- Forum: Beginners Help
- Topic: irrlicht's string class template [Solved]
- Replies: 11
- Views: 785
- Thu Jun 18, 2009 7:44 pm
- Forum: Beginners Help
- Topic: irrlicht's string class template [Solved]
- Replies: 11
- Views: 785
Try this:
Code: Select all
fWhite->draw(mxy.c_str(), rect<s32>(50, 100, 150, 130), SColor(255, 255, 0, 0));- Thu Jun 18, 2009 7:25 pm
- Forum: Beginners Help
- Topic: irrlicht's string class template [Solved]
- Replies: 11
- Views: 785
The += operator converts it for you. = is assuming you meant 123 as in whatever ASCII character 123 corresponds to ({?). You could, however, do
Code: Select all
string<wchar_t> s;
s += 123 + L", " + 456;- Thu Jun 18, 2009 6:54 pm
- Forum: Beginners Help
- Topic: irrlicht's string class template [Solved]
- Replies: 11
- Views: 785
Code: Select all
string<wchar_t> s;
s += 123;
s += L", ";
s += 456;
std::wcout << s.c_str() << std::endl;- Thu Jun 18, 2009 4:20 pm
- Forum: Beginners Help
- Topic: Model formats
- Replies: 4
- Views: 377
- Thu Jun 18, 2009 3:30 pm
- Forum: Beginners Help
- Topic: Model formats
- Replies: 4
- Views: 377
Model formats
What model formats would you recommend for maps and for models?
For maps, I want to be able to create a map in Blender, complete with lights and everything, and export the whole thing. I don't really want to use the BSP format because of its obsession with telling me I have leaks in my map (I plan ...
For maps, I want to be able to create a map in Blender, complete with lights and everything, and export the whole thing. I don't really want to use the BSP format because of its obsession with telling me I have leaks in my map (I plan ...
- Mon Jun 16, 2008 10:12 pm
- Forum: Beginners Help
- Topic: Collision detection hitting invisible walls
- Replies: 9
- Views: 1018