Search found 12 matches

by formware
Thu Apr 16, 2020 8:56 am
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Re: Combining translation and rotation into correct matrices. CAD package

It works. SDK 3.4 is now working smooth (3d/2d views and cmd buttons for toggling view). I'm currently trying sdk4.0 but run into some uncertainty with what should be provided as values. Seems to me as some of the C# namings are not consistent with the C++ quick quide and the other document. So that...
by formware
Thu Apr 16, 2020 1:24 am
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Re: Combining translation and rotation into correct matrices. CAD package

Thanks. that explains a lot.

I'm missing all 'hints' dll bindings and enums in my version of the SiApp.cs
(took this from the 3.4 SDK)

Is there another version of this that includes these?
by formware
Wed Apr 15, 2020 11:42 pm
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Re: Combining translation and rotation into correct matrices. CAD package

I managed to get the 3d view completely working with 3.4. Will email the updated sample once done. Next things that come up that I don't understand are the buttons in 3.4. I have the simplest space mouse possible with 2 buttons. When i click them I get the circular menu's from the driver. So that al...
by formware
Wed Apr 08, 2020 9:06 am
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Re: Combining translation and rotation into correct matrices. CAD package

I will try adding V4.0 as well so i can check if my own integration/math is correct and view any difference. My own integration is very small. (it's just 3-4 methods). My goal is to make a similar small integration for V4.0 with just the bare minimum so it's easy to debug and understand for others. ...
by formware
Wed Apr 08, 2020 4:15 am
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Re: Combining translation and rotation into correct matrices. CAD package

Ok that clears some questions up ;) In response to your earlier question about an OpenTK project. I think that makes sense. I have setup a bare minimum VS project with just a 3dview, axis and a colored cube using the OpenTK lib. It has my V3.4 integration up to this point integrated. Can I email thi...
by formware
Wed Apr 08, 2020 2:17 am
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Re: Combining translation and rotation into correct matrices. CAD package

Hi, Yes i found that document. Also understand it. But when i look in teh C# sample application i see a lot more classes, interfaces and views. In the "SpaceMouse" folder there are various CallBack files instead of 1 class. It's unclear to me which gets/sets do i need at a minimum for my a...
by formware
Wed Apr 08, 2020 1:43 am
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Re: Combining translation and rotation into correct matrices. CAD package

Hi ngomes, Thanks for the reply. This is gonna be a long post. But hopefully also for you some feedback. Your answers are highly appreciated. I picked the V3.4 because: - when i run the C# V4.0 example it shows me only exceptions. The getters/setters of the camera point and some hit methods. So with...
by formware
Fri Apr 03, 2020 11:00 am
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Re: Combining translation and rotation into correct matrices. CAD package

After another day of work learned a lot but still don't have a good working solution. I scanned my way through the V3.4 and V4 SDK's but I can't find any 3d math example code handling the view. From the documentation I learn so much as that I probably have the 'target camera mode' Implemented the tr...
by formware
Thu Apr 02, 2020 6:16 am
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Re: Combining translation and rotation into correct matrices. CAD package

Thanks for this example. Yes please email me the entire sample. info[at]formware[dot]co (not .com) I've continued on it as of yesterday and studied my previous older code again. My main challenge/problem is as follows. Our entire code base is build around the following order when 'recalculating pers...
by formware
Mon Mar 30, 2020 12:17 am
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Re: Combining translation and rotation into correct matrices. CAD package

Thanks for your detailed answer. You raised me some more questions ;) 1. The accumulation trick you mention, each 'event' one could then do [M] = [X][Y][Z], but then multiply with the previous accumulated [M]'s again? So that would mean in the end: [X1][Y1][Z1][X2][Y2][Z2][X3][Y3][Z3] etc. ? which i...
by formware
Mon Mar 30, 2020 12:16 am
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Re: Combining translation and rotation into correct matrices. CAD package

Thanks for your detailed answer. You raised me some more questions ;) 1. The accumulation trick you mention, each 'event' one could then do [M] = [X][Y][Z], but then multiply with the previous accumulated [M]'s again? So that would mean in the end: [X1][Y1][Z1][X2][Y2][Z2][X3][Y3][Z3] etc. ? which i...
by formware
Wed Mar 04, 2020 7:55 am
Forum: Developer's Forum for Windows
Topic: Combining translation and rotation into correct matrices. CAD package
Replies: 28
Views: 80339

Combining translation and rotation into correct matrices. CAD package

Hi, I'm implementing the normal 6 DOF space mouse into our CAD package (www.formware.co) The translations XYZ of the camera are all working. Impressed by how smooth this went. I'm struggling with how to correctly implement the rotations. I see in the SDK documentation something mentioned about a sin...