Commit graph

20 commits

Author SHA1 Message Date
xemuth
a0cee6d856 SurfaceCtrl: working demo
git-svn-id: svn://ultimatepp.org/upp/trunk@14881 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-22 17:17:23 +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
f5978ad81d SurfaceCtrl: Obj file can now be loaded, however it's still buggy, material and texture have not been introduced yet
git-svn-id: svn://ultimatepp.org/upp/trunk@14866 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-22 01:54:16 +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
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
83b77795d5 SurfaceCtrl: Added a getSurface() function
git-svn-id: svn://ultimatepp.org/upp/trunk@14858 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-21 15:06:59 +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
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
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
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
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
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
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
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