Search found 5 matches

by RVL
Wed Jul 04, 2007 7:01 am
Forum: Beginners Help
Topic: Wrong lighting of scaled nodes
Replies: 1
Views: 178

Oh, sorry
NormalizeNormals material's flag solves the problem :) Seems the topic is for beginners help
by RVL
Wed Jul 04, 2007 6:32 am
Forum: Beginners Help
Topic: Wrong lighting of scaled nodes
Replies: 1
Views: 178

Wrong lighting of scaled nodes

On the image below you can see two identical spheres with same size/material/lighting conditions but with different visual results of lighting. Both was modelled in IrrEdit with several clicks. The difference between these spheres is how their size was obtained. Left sphere is of radius 500 and of s...
by RVL
Tue Jun 26, 2007 1:00 pm
Forum: Beginners Help
Topic: Euler angles
Replies: 1
Views: 843

sorry for my english :) Irrlicht operates with 2 types of rotations. 1. Irrlicht stores rotation of a scene node as vector ISceneNode->SetRotation(vector), where first rotation is around local X axis by the angle vector.x (degrees) second rotation is around local Y axis by the angle vector.y (degree...
by RVL
Fri Jun 15, 2007 7:51 am
Forum: Beginners Help
Topic: Light Oversaturation
Replies: 15
Views: 3852

Possible solution

I've met the same problem and made the following changes. 1. New member to SLight class vector3df Attenuation;//defaults (0.f,0.f,0.f) in constructor 2. Adding appropriate attribute serialize/deserialize methods in CLightSceneNode class 3. Modification of light attenuation logic in drivers' classes ...
by RVL
Sat Jun 09, 2007 11:32 am
Forum: Bug reports
Topic: [fixed] fast_atof bug
Replies: 1
Views: 371

[fixed] fast_atof bug

The function parses negative exponents incorrectly. It doesn't take into account a possible '-' sign just before exponent value. Current SVN: 85 if (*c == 'e') 86 { 87 ++c; 88 //float exp = (float)strtol(c, &t, 10); 89 float exp = (float)strtol10(c, t); 90 91 f *= (float)pow(10.0f, exp); 92 c = ...