Collision Detection Between a Circle and a Line Segment

Collision between Segment AB and circle C (radius r).  Let’s remember a little of vector algebra and pythagorean theorem. The height of the right-angle triangle ACD is what we need to compare with radius. This is a segment and not Continue reading Collision Detection Between a Circle and a Line Segment

PowerShell script to deploy Qt Standalone Windows App

Use this script with QtCreator (Option, External Tools): Executable: powershell Arguments: deployWindowsApp.ps1 %{CurrentProject:Name} %{CurrentProject:NativePath} %{CurrentProject:BuildPath} %{CurrentProject:QT_INSTALL_BINS} c:\Developer\Deploy

ThreeJS Line Demo on QML Canvas3D

It is a simple porting of ThreeJS lines demo. ThreeJS is a Javascript library for manipulating WebGL inside web browsers. It takes a little effort converting web code to Qml Canvas3D. Open QtCreator, create new project and select “Qt Canvas Continue reading ThreeJS Line Demo on QML Canvas3D

Simple QML File Browser

Just 4 fun. It takes a ListView, a FolderListModel and QQuickImageProvider to build a simple list file browser. First things First. The custom Icon Provider will answer QML requests for file icons.

Applicazione Qt: distribuzione di un eseguibile standalone in Linux

L’applicazione (Qt C++/QML) è pronta per la distribuzione nei diversi ambienti Linux dei miei colleghi. Non voglio impazzire nel dover creare un pacchetto DEB o RPM per i loro ambienti. Ho provato ad eseguire semplicemente il file binario nei differenti Continue reading Applicazione Qt: distribuzione di un eseguibile standalone in Linux