Hello,
convert the quaternion to euler angles and use them (quaternion::toEuler)
Egon
Search found 28 matches
- Fri Sep 25, 2009 6:13 am
- Forum: Beginners Help
- Topic: Rotation Quaternions
- Replies: 2
- Views: 376
- Thu Sep 24, 2009 8:51 am
- Forum: Code Snippets
- Topic: Widget for embedding into Qt
- Replies: 13
- Views: 5570
Widget for embedding into Qt
Hello,
for a project of mine i needed a fully fledged widget to integrate Irrlicht into a Qt Application. Currently the Widget features the following Compiles out of the Box with Qt 4.6 TP1 and Irrlicht SVN
Emits signals for: Mouse Press/Release, Mouse move, Keyboard Press/Release (On Linux ...
for a project of mine i needed a fully fledged widget to integrate Irrlicht into a Qt Application. Currently the Widget features the following Compiles out of the Box with Qt 4.6 TP1 and Irrlicht SVN
Emits signals for: Mouse Press/Release, Mouse move, Keyboard Press/Release (On Linux ...
- Wed Sep 02, 2009 10:54 am
- Forum: Code Snippets
- Topic: (C++) Free Camera Rotation around target
- Replies: 2
- Views: 6821
(C++) Free Camera Rotation around target
Hello,
for a project of mine i've developed a simple camera system which can be rotated around a target point. I used the following approach:
1.) Imagine a sphere with a given radius around your target object
2.) According to the current Pitch/Yaw Angles, do the following:
2.1.) Calculate the ...
for a project of mine i've developed a simple camera system which can be rotated around a target point. I used the following approach:
1.) Imagine a sphere with a given radius around your target object
2.) According to the current Pitch/Yaw Angles, do the following:
2.1.) Calculate the ...
- Fri Jul 24, 2009 7:59 pm
- Forum: Advanced Help
- Topic: MMORPG map format questions
- Replies: 17
- Views: 3244
- Fri Jul 24, 2009 3:18 pm
- Forum: Advanced Help
- Topic: MMORPG map format questions
- Replies: 17
- Views: 3244
- Mon Jul 20, 2009 6:53 am
- Forum: Bug reports
- Topic: [driver bug] Material not passed to GLSL shader?
- Replies: 4
- Views: 838
- Mon Jul 20, 2009 6:28 am
- Forum: Bug reports
- Topic: [driver bug] Material not passed to GLSL shader?
- Replies: 4
- Views: 838
- Fri Jul 17, 2009 6:52 am
- Forum: Bug reports
- Topic: [driver bug] Material not passed to GLSL shader?
- Replies: 4
- Views: 838
[driver bug] Material not passed to GLSL shader?
Hello,
i am currently playing around with Irrlicht and Shaders and got a little problem with my Materials. First of all i use the following shader to do simple Diffuse based Lighting:
Vertex:
void main()
{
vec3 normal, lightDir;
vec4 diffuse;
float NdotL;
normal = normalize( gl_NormalMatrix ...
i am currently playing around with Irrlicht and Shaders and got a little problem with my Materials. First of all i use the following shader to do simple Diffuse based Lighting:
Vertex:
void main()
{
vec3 normal, lightDir;
vec4 diffuse;
float NdotL;
normal = normalize( gl_NormalMatrix ...
- Thu Jul 16, 2009 8:42 am
- Forum: Code Snippets
- Topic: Loading QShaderEdit Files in Irrlicht
- Replies: 1
- Views: 1133
Loading QShaderEdit Files in Irrlicht
Hello,
i am using QShaderEdit to develop the GLSL Shaders needed in my application. The output format of this application is a mixture of the Vertex and Fragment Shaders and predefined Parameters used during the Shader Development.
In Irrlicht you can either load pure Vertex/Fragment Shader Files ...
i am using QShaderEdit to develop the GLSL Shaders needed in my application. The output format of this application is a mixture of the Vertex and Fragment Shaders and predefined Parameters used during the Shader Development.
In Irrlicht you can either load pure Vertex/Fragment Shader Files ...
- Wed Jun 24, 2009 5:28 am
- Forum: Code Snippets
- Topic: Simple DDS loader
- Replies: 10
- Views: 3346
- Tue Jun 23, 2009 6:43 pm
- Forum: Code Snippets
- Topic: Simple DDS loader
- Replies: 10
- Views: 3346
- Tue Jun 23, 2009 12:22 pm
- Forum: Code Snippets
- Topic: Simple DDS loader
- Replies: 10
- Views: 3346
- Tue Jun 23, 2009 8:15 am
- Forum: Code Snippets
- Topic: Simple DDS loader
- Replies: 10
- Views: 3346
Simple DDS loader
Hello,
for a project of mine i needed the ability to load DDS Textures in Irrlicht. The result was a little and simple to use library which does:
Load a DDS File and return a *IImage
Supports DXT1/3
No dependencies to other libraries (except Irrlicht :-)
The entire DXT decoding is based ...
for a project of mine i needed the ability to load DDS Textures in Irrlicht. The result was a little and simple to use library which does:
Load a DDS File and return a *IImage
Supports DXT1/3
No dependencies to other libraries (except Irrlicht :-)
The entire DXT decoding is based ...
- Thu Jun 18, 2009 10:53 am
- Forum: Project Announcements
- Topic: New Tiled Terrain Scene Node [works with Irr 1.5]
- Replies: 338
- Views: 121184
- Mon Jun 15, 2009 2:24 pm
- Forum: Beginners Help
- Topic: Problem with Directional Light
- Replies: 0
- Views: 545
Problem with Directional Light
Hello,
i have a little problem regarding the Lighting of a custom scene node:
1.) The Scene Node in Question represents a Terrain
2.) Lighting is achieved using a single Directional light.
The problem is that only parts of the scene are lit. Take a look at the following image:
http://img510 ...
i have a little problem regarding the Lighting of a custom scene node:
1.) The Scene Node in Question represents a Terrain
2.) Lighting is achieved using a single Directional light.
The problem is that only parts of the scene are lit. Take a look at the following image:
http://img510 ...