Click here to Skip to main content
15,911,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Error when adding files to C++ Pin
STDF29-Jan-10 4:22
STDF29-Jan-10 4:22 
QuestionTree Control Icons/Image List? Pin
Software200718-Dec-08 3:29
Software200718-Dec-08 3:29 
AnswerRe: Tree Control Icons/Image List? Pin
Jonathan Davies18-Dec-08 4:09
Jonathan Davies18-Dec-08 4:09 
QuestionRadian angle to Quaternion Pin
shaibee18-Dec-08 3:28
shaibee18-Dec-08 3:28 
AnswerRe: Radian angle to Quaternion Pin
Cedric Moonen18-Dec-08 3:46
Cedric Moonen18-Dec-08 3:46 
GeneralRe: Radian angle to Quaternion Pin
shaibee18-Dec-08 3:53
shaibee18-Dec-08 3:53 
GeneralRe: Radian angle to Quaternion Pin
Randor 18-Dec-08 4:37
professional Randor 18-Dec-08 4:37 
AnswerRe: Radian angle to Quaternion Pin
El Corazon18-Dec-08 6:38
El Corazon18-Dec-08 6:38 
I am reminded of when I told a programmer that OpenGL didn't understand "2D". when you deal with 2D references all you are doing is nulling/zeroing the other rotations. If Z is into the screen (a common reference) then heading is your rotation of a window plane clockwise. All other references would be zero. So you can easily use 3D references to modify 2D parameters. If you write your own window compositing display a flip forward would be pitch and flip left/right is roll. you cand do some pretty cool displays.

the hardest part is Euler to quaternion is reference specific. Is +Y out of the screen? is +Z into our out of the screen? so you have to watch your references.

in reality you don't need to choose. If you are using only one view, one rotation, you can fake it by choosing an angle and always using that one for window rotation. You might get into trouble when you try to share, but you will find quaternions pretty lie/mistake proof as long as you are carefully consistant.

I prefer thinkin in top down 3D where window rotation clockwise is Euler heading. Smile | :)

_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

AnswerRe: Radian angle to Quaternion Pin
Stuart Dootson18-Dec-08 7:52
professionalStuart Dootson18-Dec-08 7:52 
QuestionJust part of the 32 bit color depth picture is displayed when my program runs in XP while in win server it is fine Pin
fire storm18-Dec-08 2:58
fire storm18-Dec-08 2:58 
AnswerRe: Just part of the 32 bit color depth picture is displayed when my program runs in XP while in win server it is fine Pin
Randor 18-Dec-08 3:27
professional Randor 18-Dec-08 3:27 
AnswerRe: Just part of the 32 bit color depth picture is displayed when my program runs in XP while in win server it is fine Pin
Hamid_RT18-Dec-08 5:46
Hamid_RT18-Dec-08 5:46 
GeneralRe: Just part of the 32 bit color depth picture is displayed when my program runs in XP while in win server it is fine Pin
fire storm20-Dec-08 20:42
fire storm20-Dec-08 20:42 
QuestionAttach child toolbar to parent toolbar Pin
Pryabu18-Dec-08 2:25
Pryabu18-Dec-08 2:25 
AnswerRe: Attach child toolbar to parent toolbar Pin
Maximilien18-Dec-08 2:57
Maximilien18-Dec-08 2:57 
AnswerRe: Attach child toolbar to parent toolbar Pin
Cedric Moonen18-Dec-08 2:57
Cedric Moonen18-Dec-08 2:57 
GeneralRe: Attach child toolbar to parent toolbar Pin
Pryabu18-Dec-08 18:11
Pryabu18-Dec-08 18:11 
AnswerRe: Attach child toolbar to parent toolbar Pin
Hamid_RT18-Dec-08 5:32
Hamid_RT18-Dec-08 5:32 
GeneralRe: Attach child toolbar to parent toolbar Pin
Pryabu18-Dec-08 17:45
Pryabu18-Dec-08 17:45 
QuestionHow to get the message from a service Pin
debonair12345618-Dec-08 1:00
debonair12345618-Dec-08 1:00 
AnswerRe: How to get the message from a service Pin
Mark Salsbery18-Dec-08 6:46
Mark Salsbery18-Dec-08 6:46 
GeneralRe: How to get the message from a service Pin
debonair12345618-Dec-08 17:04
debonair12345618-Dec-08 17:04 
QuestionLoading a Delphi DLL into a VC++ application Pin
Cronoz17-Dec-08 23:35
Cronoz17-Dec-08 23:35 
AnswerRe: Loading a Delphi DLL into a VC++ application Pin
Stuart Dootson18-Dec-08 0:41
professionalStuart Dootson18-Dec-08 0:41 
Questionhow to get accuracy as well as quick interface response Pin
anilaabc17-Dec-08 21:57
anilaabc17-Dec-08 21:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.