Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with vector_math #23

Closed
bergwerf opened this issue Jul 5, 2016 · 6 comments
Closed

Integrate with vector_math #23

bergwerf opened this issue Jul 5, 2016 · 6 comments

Comments

@bergwerf
Copy link

bergwerf commented Jul 5, 2016

There is a pretty cool pub package for vector and matrix operations; vector_math (http://pub.dartlang.org/packages/vector_math). It would be awesome if you could integrate with this package so I can use the same types (e.g. it also has a Vector3List with a single Float32List backend).

@muth02446
Copy link
Contributor

Hi Herman (and Raymond):

I am working on this but since it is a rather big change breaking compatibility with older code
in rather dramatic way I was thinking of combining this with a WebGL 2.0 port.

Cheers,
Robert

@rhulha
Copy link
Member

rhulha commented Jul 6, 2016

Yeah, I think it makes sense to switch to vector_math too.

@unicomp21
Copy link
Collaborator

awesome!

On Wed, Jul 6, 2016 at 6:14 PM, Raymond Hulha [email protected]
wrote:

Yeah, I think it makes sense to switch to vector_math too.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#23 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAhV_fSfXv2D-eecEf2rwDRptkF8UBdcks5qTCjSgaJpZM4JFgaF
.

@muth02446
Copy link
Contributor

I went ahead and did this in branch:
https://github.com/rhulha/ChronosGL/tree/NewShaderLogic

Note that this branch contains many incompatible API changes
beyond the vector_math changes.
I am also still exploring stuff like "phases" and do not consider the API fully stable.
In case of doubt have a look at the examples.

Not that this does not include anything related to WebGL 2.0.
Dartium is still at Chrome 45 equivalent so it might be while before we can
experiment with WebGL 2.0 and Dart.

@rhulha
I put a few "TODO(rhulha)" in places where I did not quite knew what to do.

@rhulha
Copy link
Member

rhulha commented Jul 28, 2016

I'll try to take a look but I am strapped for time :/

@muth02446
Copy link
Contributor

I consider this done now.
In addition to the vector_math changes there has been a lot of "churn" in the API.
I am happy with the new abstractions, so they should be quite stable now.

Please have a look at the high level overview here: https://github.com/rhulha/ChronosGL/blob/NewShaderLogic/class_glossary.md
and check the examples to see how things work in detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants