anm-ol / sim3d

https://anm-ol.github.io
6 stars 1 forks source link

Feature to select particle/lights and move them around or modify them #42

Closed anm-ol closed 4 months ago

anm-ol commented 4 months ago

search youtube for mouse picking opengl.

Probably going to do this by casting a ray from camera in view direction and check every particle if it intersects. Make a different file for this, eg. mousePicker.cpp

Then add ImGuizmo to move particles/lights around and change their properties with imgui

its-nmt05 commented 4 months ago

Closed with e8ae854580f4e1612e9b8905f3337fb3b7adf784 917bb6dc03b23e65652297c0687e445c4991c5de 63c92b6a4381c973ae87f432c96c280f2ce5f072