Giter VIP home page Giter VIP logo

qt_3d_mouse_ray-tracing's Introduction

QT_3d_mouse_ray-tracing

A gui without any opengl matrixes. 3d mouse ray tracing included

The red dot is the 3D intersection with the mouse.

For ray tracing the mouse pointer is implemented as a line in the z axis direction. Each of the 3d cube lines are calculated in time from 0 to 1, to get the points on the cube lines with a certain resolution. This way of calculation is also needed for 3d splines. So the procedure is in line with more complex shapes.

Each calculated point of the cube within 0.2mm near the z direction mouse pointer line is a intersection.

Look at the code. It's written without opengl matixes. We don't need them !!

1

Coded in Linux : Qt Creator 4.8.2 Based on Qt 5.9.8 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit) Built on Mar 22 2019 From revision 04aac85e26

qt_3d_mouse_ray-tracing's People

Contributors

grotius-cnc avatar

Watchers

 avatar

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.