mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-18 13:43:38 +01:00
haus models
This commit is contained in:
parent
996bc0118a
commit
be89bf1a27
@ -198,8 +198,8 @@ public class BoardAppState extends MonopolyAppState {
|
|||||||
final Texture east = assetManager.loadTexture("Pictures/Backdrop/ost.jpg"); //NON-NLS
|
final Texture east = assetManager.loadTexture("Pictures/Backdrop/ost.jpg"); //NON-NLS
|
||||||
final Texture north = assetManager.loadTexture("Pictures/Backdrop/nord.jpg"); //NON-NLS
|
final Texture north = assetManager.loadTexture("Pictures/Backdrop/nord.jpg"); //NON-NLS
|
||||||
final Texture south = assetManager.loadTexture("Pictures/Backdrop/sued.jpg"); //NON-NLS
|
final Texture south = assetManager.loadTexture("Pictures/Backdrop/sued.jpg"); //NON-NLS
|
||||||
final Texture up = assetManager.loadTexture("Pictures/Backdrop/sued.jpg"); //NON-NLS
|
final Texture up = assetManager.loadTexture("Pictures/Backdrop/up.jpg"); //NON-NLS
|
||||||
final Texture down = assetManager.loadTexture("Pictures/Backdrop/sued.jpg"); //NON-NLS
|
final Texture down = assetManager.loadTexture("Pictures/Backdrop/down.jpg"); //NON-NLS
|
||||||
final Spatial sky = SkyFactory.createSky(assetManager, west, east, north, south, up, down);
|
final Spatial sky = SkyFactory.createSky(assetManager, west, east, north, south, up, down);
|
||||||
// sky.rotate(0, PI, 0);
|
// sky.rotate(0, PI, 0);
|
||||||
viewNode.attachChild(sky);
|
viewNode.attachChild(sky);
|
||||||
@ -235,12 +235,12 @@ public class BoardAppState extends MonopolyAppState {
|
|||||||
|
|
||||||
private Node createCardDeck() {
|
private Node createCardDeck() {
|
||||||
Node cardDeck = new Node("cardDeck");
|
Node cardDeck = new Node("cardDeck");
|
||||||
Spatial card = getApp().getAssetManager().loadModel("models/Kartendecks/Ereigniskarten_Deck.j3o");
|
Spatial card = getApp().getAssetManager().loadModel("models/Kartendecks/Ereigniskarten.j3o");
|
||||||
card.setLocalTranslation(5.5f, 0, 2.7f);
|
card.setLocalTranslation(5.5f, 0, 2.7f);
|
||||||
card.setLocalScale(4.1f);
|
card.setLocalScale(4.1f);
|
||||||
card.setLocalRotation(new Quaternion().fromAngleAxis(FastMath.QUARTER_PI, Vector3f.UNIT_Y));
|
card.setLocalRotation(new Quaternion().fromAngleAxis(FastMath.QUARTER_PI, Vector3f.UNIT_Y));
|
||||||
|
|
||||||
Spatial card2 = getApp().getAssetManager().loadModel("models/Kartendecks/Gemeinschaftskarten_Deck.j3o");
|
Spatial card2 = getApp().getAssetManager().loadModel("models/Kartendecks/Gemeinschaftskarten.j3o");
|
||||||
card2.setLocalTranslation(-1.4f, 0, -3.8f);
|
card2.setLocalTranslation(-1.4f, 0, -3.8f);
|
||||||
card2.setLocalScale(4.1f);
|
card2.setLocalScale(4.1f);
|
||||||
card2.setLocalRotation(new Quaternion().fromAngleAxis(FastMath.QUARTER_PI , Vector3f.UNIT_Y));
|
card2.setLocalRotation(new Quaternion().fromAngleAxis(FastMath.QUARTER_PI , Vector3f.UNIT_Y));
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user