.. role:: raw-html(raw)
    :format: html

.. |supported| image:: ../../_assets/images/green_circle.png
   
.. |na| image:: ../../_assets/images/grey_circle.png
   
.. |unsupported| image:: ../../_assets/images/red_circle.png
   
.. |partialsupport| image:: ../../_assets/images/gray_green_circle.png

##############
|HPSTHEN| 2021
##############


Technology Updates
==================

Library Compatibility Information
---------------------------------

.. only:: not spatial

	.. csv-table::
		:header: "Library name", "Version", "Windows", "Linux", "OS X", "Android", "iOS", "Notes"
		
		"HOOPS Exchange", "2021", |supported|, |supported|, |supported|, |supported|, |supported|, "Android simulator support is limited. See this :ref:`explanation <prog_guide/0906_exchange_integration:Important note for Android developers>`."
		"HOOPS Publish", "2021", |supported|, |supported|, |unsupported|, |unsupported|, |unsupported|, "Requires SSSE3 instruction set support, Linux support is limited to C++"
		"|HCTHEN| Sprocket", "2020 SP1 U2", |supported|, |unsupported|, |unsupported|, |supported|, |supported|, ""
		".NET Framework", "4.0", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "4.5 required when using D3D_IMAGE_CANVAS"
		"Parasolid", "32.0.x", |supported|, |supported|, |supported|, |unsupported|, |supported|, "For iOS platforms, support is limited to 64-bit platforms for the Parasolid Sprockets (hps_sprk_parasolid and hps_sprk_exchange_parasolid)."
		"RealDWG", "2019", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "RealDWG 2019 works with Visual Studio 2017 Update 2 and Visual Studio 2015 Update 3"
		"Qt", "5.12.7", |supported|, |supported|, |supported|, |unsupported|, |unsupported|, ""
		"SketchUp", "2019.2", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "Only x64 Sketchup is supported"
		
.. only:: spatial

	.. csv-table::
		:header: "Library name", "Version", "Windows", "Linux", "OS X", "Android", "iOS", "Notes"
		
		".NET Framework", "4.0", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "4.5 required when using D3D_IMAGE_CANVAS"
		"Parasolid", "32.0.x", |supported|, |supported|, |supported|, |unsupported|, |supported|, "For iOS platforms, support is limited to 64-bit platforms for the Parasolid Sprockets (hps_sprk_parasolid and hps_sprk_exchange_parasolid)."
		"RealDWG", "2019", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "RealDWG 2019 works with Visual Studio 2017 Update 2 and Visual Studio 2015 Update 3"
		"Qt", "5.12.7", |supported|, |supported|, |supported|, |unsupported|, |unsupported|, ""
		"SketchUp", "2019.2", |supported|, |unsupported|, |unsupported|, |unsupported|, |unsupported|, "Only x64 Sketchup is supported"			


Enhancements
============

**Measurement operator.** A new operator which measures tessellation is now available. This operator is called ``HPS::MeasurementOperator`` and is introduced :ref:`here <prog_guide/0601_standard_operators:MeasurementOperator>`.


Functional Changes
==================

.. only:: not spatial

	**HOOPS Exchange.** |HPSTHEN| now works with HOOPS Exchange 2021.
	
	**HOOPS Publish.** |HPSTHEN| now works with HOOPS Publish 2021.

	**HOOPS Exchange bin dir.** The HOOPS Exchange *bin* dir has changed from *win64* to *win64_v140*.

**Navigation cube function change.** The function signature for ``HPS::NavigationCubeControl::GetText`` has changed to accommodate setting fallback fonts in the nav cube. The new function signature is:

.. code-block:: cpp

	bool HPS::NavigationCubeControl::GetText(UTF8 & out_back_string, UTF8 & out_top_string, UTF8 & out_left_string,	UTF8 & out_front_string, UTF8 & out_bottom_string, UTF8 & out_right_string, HPS::TextAttributeKit & out_text_attributes, HPS::UTF8Array & out_font_fallbacks) const


Fixed Bugs
==========

.. csv-table::
	:header: "Issue number", "Description"
	
	"SDHV-10303", "PDF is exported with Gold color"
	"SDHV-10233", "hopengl32.dll does not have a version"
	"SDHV-10199", "Crash when we ComputeRelation of a point with respect to shell"
	"SDHV-10192", "Mesh lines are visible in the exported PDF which is exported by using HPS::Hardcopy::GDI API"
	"SDHV-10191", "PDF size is drastically increased when line cap is set in the LinePatternOptionsKit"
	"SDHV-10190", "Poor artifacts on every edges and spikes all over the line"
	"SDHV-10188", "|HPSTHEN| encounters an exception when zooming in/out with specific scene configuration"
	"SDHV-10104", "Hoops using arial-pl and times-pl"
	"SDHV-10099", "Issue with the navigation cube and visible edges"
	"SDHV-10073", "Performance slow compared with 2018SP2"
	"SDHV-10027", "Time to obtain a 2D PDF is too long"
	"SDHV-5121", "Line color become different color when export to 2D PDF"
	"SDHV-5117", "SelectByPoint returns wrong selection positions"
	