version 1.2.1

spot light without shadows and with texture fix
mesh information
points width and points-only meshes support
This commit is contained in:
2023-05-25 15:50:07 +03:00
parent 85bc739987
commit dfc4c718e8
15 changed files with 180 additions and 56 deletions

View File

@@ -70,6 +70,7 @@ void ViewEditor::assignQGLView(QGLView * v) {
ui->checkSoftShadows->setChecked(view->softShadows());
ui->spinSoftShadowSamples->setValue(view->softShadowsSamples());
ui->spinSoftShadowQuality->setValue(view->softShadowsQuality());
ui->spinLineWidth->setValue(view->lineWidth());
auto setMapSize = [](QComboBox * combo, QSize sz) {
for (int i = 0; i < combo->count(); ++i) {
if (combo->itemData(i).toSize() == sz) {
@@ -268,6 +269,12 @@ void ViewEditor::on_spinSoftShadowQuality_valueChanged(double arg1) {
}
void ViewEditor::on_spinLineWidth_valueChanged(double v) {
if (!view || !active) return;
view->setLineWidth(v);
}
void ViewEditor::on_checkVSync_clicked(bool val) {
if (!view || !active) return;
view->setVSync(val);