2.0.10 • Published 3 years ago

@glas/platform v2.0.10

Weekly downloads
68
License
MIT
Repository
github
Last release
3 years ago

glass-platform

Main glass library

Dependencies

https://github.com/krisnye/glass-build

Setup

git clone https://github.com/krisnye/glass-platform.git platform
cd platform
guild setup

Development

guild watch

App Engine Docs

https://cloud.google.com/appengine/docs/standard/#instance_classes
https://cloud.google.com/appengine/docs/standard/nodejs/config/appref
https://googleapis.dev/nodejs/datastore/latest/index.html

Cordova

I got this error when running "cordova emulate android"

Waiting for emulator to start...
PANIC: Missing emulator engine program for 'x86' CPU.
I did this: (Not sure it helped)
    https://stackoverflow.com/questions/55204871/panic-missing-emulator-engine-program-for-x86-cpu-windows-10

Then I did added this to my ~/.bash_profile and it worked:

    export ANDROID_SDK_ROOT=~/Library/Android/sdk
    export PATH=$ANDROID_SDK_ROOT/emulator:$ANDROID_SDK_ROOT/tools:$PATH

Hot reloading? https://stackoverflow.com/questions/46262816/cordova-hot-reloading-on-device-without-ionic

Coordinate System

The default coordinate system is right handed with +z pointing towards the viewer.
The 2d control coordinate system is also right handed with the origin in the top left and the +z pointing away from the viewer.
The projection transformation turns it into a left handed system as +z points away from the viewer.

modelView = view.multiply(model)

model space
    -> model
world space
    -> view
camera space
    -> projection
clip space
    -> screen
screen space

Todo

X   Change default2D shader to actually use modelViewProjection matrix.
X   Change Scene to Screen and make it set the Projection Matrix to 2D.
X   Create a View or Camera class to handle the View Matrix.
X   Created horizontal and vertical flex layout.
X   Handle Virtual Node Transforms using Matrices.
X   Use Transforms while Picking to transform the Pick Capsule.
X   Use Transform as LocalTransform for Control.
X   Create and use an arbitrary Transform Node and test input.
    Sprites and Image Usage in 2D and 3D.
X   2D Canvas usage from within 3D.
    Text Rendering within Canvas 2D.
    3D Effects.

    GLTF Loader needs to use the new Mesh class.

    Need ability to create/delete a Texture and update it's src
    Move the field upload implementation into the general platform data/download
    -> Actually, define new ?query as ?{query} or ?path/to/field
    -> Then merge the get/put semantics into ?data url with special upload/download of data fields
2.0.9

3 years ago

2.0.10

3 years ago

2.0.8

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.3

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

0.1.77

4 years ago

0.1.76

4 years ago

0.1.75

4 years ago

0.1.74

4 years ago

0.1.72

4 years ago

0.1.71

5 years ago

0.1.70

5 years ago

0.1.68

5 years ago

0.1.67

5 years ago

0.1.66

5 years ago

0.1.65

5 years ago

0.1.64

5 years ago

0.1.63

5 years ago

0.1.62

5 years ago

0.1.61

5 years ago

0.1.60

5 years ago

0.1.59

5 years ago

0.1.55

5 years ago

0.1.54

5 years ago

0.1.52

5 years ago

0.1.51

5 years ago

0.1.50

5 years ago

0.1.49

5 years ago

0.1.48

5 years ago

0.1.47

5 years ago

0.1.46

5 years ago

0.1.45

5 years ago

0.1.44

5 years ago

0.1.43

5 years ago

0.1.42

5 years ago

0.1.38

5 years ago

0.1.36

5 years ago

0.1.35

5 years ago

0.1.34

5 years ago

0.1.33

5 years ago

0.1.32

5 years ago

0.1.31

5 years ago

0.1.30

5 years ago

0.1.29

5 years ago

0.1.28

5 years ago

0.1.27

5 years ago

0.1.26

5 years ago

0.1.25

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago