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: 328
- Thu Sep 24, 2009 8:51 am
- Forum: Code Snippets
- Topic: Widget for embedding into Qt
- Replies: 13
- Views: 5033
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, disable...
- Wed Sep 02, 2009 10:54 am
- Forum: Code Snippets
- Topic: (C++) Free Camera Rotation around target
- Replies: 2
- Views: 6670
(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 positi...
- Fri Jul 24, 2009 7:59 pm
- Forum: Advanced Help
- Topic: MMORPG map format questions
- Replies: 17
- Views: 2486
- Fri Jul 24, 2009 3:18 pm
- Forum: Advanced Help
- Topic: MMORPG map format questions
- Replies: 17
- Views: 2486
Hello, i can't directly answer your question, but maybe you can take a look at the Source for the Dawn of Light Server (which is a Freeshard Server for the commercial Dark Age of Camelot MMORPG). I think they already have solved questions like yours because their Project is very mature (stable since...
- Mon Jul 20, 2009 6:53 am
- Forum: Bug reports
- Topic: [driver bug] Material not passed to GLSL shader?
- Replies: 4
- Views: 710
Hello again, seems to me like it's a driver issue. I've just tested my posted example on a Windows Vista Host and the Shader works as expected... Egon [offtopic] God, i hate those buggy Linux Drivers. Why can't they (ATI|Nvidia) provide the same quality drives as they do for Windows? Don't they see ...
- Mon Jul 20, 2009 6:28 am
- Forum: Bug reports
- Topic: [driver bug] Material not passed to GLSL shader?
- Replies: 4
- Views: 710
Hello, maybe you can reproduce the problem with the following sample code which produces the problem: http://rapidshare.de/files/47896815/it10.tar.bz2.html I am using the following configuration: name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corpo...
- Fri Jul 17, 2009 6:52 am
- Forum: Bug reports
- Topic: [driver bug] Material not passed to GLSL shader?
- Replies: 4
- Views: 710
[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 * gl_Nor...
- Thu Jul 16, 2009 8:42 am
- Forum: Code Snippets
- Topic: Loading QShaderEdit Files in Irrlicht
- Replies: 1
- Views: 1088
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 or...
- Wed Jun 24, 2009 5:28 am
- Forum: Code Snippets
- Topic: Simple DDS loader
- Replies: 10
- Views: 3191
- Tue Jun 23, 2009 6:43 pm
- Forum: Code Snippets
- Topic: Simple DDS loader
- Replies: 10
- Views: 3191
Hello, i've contacted the author of the parts not written by me and he told me that he additionally releases his components (s3tc.c and s3tc.h) under the Terms of the ZLIB License for inclusion in Irrlicht. Tomorrow i will upload a new Release of the Library licensed under the terms of ZLIB at its e...
- Tue Jun 23, 2009 12:22 pm
- Forum: Code Snippets
- Topic: Simple DDS loader
- Replies: 10
- Views: 3191
- Tue Jun 23, 2009 8:15 am
- Forum: Code Snippets
- Topic: Simple DDS loader
- Replies: 10
- Views: 3191
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 around FFmpe...
- Thu Jun 18, 2009 10:53 am
- Forum: Project Announcements
- Topic: New Tiled Terrain Scene Node [works with Irr 1.5]
- Replies: 338
- Views: 113494
- Mon Jun 15, 2009 2:24 pm
- Forum: Beginners Help
- Topic: Problem with Directional Light
- Replies: 0
- Views: 518
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.imagesha...