There are no new major features for this release.
Notes on MVO/HStream/BStream/IM methods which return arrays
Example of old signature for HShellObject::GetFlist():
public int[] GetFlist();
New signature:
public IntPtr GetFlist();
New sample usage:
// hso is a valid HshellObject
int[] flist = HCSMVO.ExtractIntArray(hso.GetFlist(), hso.GetFlistLen());
Notes on MVO/HStream/BStream/IM array member variables
Array member variables are now of type IntPtr and read-only. Example of old form:
public int[] face_list { set {…} get {…} }
New form:
public IntPtr face_list{ get{…} }
New sample usage:
// shell is a valid HShell object
int[] flist = HCSMVO.ExtractIntArray(shell.face_list, shell.face_count);
\endcode
As described in this link (http://msdn.microsoft.com/en-us/library/xwb8f617.aspx), we now create our dev_tools\* .NET assemblies as "Strong-Named Assemblies". Please refer to the Programming Guide for more details.
C# variants of the Tutorials are now available, and are located in [hoops]/demo/dotnet subfolders.
This sample shows how to leverage the HOOPS/WPF integration to create a HOOPS/WPF-based XBAP, that can run inside of Internet Explorer. It is located at [HOOPS]\demo\dotnet\xbap_simple. Refer to the readme.txt for more details.
This sample app shows how to composite WPF UI elements with the HOOPS-rendered Direct3D scene. It is located at [HOOPS]\demo\dotnet\wpf_image. Refer to the readme.txt for more details.
Demos/tutorials now use the dx9 driver (instead of opengl) by default.
Demos/tutorials in main .sln file (e.g. $HOOPS\demo\dotnet\hoops_dotnet_vs10.sln) now reference release .dlls and output to the Release folder. Building these demo projects will no longer trigger a rebuild of the Dev_Tools .NET/C++ projects.
The .NET dlls now have the same name for debug/release/x86/x64 configurations. This is due to the fact that the Microsoft Visual Studio IDE doesn't support per-configuration assembly names or references, and HOOPS' previous per-configuration naming differences was actually a non-standard approach that was essentially being forced on HOOPS/C# users. Some insight is avaiable in the following thread:
http://social.msdn.microsoft.com/Forums/en-US/csharpide/thread/d6117daa-2920-4911-a5f8-7f71d6d4977a
The Show_Net and Show_One_Net functions are no longer supported. You should review your code and utilize a PShow variant.
K, Q and QK Variants are no longer supported. If you are using the K variant of a function to obtain a HOOPS key, you can now use the original version of the function because it has been modified to return a key. For example, if your original code to open a segment looked like this:
HLONG key = HCS.KOpen_Segment("");
You can now do this:
HLONG key = HCS.Open_Segment("");
For all supported platforms, C# .Net assemblies target the .NET Framework 2.0.