Commit graph

1707 commits

Author SHA1 Message Date
xemuth
d350aeade7 SurfaceCtrl: Refactorisation of Camera class, start of new camera named magic camera
git-svn-id: svn://ultimatepp.org/upp/trunk@14801 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-12 14:46:49 +00:00
xemuth
e39ab30a5f SurfaceCtrl: quick update of camera position
git-svn-id: svn://ultimatepp.org/upp/trunk@14795 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-12 01:12:03 +00:00
xemuth
c8beb4192f SurfaceCtrl: added picking mecanique via Raytracing, you can now click on object to show their hitbox ! (Camera need a rework, again...)
git-svn-id: svn://ultimatepp.org/upp/trunk@14794 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-12 01:10:24 +00:00
xemuth
58a456288e SurfaceCtrl: premise of ray tracing picking
git-svn-id: svn://ultimatepp.org/upp/trunk@14793 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-11 16:06:57 +00:00
koldo
d4c6253ec6 Functions4U_Demo: New functions to handle console text
git-svn-id: svn://ultimatepp.org/upp/trunk@14792 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-11 14:25:50 +00:00
koldo
73ecddafec Functions4U: New functions to handle console text
git-svn-id: svn://ultimatepp.org/upp/trunk@14791 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-11 14:25:26 +00:00
xemuth
16fff43fe6 SurfaceCtrl: Added bounding box, (picking from ray tracing and dynamic rotation axis is coming)
git-svn-id: svn://ultimatepp.org/upp/trunk@14790 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-11 14:22:52 +00:00
xemuth
fb68aaf46a SurfaceCtrl: Translation via Shift+MouseWheelClick
git-svn-id: svn://ultimatepp.org/upp/trunk@14789 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-11 12:30:58 +00:00
xemuth
a305038cd7 SurfaceCtrl: Added a new sketchup camera working differently
git-svn-id: svn://ultimatepp.org/upp/trunk@14788 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-11 02:20:12 +00:00
xemuth
21d4bd7b1d SurfaceCtrl: fixed ortho camera
git-svn-id: svn://ultimatepp.org/upp/trunk@14787 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-10 20:13:42 +00:00
xemuth
fbfaf2149d SurfaceCtrl: Change way parallele work
git-svn-id: svn://ultimatepp.org/upp/trunk@14786 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-10 16:21:17 +00:00
xemuth
6d95d107a4 SurfaceCtrl: Orthogonal view now center on object
git-svn-id: svn://ultimatepp.org/upp/trunk@14785 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-10 15:42:58 +00:00
xemuth
c0f1ceedf5 SurfaceCtrl: Preparing scene graph
git-svn-id: svn://ultimatepp.org/upp/trunk@14784 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-10 14:51:06 +00:00
xemuth
5f4c706fdc SurfaceCtrl: improved Orthogonal camera
git-svn-id: svn://ultimatepp.org/upp/trunk@14783 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-10 14:34:08 +00:00
xemuth
e772a5c870 SurfaceCtrl: fixing quick bug in ortho
git-svn-id: svn://ultimatepp.org/upp/trunk@14782 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-10 13:55:55 +00:00
xemuth
a8b7d89d3b SurfaceCtrl: added MemoryIgnoreLeaksBlock and Fixed Orthographic camera
git-svn-id: svn://ultimatepp.org/upp/trunk@14781 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-10 13:49:42 +00:00
xemuth
aa06278cb4 SurfaceCtrl: Improved orthographique view
git-svn-id: svn://ultimatepp.org/upp/trunk@14780 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-10 13:22:33 +00:00
xemuth
92dec7f0a2 SurfaceCtrl: fixing return issue, and left mouse handler
git-svn-id: svn://ultimatepp.org/upp/trunk@14779 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-09 15:45:42 +00:00
xemuth
4ed2726841 SurfaceCtrl: Added a forceZoom feature, press Ctrl while mousewheel to force zoom without translating camera
git-svn-id: svn://ultimatepp.org/upp/trunk@14778 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-09 01:32:28 +00:00
xemuth
49068d85b9 SurfaceCtrl: New zoom/dezoom it's now like a SketchupCamera !
git-svn-id: svn://ultimatepp.org/upp/trunk@14777 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-09 01:19:14 +00:00
xemuth
d39162ba3a SurfaceCtrl: New way of moving camera arround using left mouse
git-svn-id: svn://ultimatepp.org/upp/trunk@14776 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-08 23:34:54 +00:00
xemuth
55a9329879 SurfaceCtrl: First try of moving feature, use left click to translate the focus point (wich is represented by the black cube) (black cube can be disabled with F key)
git-svn-id: svn://ultimatepp.org/upp/trunk@14775 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-07 21:59:02 +00:00
xemuth
8cd930a717 SurfaceCtrl: Fixed bug about focus and zoom, improved the way trackball is handled
git-svn-id: svn://ultimatepp.org/upp/trunk@14774 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-07 21:51:25 +00:00
xemuth
711b0273e6 SurfaceCtrl: Fixed the way Trackball and zoom is working (it now work with different focus point)
git-svn-id: svn://ultimatepp.org/upp/trunk@14773 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-07 20:08:26 +00:00
xemuth
0be991aee8 SurfaceCtrl: Updated the zoom in SketchupCamera, it's now smooth !
git-svn-id: svn://ultimatepp.org/upp/trunk@14772 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-07 17:28:01 +00:00
xemuth
91e1b544f0 SurfaceCtrl: Quick fix on SketchupCamera
git-svn-id: svn://ultimatepp.org/upp/trunk@14771 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-07 16:23:58 +00:00
xemuth
7a5536cd09 SurfaceCtrl: updated the main camera, Updated Transform object, Improved how camera is moving arround axis
git-svn-id: svn://ultimatepp.org/upp/trunk@14770 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-07 15:17:04 +00:00
xemuth
85ca624669 SurfaceCtrl: removed SetFocus() on MouseMove
git-svn-id: svn://ultimatepp.org/upp/trunk@14763 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-06 15:16:06 +00:00
xemuth
9d0ce64934 SurfaceCtrl_Demo: Added ActiveFocus(canvas)
git-svn-id: svn://ultimatepp.org/upp/trunk@14762 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-06 15:15:44 +00:00
xemuth
72c395818d SurfaceCtrl: fixed key button to move left (changed from A to Q)
git-svn-id: svn://ultimatepp.org/upp/trunk@14761 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-06 14:35:24 +00:00
xemuth
2c637956b7 SurfaceCtrl: Updated the SurfaceCtrl to improve Qwerty keyboard usage
git-svn-id: svn://ultimatepp.org/upp/trunk@14760 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-06 13:08:39 +00:00
xemuth
4f482b3700 SurfaceCtrl: Added a freeCamera, swapping to it by pressing MouseWheel, SurfaceCtrl now work with a camera ptr
git-svn-id: svn://ultimatepp.org/upp/trunk@14759 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-06 13:07:36 +00:00
xemuth
08e6b6ca22 SurfaceCtrl: Added premise of camera mouvement, press MouseWheel to allow camera to move freely then press ZQSD(French keyboard) to move around (this solution is temporary and will be improved
git-svn-id: svn://ultimatepp.org/upp/trunk@14753 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-05 14:41:49 +00:00
xemuth
76f6c5dcb6 SurfaceCtrl_Demo: Changed the GetFileDirectory removed the \\
git-svn-id: svn://ultimatepp.org/upp/trunk@14749 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-04 16:43:25 +00:00
xemuth
6e92879e0a SurfaceCtrl: Changed the way zooming is working (FOV zoom instead of real zoom)
git-svn-id: svn://ultimatepp.org/upp/trunk@14748 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-04 13:54:05 +00:00
xemuth
5a7ecc7145 SurfaceCtrl: added material object allowing modification of light reflection property on object3D, added SetLineWidth and GetLineWidth to change line drawing width
git-svn-id: svn://ultimatepp.org/upp/trunk@14747 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-03 14:54:38 +00:00
xemuth
31832bdf55 SurfaceCtrl_Demo: Adding override of Layout function to prevent of view deformation while resizing the window
git-svn-id: svn://ultimatepp.org/upp/trunk@14746 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-02 17:42:20 +00:00
xemuth
642c0be680 SurfaceCtrl: Add new class named Object3DProvider, it allow to create on load 3D objects
git-svn-id: svn://ultimatepp.org/upp/trunk@14745 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-01 20:36:18 +00:00
xemuth
e3ec6c4b2c SurfaceCtrl: Added axis, show it by pressing A
git-svn-id: svn://ultimatepp.org/upp/trunk@14744 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-01 20:35:23 +00:00
xemuth
0ab57563fb SurfaceCtrl : Changed the rotation sign of X axis while MouseDrag
git-svn-id: svn://ultimatepp.org/upp/trunk@14743 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-01 15:08:36 +00:00
xemuth
0beaf6a704 SurfaceCtrl: Fixing issue with zooming, Fixed orthogonique camera missfunction
git-svn-id: svn://ultimatepp.org/upp/trunk@14742 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-01 15:04:26 +00:00
xemuth
db6199da3c SurfaceCtrl_Demo: removing useless stl file
git-svn-id: svn://ultimatepp.org/upp/trunk@14741 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-31 12:41:17 +00:00
xemuth
b72c4307bc SurfaceCtrl_Demo: change the value of the filename Ctrl
git-svn-id: svn://ultimatepp.org/upp/trunk@14740 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-31 12:39:59 +00:00
xemuth
daa4392f36 SurfaceCtrl_Demo: demo of SurfaceCtrl
git-svn-id: svn://ultimatepp.org/upp/trunk@14738 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-30 22:01:35 +00:00
xemuth
ff86871b8c SurfaceCtrl: first release of SurfaceCtrl package wich is an OpenGL viewer of a Surface Object
git-svn-id: svn://ultimatepp.org/upp/trunk@14736 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-30 21:58:30 +00:00
xemuth
400ba4486a GLCtrl_glad: first release of the GLCtrl using glad to provide latest features of OpenGL
git-svn-id: svn://ultimatepp.org/upp/trunk@14734 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-30 21:55:59 +00:00
xemuth
e682c178a6 glad: First version of the glad package for Ultimate++ (compatible Windows/Linux)
git-svn-id: svn://ultimatepp.org/upp/trunk@14732 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-30 21:50:16 +00:00
koldo
256857ef55 GLCanvas: Added + and - keys handling
git-svn-id: svn://ultimatepp.org/upp/trunk@14692 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-20 16:47:00 +00:00
koldo
3e09ad6d9d Surface: Fix to allow loading quads in stl files
git-svn-id: svn://ultimatepp.org/upp/trunk@14691 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-20 16:32:11 +00:00
koldo
d9768e2b64 GLCanvas_demo: Included more options
git-svn-id: svn://ultimatepp.org/upp/trunk@14679 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-13 08:14:37 +00:00