Mon, 20 Jun 2022 21:14:17 +0300
Fix pick scene rendering: we cannot use glReadPixels when using multisampling, so we need to render the pick scene to a separate frame buffer
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>ColorIndexInput</class> <widget class="QWidget" name="ColorIndexInput"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>370</width> <height>47</height> </rect> </property> <property name="windowTitle"> <string>Form</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QSpinBox" name="index"> <property name="suffix"> <string/> </property> <property name="maximum"> <number>2147483647</number> </property> </widget> </item> <item> <widget class="QPushButton" name="button"> <property name="text"> <string>…</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </widget> <resources/> <connections/> </ui>