Commit graph

74 commits

Author SHA1 Message Date
xemuth
2fa15ba0d9 SurfaceCtrl: enum have been swap to enum class
git-svn-id: svn://ultimatepp.org/upp/trunk@15112 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-20 13:54:12 +00:00
xemuth
8c79df0056 SurfaceCtrl: Added cross cursor
git-svn-id: svn://ultimatepp.org/upp/trunk@15074 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-18 20:56:47 +00:00
xemuth
d8c0650981 SurfaceCtrl: Added licenses file
git-svn-id: svn://ultimatepp.org/upp/trunk@15072 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-18 20:39:52 +00:00
xemuth
3aff8e55ba SurfaceCtrl: Updated MouseEvent / cursor update
git-svn-id: svn://ultimatepp.org/upp/trunk@15059 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-17 11:13:28 +00:00
xemuth
d7381809fc SurfaceCtrl: Added ViewFromAxe function, completed some Menubar function
git-svn-id: svn://ultimatepp.org/upp/trunk@15056 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-16 16:50:39 +00:00
xemuth
a871dcce09 SurfaceCtrl: Added Context menu & many mouse icon. However it is not fully finished yet
git-svn-id: svn://ultimatepp.org/upp/trunk@15053 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-16 15:19:46 +00:00
xemuth
b297ddf64a SurfaceCtrl: Removed dead code, and some warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@15051 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-16 13:33:43 +00:00
xemuth
5659b78136 SurfaceCtrl: Added bool to Use noDepthAxis on axis
git-svn-id: svn://ultimatepp.org/upp/trunk@15047 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-15 14:15:59 +00:00
xemuth
0b66a6f7b9 SurfaceCtrl: ZoomToFit no always fit to positif axis
git-svn-id: svn://ultimatepp.org/upp/trunk@15041 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-15 12:55:40 +00:00
xemuth
ac3410a229 SurfaceCtrl: Removed another warning case
git-svn-id: svn://ultimatepp.org/upp/trunk@15040 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-14 15:20:35 +00:00
xemuth
8f24f1c69c SurfaceCtrl: Fixed many Warnings, Thanks to Koldo !
git-svn-id: svn://ultimatepp.org/upp/trunk@15039 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-14 14:13:38 +00:00
xemuth
a3cbd0a815 SurfaceCtrl: Added ZoomToFit and LookAt function to the MagicCamera
git-svn-id: svn://ultimatepp.org/upp/trunk@15028 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-12 23:00:17 +00:00
xemuth
eb93dc9750 SurfaceCtrl: removed flagSKYBOX
git-svn-id: svn://ultimatepp.org/upp/trunk@15008 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-10 14:36:06 +00:00
xemuth
fbf7e5a1c1 SurfaceCtrl: Updated Skybox, removed SKYBOX flag, Readding default value of Object3D
git-svn-id: svn://ultimatepp.org/upp/trunk@14977 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-03 14:29:54 +00:00
xemuth
3e3ed1754b SurfaceCtrl: Big update in architecture of Object3D. Not yet finished but it work atm
git-svn-id: svn://ultimatepp.org/upp/trunk@14958 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-01 15:29:27 +00:00
xemuth
94408a08cc SurfaceCtrl: Default skybox can now be implement by adding SKYBOX flag, Skybox can be loaded by hand using skybox.Init(Image....) or skybox.Init(Vector<Image> ...)
git-svn-id: svn://ultimatepp.org/upp/trunk@14956 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-01 14:26:33 +00:00
xemuth
8065c6e059 SurfaceCtrl: Updated to allow compatibility with GLCtrl and not GLCtrl_glad
git-svn-id: svn://ultimatepp.org/upp/trunk@14941 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-30 22:37:27 +00:00
xemuth
ac8b40743b SurfaceCtrl: Fixed a texturing bug
git-svn-id: svn://ultimatepp.org/upp/trunk@14934 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-29 22:45:02 +00:00
xemuth
a73f9c4e83 SurfaceCtrl: added a Definition.h file to perform lesss cahotic include
git-svn-id: svn://ultimatepp.org/upp/trunk@14933 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-29 19:04:30 +00:00
xemuth
7765bfed6a SurfaceCtrl: Improved MagicCamera by modifying focus behaviour
git-svn-id: svn://ultimatepp.org/upp/trunk@14929 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-29 14:18:55 +00:00
xemuth
0c40c6ef9a SurfaceCtrl: Update of GLresize function
git-svn-id: svn://ultimatepp.org/upp/trunk@14926 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-29 02:44:07 +00:00
xemuth
8b92e0dbf3 SurfaceCtrl: added a fix to parallel view
git-svn-id: svn://ultimatepp.org/upp/trunk@14918 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-27 14:51:50 +00:00
xemuth
906b89b2ae SurfaceCtrl: Added skybox, it now show it by default
git-svn-id: svn://ultimatepp.org/upp/trunk@14900 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-25 13:26:30 +00:00
xemuth
8d9e748912 SurfaceCtrl: fixed some bug
git-svn-id: svn://ultimatepp.org/upp/trunk@14888 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-23 22:39:14 +00:00
xemuth
b8363ba9af SurfaceCtrl: Now mesh can get textured, see SurfaceCtrl_demo
git-svn-id: svn://ultimatepp.org/upp/trunk@14886 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-23 20:48:32 +00:00
xemuth
fcc81ec62e SurfaceCtrl: Now using assimp to perform model loading, It work well. Note that you need to use USEMALLOC flag :(
git-svn-id: svn://ultimatepp.org/upp/trunk@14876 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-22 15:56:20 +00:00
xemuth
b19d802ec4 SurfaceCtrl: Added Mesh class, Now object3D carry Mesh ( it will allow loading of complexe obj file)
git-svn-id: svn://ultimatepp.org/upp/trunk@14865 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-22 01:33:49 +00:00
xemuth
2a1396969d SurfaceCtrl: Smale function name change (SetDefaultShader) instead of (AddDefaultShader)
git-svn-id: svn://ultimatepp.org/upp/trunk@14861 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-21 16:31:17 +00:00
xemuth
dcef957b63 SurfaceCtrl: Updated Shader, Made everythings easier, allowing object3D to carry program, Have clean many useless shader
git-svn-id: svn://ultimatepp.org/upp/trunk@14860 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-21 16:17:45 +00:00
xemuth
dc17fbd033 SurfaceCtrl: Removed many constructor of Object3D, Added a move semantic to Object3D, field has been prepared to receive texture...
git-svn-id: svn://ultimatepp.org/upp/trunk@14857 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-21 14:52:33 +00:00
xemuth
429bf65b43 SurfaceCtrl: Big update, new Stl Loader (allowing to load stl without using surface)
git-svn-id: svn://ultimatepp.org/upp/trunk@14854 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-21 02:00:08 +00:00
xemuth
f8ca63a90f SurfaceCtrl: Bounding box generation have been moved to Object3D instead of using the Surface Env
git-svn-id: svn://ultimatepp.org/upp/trunk@14851 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-20 21:06:21 +00:00
xemuth
6aeb4510d6 SurfaceCtrl: Readded Shift mouse move
git-svn-id: svn://ultimatepp.org/upp/trunk@14850 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-20 20:18:28 +00:00
xemuth
50af63544d SurfaceCtrl: Major Update, First re factoring of code, not yet finished but in good progress.
git-svn-id: svn://ultimatepp.org/upp/trunk@14849 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-20 20:05:14 +00:00
xemuth
9446534e4a SurfaceCtrl: Updated Transform object (fixing a bug with rotation) updated Object3DProvider (bug with axis)
git-svn-id: svn://ultimatepp.org/upp/trunk@14848 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-20 13:50:33 +00:00
xemuth
c870441ee1 SurfaceCtrl: fix first rotation issue
git-svn-id: svn://ultimatepp.org/upp/trunk@14840 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-19 18:01:43 +00:00
xemuth
28d12915a0 SurfaceCtrl: Adding Timer (delta / ellapsed Time) + FastMode (enable perma refreshing or when action refreshing) + Auto resize
git-svn-id: svn://ultimatepp.org/upp/trunk@14839 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-19 17:19:28 +00:00
xemuth
697b9d1143 SurfaceCtrl: Added option to delete object
git-svn-id: svn://ultimatepp.org/upp/trunk@14830 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-18 14:42:46 +00:00
xemuth
34c28c34a5 SurfaceCtrl: added pointLight implementation, placed it at origin by now (temporary)
git-svn-id: svn://ultimatepp.org/upp/trunk@14826 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-15 19:21:43 +00:00
xemuth
029f616df0 SurfaceCtrl: Added Zoom on Object feature, it will now zoom on object when cursor is on
git-svn-id: svn://ultimatepp.org/upp/trunk@14824 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-15 16:02:17 +00:00
xemuth
c28765d3ae SurfaceCtrl: improved click select, added multi selection via shift + click
git-svn-id: svn://ultimatepp.org/upp/trunk@14823 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-15 15:25:14 +00:00
xemuth
02cb43b94f SurfaceCtrl: Adding click and drag
git-svn-id: svn://ultimatepp.org/upp/trunk@14822 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-14 15:26:34 +00:00
xemuth
608dec743f SurfaceCtrl: Changed Vector to Array
git-svn-id: svn://ultimatepp.org/upp/trunk@14815 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-13 15:43:48 +00:00
xemuth
e4e8db586a SurfaceCtrl: quick update
git-svn-id: svn://ultimatepp.org/upp/trunk@14813 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-13 15:03:51 +00:00
xemuth
81dce2ce48 SurfaceCtrl: added multiple Selection control, allowing to have multiple object on screen
git-svn-id: svn://ultimatepp.org/upp/trunk@14810 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-13 14:41:24 +00:00
xemuth
4c20f9306a SurfaceCtrl: updated magic camera, now the camera will attempt to zome on focus if user is too far from it, focus can be changed by clicking object to focus, when pressing escape, focus is reset to 0 0 0
git-svn-id: svn://ultimatepp.org/upp/trunk@14806 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-13 01:51:07 +00:00
xemuth
8484b533e0 SurfaceCtrl: Updating camera and BoundingBox
git-svn-id: svn://ultimatepp.org/upp/trunk@14805 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-13 01:22:22 +00:00
xemuth
bc45bec0c0 SurfaceCtrl: Magic camera first commit
git-svn-id: svn://ultimatepp.org/upp/trunk@14802 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-12 16:45:59 +00:00
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
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