The omni light is simple and works but the directional light?
I have a tutorial with code in C++ but I don't succeed to trasform
in C# 2005
with reference:
video::SLight& ldata;
ldata = light->getLightData();
ldata.Type = ELT_DIRECTIONAL;
ldata.Position = core::vector3df(0,-1,0);
or ...
Search found 5 matches
- Thu May 10, 2007 7:03 am
- Forum: Irrlicht.NET
- Topic: directional light
- Replies: 0
- Views: 1452
- Wed May 09, 2007 1:28 pm
- Forum: Beginners Help
- Topic: Directional light and C# 2005
- Replies: 0
- Views: 156
Directional light and C# 2005
The omni light is simple and works but the directional light?
I have a tutorial with code in C++ but I don't succeed to trasform
in C# 2005
with reference:
video::SLight& ldata;
ldata = light->getLightData();
ldata.Type = ELT_DIRECTIONAL;
ldata.Position = core::vector3df(0,-1,0);
or
video ...
I have a tutorial with code in C++ but I don't succeed to trasform
in C# 2005
with reference:
video::SLight& ldata;
ldata = light->getLightData();
ldata.Type = ELT_DIRECTIONAL;
ldata.Position = core::vector3df(0,-1,0);
or
video ...
- Wed May 02, 2007 10:08 am
- Forum: Beginners Help
- Topic: Pivot -rotation center
- Replies: 4
- Views: 398
- Fri Apr 27, 2007 2:11 pm
- Forum: Beginners Help
- Topic: Pivot -rotation center
- Replies: 4
- Views: 398
- Fri Apr 27, 2007 8:27 am
- Forum: Beginners Help
- Topic: Pivot -rotation center
- Replies: 4
- Views: 398
Pivot -rotation center
I have built an object with 3dsMax.
I have moved the rotation center (pivot) near to an extreme.
I export with Panda in file.x
When I load the mesh with IRR the object rotates in comparison to the center of the object and not from me assigned.
Why?
I have moved the rotation center (pivot) near to an extreme.
I export with Panda in file.x
When I load the mesh with IRR the object rotates in comparison to the center of the object and not from me assigned.
Why?