Search found 195 matches

by torleif
Thu Aug 28, 2008 11:19 pm
Forum: Beginners Help
Topic: Ugly shading
Replies: 6
Views: 375

You might want to pick a format with better normal storage. You don't really want to recalculate all the normals every time you load a mesh
by torleif
Thu Aug 28, 2008 11:13 pm
Forum: Off-topic
Topic: Light of Hearts prayer for World peace
Replies: 20
Views: 2611

If there's a problem there's no point in sitting around praying for it to get better. Do you know how many of our ancestors died to get us free speech, free elections and equal rights? It's almost offensive the amount of people who think it will. It really does give a window for people like dubba to...
by torleif
Thu Aug 28, 2008 10:29 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Skybox script - Blender to Irrlicht
Replies: 3
Views: 3484

Nice find I still prefer using terragen because of its simplicity. Until someone writes a doc on how to create nice out door scenes with blender other people will still too. It probably would be simple, apply a perlin noise to a diffuse plane, add clouds and use the new particle emitter to make grass
by torleif
Thu Aug 28, 2008 10:24 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Take advantage of your harware
Replies: 3
Views: 3079

Looks like the art of optimizing using ints is gone.


Personally I preferred it... one of the great CompSci stories is when a worker at mac programmed rounded corners with no floating point numbers. We'd still have 95' style square corners if it where not for him
by torleif
Thu Aug 28, 2008 10:16 am
Forum: Beginners Help
Topic: [Solved kind of] Sun Glare
Replies: 10
Views: 688

You're right pera. However, it depends if your game is in first person perspective. If the character is looking using eyes, you shouldn't use camera flare. There are exceptions, such as air craft simulators where sun blindness is a real factor. It can be used as a tactic and thus is a feature, not a...
by torleif
Thu Aug 28, 2008 7:45 am
Forum: Beginners Help
Topic: about Irrlicht
Replies: 4
Views: 222

The zlib license basically says you can do what ever you like, but if you edit the irrlicht source you have to say you did The real question is will you make something that people will pay for? I suggest making a few practice games first before trying to make that MMO and raking in millions as every...
by torleif
Thu Aug 28, 2008 7:38 am
Forum: Beginners Help
Topic: questions about compiling irrlicht
Replies: 5
Views: 163

Ah, I was wondering why openGL ran slowly for the 1.4.1 branch

OP: It might also be your drivers. make sure you have installed the drivers for your graphics hardware
by torleif
Thu Aug 28, 2008 7:20 am
Forum: Beginners Help
Topic: How to create a solid object?
Replies: 13
Views: 1563

I'll write some pseudo code. It probably wont help much, but might give you an idea for each vertex { for each vertex attached to this one { if(line is against nothing) { create poly in square* distance away } } } After thinking about it, the only real task would be to find the lines in the mesh tha...
by torleif
Wed Aug 27, 2008 2:26 pm
Forum: Beginners Help
Topic: Convert unsigned long to irr::core::stringw
Replies: 4
Views: 268

Longs have different meanings of different systems. Avoid it. If your after converting strings there are different ways of doing it. I found that it's best to work with arrays in irrlicht to convert a type of string to another, then build up the array at the end of the function to a string. Another ...
by torleif
Wed Aug 27, 2008 1:38 pm
Forum: Everything 2d/3d Graphics
Topic: b3d import from blender - animation not displaying
Replies: 4
Views: 3969

Another problem might be your exported blender model is in the right place, but while editing you placed them somewhere else (ie: up or down beyond the screen)

ensure the mesh is at 0,0,0 while exporting and that the file size is > 0 kb.
by torleif
Wed Aug 27, 2008 1:31 pm
Forum: Everything 2d/3d Graphics
Topic: My free SkyBox
Replies: 2
Views: 1176

Looks like he did use terragen. If they where 1024x1024 I'd be exited but it looks like he used the trial version. Other than that they look good. It looks like he used v2 because of the vegetation, and v2 is very hard to use (and crashed every two seconds) But if you have time to make a game you re...
by torleif
Wed Aug 27, 2008 1:22 pm
Forum: Beginners Help
Topic: how to set gui button font color?
Replies: 1
Views: 159

read up about buttons here

Create a sprite bank with your colors, then use
use MyButton->setSprite( etc )
To set it.
by torleif
Wed Aug 27, 2008 1:11 pm
Forum: Beginners Help
Topic: [Bug?]draw2DImage renders dirtily
Replies: 6
Views: 233

To make translucency appear leet in irrlicht just use PNG. You might as well abuse the hell out of it, as it's a great feature. I had the same problem with textures when I started learning irrlicht. It was really annoying, but it's best to to fight the system and use 2^X images. This means: 16x16 32...
by torleif
Wed Aug 27, 2008 1:05 pm
Forum: Beginners Help
Topic: Array initializing .cpp an .h files
Replies: 5
Views: 190

Shhh, here's a secret: the array in irrlicht is actually a vector. core::array<scene::ISceneNode*> arrayNodes; arrayNodes.push_back(new ISeneNode("heh, use smgr")); arrayNodes.push_back(new ISeneNode("lol dosn't rlly wrk")); std::cout <<"Will print out 2 if correct : "<...
by torleif
Wed Aug 27, 2008 1:01 pm
Forum: Beginners Help
Topic: [Solved kind of] Sun Glare
Replies: 10
Views: 688

I just fixed up LensFlareSceneNode for irrlicht 1.4.1 and put it in a zip to make it easier to use. Copy it to your code and read readme.txt


You can download the camera flare for irrlicht here (ZIP, 11.4 KB)