Releases: compas-dev/compas_viewer
Releases · compas-dev/compas_viewer
v2.0.0
Added
- Added
Component
base class with standardizedwidget
attribute andupdate()
method. - Added
BoundComponent
class for components bound to object attributes with automatic value synchronization. - Added new components:
BooleanToggle
,ColorPicker
,NumberEdit
,Container
,Tabform
.
Changed
- Complete restructuring of compas_viewer UI architecture to implement component-based system.
- Replaced dialogs with integrated components:
CameraSettingsDialog
→CameraSetting
,ObjectSettingDialog
→ObjectSetting
. - Enhanced existing components: Updated
Slider
,TextEdit
,Button
to use new component-based system. - Moved UI elements to dedicated
components/
folder. - Refactored
MenuBar
,ToolBar
,SideDock
,MainWindow
,StatusBar
,ViewPort
to use new component system. - Updated
UI
class to use new component architecture. - All UI components now inherit from
Base
class for consistent structure. - Improved data binding with automatic attribute synchronization.
Removed
- Removed deprecated components:
ColorComboBox
,ComboBox
,DoubleEdit
,LineEdit
,LabelWidget
. - Removed
CameraSettingsDialog
andObjectSettingDialog
(replaced with integrated components).
v1.6.1
Added
Changed
- Fixed the bug of missing geometry shader in released package.
Removed
v1.6.0
Added
- Added ability to add and remove objects in real-time after viewer starts running.
- Added option to drag and drop serialized JSON files of scene and geometries.
- Added shortcut
Del
to remove selected objects in scene. - Added
OffscreenBufferContext
for better maintainability on instance rendering pipeline.
Changed
- Made
linewidth
working again throughGeometryShader
. - Fixed a bug of viewer crashing with empty scene.
Removed
v1.5.1
Added
Changed
- Fixed a bug with updating color in object setting form.
Removed
v1.5.0
Added
- Added back
BufferObject
andBufferGeometry
to create geometry from low-level buffer data.
Changed
- Fixed kwargs error when assigning
vertexcolor
. - Fixed a bug of mis-matching colors and positions length for
GeometryObject
buffer data.
Removed
v1.4.0
Added
- Added
BufferManager
to handle buffer data for all the scene objects. - Added
make_texture_buffer
ingl.py
for matrix and settings array.
Changed
- Greatly improved performance for scenes with large number of objects.
- All scene objects are rendered once in a combined buffer through single draw call.
- Updated shaders to version OpenGL 330 Core Profile.
- Implemented matrix and settings array as texture buffer instead of uniforms to improve performance.
- Blending of transparent objects is handled in a second draw on top of the opaque objects.
Removed
- Removed all low-level buffer related functions from
SceneObject
s, which is now handled together byBufferManager
. - Removed redundant Shaders:
grid_shader
,instance_shader
,surface_shader
andarrow_shader
. - Removed
paint_instance
fromRenderer
as it handled by a shader flag.
v1.3.2
Added
Changed
Removed
v1.3.1
Added
Changed
Removed
v1.3.0
Added
- Added
TextEdit
to handlename
change. - Added
DefaultLayout
to handle gernerallayout
setting to minimal. - Added
ColorDialog
to manage color dialog. - Added
SettingLayout
to manage complex layout with config input. - Added
robot.py
example. - Added
ortho
option to view. - Added
vertical_align
andhorizontal_align
options toTag
.
Changed
- Fixed
GroupObject
pointcolor
not found error with implimentexclude_type_list
. - Fixed
Tag
inconsistent height issue. - Dynamically adjust camera pan delta based on distacne.
Removed
v1.2.4
Added
- Added
list
to accepted types forScene.add
. - Added
list[float]
to accepted types forCamera.position
andCamera.target
. - Added
unit
toViewer
andConfig
. - Added
bounding_box
and_update_bounding_box
toBufferObject
.
Changed
- Fixed
opacity
bug withBufferObject
. - Updated
SceneForm
to avoid completely reload when scene objects not changed.