Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology
Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered
You are not logged in.
Yes that's it
Just an idea... maybe you could try to reduce the 3D window size in your plugit and put your window under it ?
you can acces the 3D window in V3DView structure
Offline
Yes that's it
Just an idea... maybe you could try to reduce the 3D window size in your plugit and put your window under it ?
you can acces the 3D window in V3DView structure
thx...How do I access the parent of the 3d window?
Offline
the parent window should be DMSWin
let V3DgetSessionView c3dXsession -> viewstr in
V3DresizeView viewstr viewstr.V3D_iWinX viewstr.V3D_iWinY viewstr.V3D_iWinW viewstr.V3D_iWinH / 2;
but you should also redefine the windows resize callback on viewstr.V3D_win
Offline
what would the code look like....
if the window I create is the following: (assuming the arguments have been defined)
let _CRwindow _channel DMSwin 0 0 600 200 WN_TOPMOST|WN_NOSCOL window_name_value -> thischildwindow in
what code would I need to to alter the dimensons of DMSWIN to allow the 3d window and other ui component (in this case a window) fit in it?
How can I control the attributes of the dmswin?
Last edited by hebdemnobad (7-Oct-2014 22:43:32)
Offline
there is a plugit misc main window
you should see all you need in it.
for example
let V3DgetSessionView c3dXsession -> viewstr in
(
V3DresizeView viewstr viewstr.V3D_iWinX viewstr.V3D_iWinY viewstr.V3D_iWinW viewstr.V3D_iWinH / 2;
let _CRwindow _channel DMSwin 0 (viewstr.V3D_iWinH / 2) viewstr.V3D_iWinW(viewstr.V3D_iWinH / 2) WN_CHILDINSIDE window_name_value -> thischildwindow in
....
);
Offline
there is a plugit misc main window
you should see all you need in it.for example
let V3DgetSessionView c3dXsession -> viewstr in ( V3DresizeView viewstr viewstr.V3D_iWinX viewstr.V3D_iWinY viewstr.V3D_iWinW viewstr.V3D_iWinH / 2; let _CRwindow _channel DMSwin 0 (viewstr.V3D_iWinH / 2) viewstr.V3D_iWinW(viewstr.V3D_iWinH / 2) WN_CHILDINSIDE window_name_value -> thischildwindow in .... );
Thx arkeon
Offline
ok...this project won't be too hard as the current os3d player provides 99% of the functionality of what I envision. I will just modify the .pkg dependencies of the os3dplayer.scol file a little bit without needing any ide save for bluefish.
Offline