Git Product home page Git Product logo

Comments (5)

Kevin-Mattheus-Moerman avatar Kevin-Mattheus-Moerman commented on September 27, 2024 2

Thanks. I'll have a look.

from glabstraction.jl.

SimonDanisch avatar SimonDanisch commented on September 27, 2024

Yeah would be nice! It's very hard to get a good reference for camera code, since it's either hidden deep in a complex C++ library, closed source, or one just finds toy example. I even went through the effort to extract the camera code from Blender, but it was so complex I gave up^^

So this was definitely one of the occasions where I had 0 motivation to reinvent the wheel, but I couldn't find any good reference to implement this nicely.
At some point I was just like: ok I wasted way too much time on the camera code, this has to be good enough for now.
Any help to improve this would be very welcome.

Btw, at some point I implemented the cube camera navigation from 3Ds max, which was pretty nice, but integrated rather awkwardly with the rest....

from glabstraction.jl.

Kevin-Mattheus-Moerman avatar Kevin-Mattheus-Moerman commented on September 27, 2024

I did not realize this is difficult to do. I implemented a similar fix for MATLAB based rotation (https://www.gibboncode.org/img/gibbonViewControl.gif, left GIBBON, right MATLAB). Since I'm new to Julia I might not be much help but I can have a look if you like. Could you point me to the right code?

from glabstraction.jl.

SimonDanisch avatar SimonDanisch commented on September 27, 2024

Well, it's probably not super hard, but starting from scratch without any mathematical background was definitely not easy, especially if one doesn't really know how the best camera should be ;)
Here lives the 3D camera code:
https://github.com/JuliaPlots/AbstractPlotting.jl/blob/master/src/camera/camera3d.jl

from glabstraction.jl.

Kevin-Mattheus-Moerman avatar Kevin-Mattheus-Moerman commented on September 27, 2024

Thanks @SimonDanisch I've moved the discussion over to: JuliaPlots/AbstractPlotting.jl#147

from glabstraction.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.