granzuglia
3cfcfb8248
new rendering system committed
...
WARNING!!! Please, note that the old one contained gl_mesh_attributes_info.h is not yet removed by the SVN repository but it's going to disappear soon!
2016-05-06 02:07:13 +00:00
granzuglia
8d23af8436
- fixed small bug
2015-10-12 02:02:53 +00:00
granzuglia
f30429c603
- fixed "it doesn't update the mesh rendering" bug
2015-10-09 11:35:08 +00:00
granzuglia
4403fb04d1
- updated version of the gl_mesh_attributes_feeder class
...
- class has been cleaned up
- still strange "don't update" bug
2015-10-09 03:05:57 +00:00
Paolo Cignoni
8fab7af2c6
added two default:break to avoid clang severe warnings
2015-10-01 13:08:33 +00:00
Nico Pietroni
3627a7ccfd
minor changes
2015-09-14 12:05:03 +00:00
granzuglia
f8d63a765d
- added tons of missing security controls on the returning values
2015-07-30 11:44:18 +00:00
granzuglia
8869ac344b
- adding last changes to the gl_mesh_attributes_feeder.h file
2015-07-30 11:41:57 +00:00
granzuglia
59dd06f949
- recommitted last working version of the gl_mesh_attributes_feeder.h contained in the git repository
2015-07-30 11:07:29 +00:00
granzuglia
786cd1d850
- added support for contemporary maintaining per face/per vertex bos of the same attribute
2015-07-14 15:15:39 +00:00
granzuglia
4b3b1da6b1
- cleaned up the GLMeshAttributesFeeder class removing the per view internal map
2015-07-13 06:03:27 +00:00
granzuglia
1dc8a067ac
- removed compiler time errors
2015-07-06 02:38:32 +00:00
granzuglia
73ee392537
- fixed parenthesis bug
2015-07-05 02:18:54 +00:00
granzuglia
a974f13258
- completely rewritten GLMeshAttributesFeeder code
2015-07-03 06:02:33 +00:00
granzuglia
8842cea2b3
- cleaned up a little the class function members
...
- switched from private functions to protected ones
2015-06-14 09:39:42 +00:00
granzuglia
69bc2244d1
- removed "glIndexPointer invalid operation" bug
2015-06-10 23:52:50 +00:00
granzuglia
1d9d1e6324
- removed linux compiler errrors
2015-06-10 18:39:23 +00:00
granzuglia
ec348bc0fe
- removed the vertex array object handle from the GLMeshAttributesFeeder class in order to make it opengl context dependent (According to opengl specification VAO cannot be share by different glcontext)
2015-06-10 18:13:28 +00:00
granzuglia
80babdb68e
- removed the GLMeshAttributesFeeder classes from the old trimesh.h file
2015-06-04 00:19:46 +00:00
granzuglia
b5a8f57137
- added gl_mesh_attributes_feeder.h file
2015-06-04 00:18:35 +00:00
granzuglia
62208a4fd2
- fixed "not allocated vertex buffer array" bug
2015-06-03 14:08:22 +00:00
granzuglia
c8004cf4ad
- removed clang compiler errors
2015-06-03 13:45:41 +00:00
granzuglia
a2efddf456
- added new opengl attributes feeder
2015-06-03 13:06:35 +00:00
Nico Pietroni
7a6aa07201
minor changes
2015-04-12 06:08:20 +00:00
granzuglia
1f721c1507
- added small conversion function from DramMode to NormalMode
2014-11-28 13:07:14 +00:00
Paolo Cignoni
fb2ad3f323
Changed a few GL_TYPE -> GL_TYPE_NM to remove ambiguity
2014-11-12 00:22:24 +00:00
Nico Pietroni
0a597d4682
did several changes in the function calls
2014-11-05 19:26:54 +00:00
granzuglia
5c809dc701
- renamed GL_TYPE with GL_TYPE_NM in order to avoid names conflict
2014-08-28 08:59:24 +00:00
granzuglia
8cebfaf679
pick.h:
...
- added support for double scalar type (the changes have been validated by Paolo)
- there is still a bug on the PickClosestFace function.
2014-08-09 10:00:09 +00:00
granzuglia
558fcd784a
trimesh.h:
...
- added ScalarType typedef to GL_TYPE structure
2014-08-09 09:54:43 +00:00
Paolo Cignoni
ffb02815a8
Added a static class GL_TYPE with a memenber SCALAR that returns the correct GLenum (GL_FLOAT or GL_DOUBLE) according to the template type. Needed to make this class works also with double...
2014-08-09 00:06:15 +00:00
Paolo Cignoni
9b6833e521
added templated glLoadMatrix that automatically choose the right OpenGL call according the matrix type
2014-08-06 22:37:55 +00:00
Paolo Cignoni
5e910a0058
Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType
2014-07-01 10:08:30 +00:00
Paolo Cignoni
1491037631
Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType
2014-06-27 15:09:08 +00:00
Paolo Cignoni
4fc33e2e95
Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType
2014-06-19 11:42:23 +00:00
Paolo Cignoni
b605d04d26
Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType
2014-06-19 11:41:55 +00:00
Paolo Cignoni
9f6d5f1d84
Completed the rewriting all the picking stuff. Now the default is NOT using OpenGL. And it is actually faster on all the machines I have tested...
2014-04-08 09:37:44 +00:00
Paolo Cignoni
306c334877
Added PickFaceSW for selecting faces in a rectangular region.
2014-04-07 14:49:07 +00:00
Paolo Cignoni
adfa6dde12
Added PickVertSW to offer an alternative for selection for hw that does not support opengl selection
2014-04-07 12:32:21 +00:00
Nico Pietroni
6071372992
some minor changes
2014-04-07 06:29:56 +00:00
Nico Pietroni
4b15067dd1
minor modifications
2014-02-16 16:37:39 +00:00
Paolo Cignoni
94540d3ca6
float -> GLdouble for better compliance...
2013-12-12 21:09:22 +00:00
Paolo Cignoni
d44d6e6f41
changed int -> size_t to remove warnings
2013-12-12 20:52:07 +00:00
Paolo Cignoni
ecf5bfeeb2
Added a if(!TMId.empty()) before attempting to bind a texture id from an empty vector...
2013-12-06 10:16:59 +00:00
Nico Pietroni
d4eb599a66
resolved 1 warning on cast
2013-11-24 15:08:27 +00:00
granzuglia
6ec773c50a
- added missing upper bound control on vector access by index
2013-10-17 17:22:16 +00:00
granzuglia
6b7ca162ce
- fixed compile time errors with qt 5.0
2013-05-24 16:31:16 +00:00
Paolo Cignoni
b473bebdd3
added another style of rendering to the opengl addon.
...
Imprpved customizability of arrows
2012-12-21 15:34:32 +00:00
Paolo Cignoni
e04a37bf60
removed harmless warnings
2012-12-02 14:57:08 +00:00
Paolo Cignoni
7540b29cf5
Added a few missing const specifiers
2012-11-28 11:23:51 +00:00