Added Graphic3d_GraphicDriver::MemoryInfo() function.
Added vfps command to estimate average frame rate of 3D Viewer
Simplified vdrawsphere command
Removed turnVbo and performance measurements from vdrawsphere.
Added vvbo command to control VBO usage flag.
Added vmemgpu command to display GPU memory info from graphic driver
Added vfps command to estimate average frame rate of 3D Viewer
Simplified vdrawsphere command
Removed turnVbo and performance measurements from vdrawsphere.
Added vvbo command to control VBO usage flag.
Added native handles to OpenGl_Context
Removed unused and unimplemented PolygonHoles
Removed unimplemented Polygon functions
Removed unused QuadrangleMesh functions
Removed unused TriangleMesh functions
Removed dead Bezier function declarations
Redirect Graphic3d_Group::Polyline() to primitives array
Move Prs3d_ShadedShape template code to StdPrs_ShadedShape
where it is only used before.
Remove TriangleSet usage from AIS_TexturedShape
Texture coordinates functionality added StdPrs_ShadedShape
to eliminate code duplication.
Eliminated usage of TriangleSet from QABugs_PresentableObject
Eliminated usage of TriangleMesh from StdPrs_ShadedSurface
Removed TriangleMesh and TriangleSet support
OpenGl_PrimitiveArray - render Edges only for primitives > GL_LINE_STRIP
Added vgrid command to show grid in 3D Viewer
Changes:
There are following changes in packages:
OpenGl package:
1) The method that sets the line attributes in layer mode
call_togl_set_line_attributes has been modified. Now it doesn't depends
on static flag variables, instead of it method tries to acquire the
current OpenGl attribute flags.
2) The layer begin/end methods call_togl_begin_layer2d / call_togl_end_layer2d
has been modified to keep the OpenGl attribute flags unchanged.
3) The maximum count of predefined line styles for OpenGl driver has been
defined as TEL_LS_MAX in InterfaceGraphic.hxx, this value is used during
the line style list creation in TsmInitAttributes.
InterfaceGraphic package:
1) The maximum count of default line styles has been defined as TEL_LS_MAX
in InterfaceGraphic.hxx
ViewerTest package:
1) DRAW command "vlayerline" has been added to test linewidth, linetype and
transparency of the Visual3d_Layer class.
The command draws a line and has the following arguments:
>> vlayerline x1 y1 x2 y2 [linewidth=0.5] [linetype=0] [transparency=1.0]
Linewidth in pixels, Transparency in range [0.0-1.0].