Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
9bf84da4
Commit
9bf84da4
authored
Oct 31, 2024
by
Riegel
Browse files
Disable BackfaceCulling by default
parent
5d1a9009
Pipeline
#10305
passed with stage
in 1 minute and 18 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/Renderer.java
View file @
9bf84da4
...
@@ -24,7 +24,7 @@ public class Renderer {
...
@@ -24,7 +24,7 @@ public class Renderer {
private
TriangulatedGeometry
currentTriGeom
;
private
TriangulatedGeometry
currentTriGeom
;
private
Geometry
currentGeometry
;
private
Geometry
currentGeometry
;
private
CullFace
currentCulling
=
CullFace
.
BACK
;
private
CullFace
currentCulling
=
CullFace
.
NONE
;
private
DrawMode
currentDrawMode
=
DrawMode
.
FILL
;
private
DrawMode
currentDrawMode
=
DrawMode
.
FILL
;
private
MainWindow
mainWindow
;
private
MainWindow
mainWindow
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/MainToolBar.fxml
View file @
9bf84da4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.*?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.image.*?>
<?import javafx.scene.control.ToggleButton?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.HBox?>
<HBox
maxHeight=
"1.7976931348623157E308"
maxWidth=
"1.7976931348623157E308"
spacing=
"5.0"
xmlns=
"http://javafx.com/javafx/22"
xmlns:fx=
"http://javafx.com/fxml/1"
>
<HBox
maxHeight=
"1.7976931348623157E308"
maxWidth=
"1.7976931348623157E308"
spacing=
"5.0"
xmlns=
"http://javafx.com/javafx/22"
xmlns:fx=
"http://javafx.com/fxml/1"
>
<children>
<children>
<HBox
spacing=
"5.0"
HBox.hgrow=
"NEVER"
>
<HBox
spacing=
"5.0"
HBox.hgrow=
"NEVER"
>
...
@@ -31,7 +28,7 @@
...
@@ -31,7 +28,7 @@
<ImageView
fx:id=
"gridImageView"
fitHeight=
"32.0"
fitWidth=
"32.0"
pickOnBounds=
"true"
preserveRatio=
"true"
/>
<ImageView
fx:id=
"gridImageView"
fitHeight=
"32.0"
fitWidth=
"32.0"
pickOnBounds=
"true"
preserveRatio=
"true"
/>
</graphic>
</graphic>
</ToggleButton>
</ToggleButton>
<ToggleButton
fx:id=
"cullingButton"
disable=
"true"
mnemonicParsing=
"false"
selected=
"true"
>
<ToggleButton
fx:id=
"cullingButton"
disable=
"true"
mnemonicParsing=
"false"
>
<graphic>
<graphic>
<ImageView
fx:id=
"cullingImageView"
fitHeight=
"32.0"
fitWidth=
"32.0"
pickOnBounds=
"true"
preserveRatio=
"true"
/>
<ImageView
fx:id=
"cullingImageView"
fitHeight=
"32.0"
fitWidth=
"32.0"
pickOnBounds=
"true"
preserveRatio=
"true"
/>
</graphic>
</graphic>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment