Search found 13 matches
- Tue Mar 20, 2018 6:33 am
- Forum: Developer's Forum for Windows
- Topic: Successive calls of SiTerminate() and SiInitialize()
- Replies: 1
- Views: 12553
Successive calls of SiTerminate() and SiInitialize()
We recently did a change to our application (which is a dll loaded by another app), so it can be loaded and unloaded during the runtime of the host process. Our dll creates a hwnd which receives events from the spacemouse driver, however, after unloading and reloading our dll, it stops working. We h...
- Tue Sep 19, 2017 11:41 pm
- Forum: Developer's Forum for Windows
- Topic: Render-Plugin for SketchUp
- Replies: 14
- Views: 31157
Re: Render-Plugin for SketchUp
Thank you very much for the follow up.
So do you think this is something we could fix in our code?
So do you think this is something we could fix in our code?
- Mon Sep 18, 2017 1:31 am
- Forum: Developer's Forum for Windows
- Topic: Render-Plugin for SketchUp
- Replies: 14
- Views: 31157
Re: Render-Plugin for SketchUp
Hi jwick, I've sent you a PM.
Exactly.jwick wrote:What HWND are you supplying in the SiOpen args? I assume it is the visible OpenGL window that you are creating.
- Fri Sep 08, 2017 5:08 am
- Forum: Developer's Forum for Windows
- Topic: Render-Plugin for SketchUp
- Replies: 14
- Views: 31157
Re: Render-Plugin for SketchUp
Our hWnd is not parented.ngomes wrote:In your call to SiOpen, you have entered an HWND. Can you say how this window is parented?
- Fri Sep 08, 2017 4:21 am
- Forum: Developer's Forum for Windows
- Topic: Render-Plugin for SketchUp
- Replies: 14
- Views: 31157
Re: Render-Plugin for SketchUp
Since your extension is doing all the rendering -- and as you pointed out, then your extension will need to handle the view changes. Can you get the underlying SketchUp view changes and propagate them to your window? Say, the user switches to a standard view ("top" or "left"), h...
- Tue Sep 05, 2017 5:23 am
- Forum: Developer's Forum for Windows
- Topic: Render-Plugin for SketchUp
- Replies: 14
- Views: 31157
Re: Render-Plugin for SketchUp
I need to post a correction: We do NOT initiate our RenderWindow with the HostApp's (be it SketchUp or Revit) hWnd, so we are not the HostApp's Child Window. We are however, part of the same process. (Our Plugin.dll gets loaded by the HostApp). While working, the client will often switch between the...
- Tue Sep 05, 2017 5:13 am
- Forum: Developer's Forum for Windows
- Topic: Render-Plugin for SketchUp
- Replies: 14
- Views: 31157
Re: Render-Plugin for SketchUp
We need to, because we have a custom viewport. For more infor, see our homepage: http://www.enscape3d.com So are you saying that there is a proprietaty extension in the 3DConnexion's driver? In Revit, our Renderwindow is a child to the host application as well, and there, we do not experience the pr...
- Tue Aug 29, 2017 12:48 am
- Forum: Developer's Forum for Windows
- Topic: Render-Plugin for SketchUp
- Replies: 14
- Views: 31157
Render-Plugin for SketchUp
Currently we're developing a Render-Plugin for SketchUp. In our code, we basically use this code to set up the Spacemouse device: SiInitialize(); SiOpenData oData; SiOpenWinInit(&oData, m_hwnd); SiSetUiMode(SI_ALL_HANDLES, SI_UI_NO_CONTROLS); m_siHdlDevice = SiOpen("OurApp", SI_ANY_DEV...
- Fri Jul 15, 2016 5:19 am
- Forum: Developer's Forum for Windows
- Topic: Receiving very high axes values
- Replies: 6
- Views: 11898
Re: Receiving very high axes values
What I tried so far:
But this always returns 1.0 regardless of config.
How can I access this config programmatically?
Code: Select all
SPWfloat32 scaleRx;
SPWfloat32 scaleOverall;
SiSyncGetScaleRx(devHdl, &scaleRx);
SiSyncGetScaleOverall(devHdl, &scaleOverall);
How can I access this config programmatically?
- Fri Jul 15, 2016 5:18 am
- Forum: Developer's Forum for Windows
- Topic: Receiving very high axes values
- Replies: 6
- Views: 11898
Re: Receiving very high axes values
Jwick, thank you so far. Creating a config file to ensure the correct scaling poses problems for us, e. g.: - We are a plugin for another app that also uses the SpaceMouse, so we cannot simply overwrite that file's cfg. I'm using the 3DxWare SDK doc and didn't find this information there. - Can you ...
- Fri Jul 15, 2016 4:37 am
- Forum: Developer's Forum for Windows
- Topic: Receiving very high axes values
- Replies: 6
- Views: 11898
Re: Receiving very high axes values
I reduces the problem as follows: - compile the 3DxTest App -> 3DxTest.exe - Copy the executable giving it another name, like ->3DxTest2.exe Those two will behave differently in terms of: - 3DxTest.exe: - "APPLICATION USE" will be displayed in the SpaceMouse display when pushing buttons - ...
- Thu Jul 14, 2016 8:18 am
- Forum: Developer's Forum for Windows
- Topic: Receiving very high axes values
- Replies: 6
- Views: 11898
Re: Receiving very high axes values
edit:
In all cases.
Code: Select all
Event.Period = 16
- Thu Jul 14, 2016 8:04 am
- Forum: Developer's Forum for Windows
- Topic: Receiving very high axes values
- Replies: 6
- Views: 11898
Receiving very high axes values
I have a c++ application the can be run either as plugin for another app, or as standalone. I find that axes values I receive by SiGetEvent Vary greatly. When I run the example program 3DxTest, I receive maximum values around 500-600. When I run as a plugin (for an application that uses the SpaceMou...