swift502 / Sketchbook

3D playground built on three.js and cannon.js.

Home Page:https://jblaha.art/sketchbook/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple cameras and points of view.

eachtime opened this issue · comments

Hello everyone, first of all I want to thank you for all this amazing work. It is quite impressive!

I saw that you are planning to implement a kind of GTA-like follow camera. I gave it a try my self, I'm not there yet at all, but maybe it's worth taking a look at my code.
I implemented it very naively but the result looks surprisingly good to me (I'm certainly not as exigent as you guys).

I have to make a few caveats though, I'm a little bit comfortable with JavaScript, but this is my first time with Typescript. I'm also not very good at maths or geometry.
I read a few articles and saw a couple of videos on quaternions, three.js cameras and stuff, but this was more of a trial and error implementation, so it could
hurt your eyes really bad.

Anyway, I would be glade to share my modifications and have some feedbacks. I created a new branch called cameras.
Correct me if I'm wrong, but according to the GitHub documentation, I think that you have to create the same one in order for me to do a pull request.
Or I can share it by any other means that is convenient for you.
I can also put an instance on my server if you want to try it first to decide if it's worth it for you to take a look at the code.

Hi!

Awesome. I'd definitely be interesting in checking out your changes and possibly merging them if we both like the final implementation.

You could've already made a pull request. We can discuss your implementation and other details directly in the PR thread.

Correct me if I'm wrong, but according to the GitHub documentation, I think that you have to create the same one in order for me to do a pull request.

I very much believe you can request pulls across different branches as well no problem. E.g. from your "cameras" to my "master". Let me know if you have issues with this, but should be very straight forward, just a few clicks on GitHub.

And you don't have to put an instance on your server (unless you want to). Just link me the repo (or better yet, create the pull request), I can build it and test it myself. I checked your profile but you seem to have no public repositories? Where is the repo with your changes? 😃

We can discuss your implementation and other details directly in the PR thread.

So it means I should close this issue ?

I'll do it. 👍