1888 Commits

Author SHA1 Message Date
Paolo Cignoni cignoni
29a27053cd qualitymapperdialog.cpp \ util.cpp:
- updated updateXQualityLabel and relative2QualityValf methods
- added call to updateXQualityLabel at xSpinbox value change
2008-02-18 14:49:14 +00:00
Luca Benedetti benedetti
57192facc9 updated following new specs (still got to clean up) 2008-02-17 20:57:33 +00:00
Paolo Cignoni cignoni
d03e5f019a const_types.h:
- added definition of EQUALIZER_INFO struct

util.h:
- some minor changes

transferfunction.h\cpp:
- extended saveColorBand (now the method takes as input an EQUALIZER_INFO struct and saves on output file equalzer informations too)

qualitymapperdialog.h\cpp:
- updated callback method for save of current TF (added equalizer info)
- updated callback methos for load of TF (stub yet)
- added definition and call to method that shows the current x-mapped quality of currently selected TF handle
2008-02-17 19:16:07 +00:00
Paolo Cignoni cignoni
7ffba43963 - Corrected bug in equalizer handles/spinboxes
- implemented "reset histogram" button
2008-02-17 17:20:35 +00:00
Paolo Cignoni cignoni
234e35759d Deleted "cancel" button 2008-02-17 17:19:14 +00:00
Paolo Cignoni cignoni
c5774254ed qualitymapper.cpp:
- fixed stack-overflow bug in endEdit method (qualitymapper) (added disconnect qualitymapperialgog before calling its destructor)
- other minor changes

qualitymapperdialog.cpp:
- fixed bug in clearItem about EqHandles remove and destroy.
- other minor changes
2008-02-17 12:08:31 +00:00
Luca Benedetti benedetti
59def3ce42 first version 2008-02-16 14:29:35 +00:00
Luca Benedetti benedetti
c1d64f4ff0 first non dummy version 2008-02-16 14:21:05 +00:00
Luca Benedetti benedetti
54f37b2189 rewritten from scratch after sf/wrap/gui/rubberband creation 2008-02-16 13:09:12 +00:00
Paolo Cignoni cignoni
22926772c9 first commit, start to work selecting face and check face angle. Problem with face and vertex color paint 2008-02-16 00:12:42 +00:00
Paolo Cignoni cignoni
de785c4760 transferfunction.h\cpp:
- removed junction point field from TF_KEY struct-
- minor changes to adapt to the change above

qualitymapperdialog.h\cpp:
- added call to endEdit method when dialog is closed
- added TFHandle creation by doubleclick on empty areas (using invisible graphics item)
- other minor changes

util.cpp:
- minor change
2008-02-15 18:46:19 +00:00
Paolo Cignoni cignoni
f19095d1aa added method relative2QualityValf 2008-02-15 17:08:08 +00:00
Paolo Cignoni cignoni
47b679c962 Version 1.1.0 2008-02-15 15:59:20 +00:00
Paolo Cignoni cignoni
d1167df034 some changes to the distance function 2008-02-15 14:34:33 +00:00
Paolo Cignoni cignoni
af460a9358 - Avoided unnecessary redraw in equalizerhistogram 2008-02-15 12:11:29 +00:00
Paolo Cignoni cignoni
d34f577fc7 - '>> 'changed into '> >'
- Used HasPerFaceSomething(M) instead of M.HasPerFaceSomething() that is deprecated.
- many unsigned warning removed
- added const to some functions parameters (FindDEF, FindAndReplaceUSE ...)
2008-02-15 08:27:44 +00:00
Paolo Cignoni cignoni
41815d2d6e removed unused param from virtual empty functions 2008-02-15 08:22:24 +00:00
Gianpaolo Palma gianpaolopalma
445ecbe8b7 Added control to check if face is deleted 2008-02-15 01:09:06 +00:00
Gianpaolo Palma gianpaolopalma
736ab29eea Bug fixed in the texture index assignment 2008-02-15 01:07:36 +00:00
Paolo Cignoni cignoni
b98be4794e qualitymapper.ui:
- removed ADD and REMOVE handle buttons. Replaced with xQualityPosition label (just graphics change, not implemented yet)

qualitymapper.h\cpp\ui:
- added mouseDoubleClickevent callback to manage double click for QualityMapperDialog. Everything compiles, but callback doesn't work. Suspect bubbling instead of tunneling. If so, other simpler solutions needed
2008-02-14 16:15:49 +00:00
Paolo Cignoni cignoni
6ce4b8210b removed add and remove handle and added labels to represent quality mapped in the transfer function 2008-02-14 14:38:50 +00:00
Gianpaolo Palma gianpaolopalma
37ac773245 Code refactoring to reduce time to save the mesh in X3D files 2008-02-14 13:09:53 +00:00
Gianpaolo Palma gianpaolopalma
cd316ebecb Changed updating progress bar in the method LoadIndexedFaceSet
Bug fixed in the method LoadMaskByDom
2008-02-14 13:05:21 +00:00
Gianpaolo Palma gianpaolopalma
d0555b6789 Changed assignment of defaultBits in the method GetExportMaskCapability 2008-02-14 13:00:22 +00:00
Paolo Cignoni cignoni
bf651f49c7 *** empty log message *** 2008-02-14 07:41:30 +00:00
Paolo Cignoni cignoni
b533b4202e initial signal to enable trackball 2008-02-13 15:34:50 +00:00
Paolo Cignoni cignoni
41856816fd reformatted and renamed the plugin to the standard 2008-02-13 15:34:24 +00:00
Gianpaolo Palma gianpaolopalma
b2eb6d3d87 First working version 2008-02-13 15:25:08 +00:00
Gianpaolo Palma gianpaolopalma
50f9c3c45a Added error code
Added vector to manage the assignment of texture index
2008-02-13 15:23:56 +00:00
Gianpaolo Palma gianpaolopalma
097fd04fb3 Updating mesh mask accoding to mesh data supported 2008-02-13 15:18:20 +00:00
Gianpaolo Palma gianpaolopalma
f309ec6195 Bug fixed in the attribute parsing
Bug fixed in the assignment of texture index
Added support to attribute ccw
2008-02-13 15:11:03 +00:00
Paolo Cignoni cignoni
4959f5761a fixed minor bug about border TfHandles move 2008-02-13 12:22:07 +00:00
Paolo Cignoni cignoni
dfabb80358 transferfunction.h\cpp:
- updated isHead and isTail methods for TfChannel class

qualitymappredialog.h\cpp:
- enhanced TfHandle move management
- fixed bug about crash when moving border TfHandles and changed newTfHandle creation policy
- some other minor changes
2008-02-13 10:44:15 +00:00
Paolo Cignoni cignoni
b45054cdb9 - Added equalizer histogram stretching when eqhandles are dragged outside the chart
- Separed eqhandles creation and connection from equalizer histogram drawing
2008-02-12 23:57:59 +00:00
Paolo Cignoni cignoni
a3d58783e4 removed mask bug and added scaling of maps 2008-02-12 21:59:06 +00:00
Paolo Cignoni cignoni
d7263297f5 i declaration out of for if you want to use it outside... 2008-02-12 20:25:44 +00:00
Paolo Cignoni cignoni
873aed8632 - Disabled the FP16 path since needs rewriting good part of the code: need time!
- GPU version works only with FP32 blending capable hardware: aka Shader Model 4.0!
- CPU version should work anyway
2008-02-12 14:39:56 +00:00
Paolo Cignoni cignoni
2a6905b252 correct drawing selection bug 2008-02-12 14:23:11 +00:00
Paolo Cignoni cignoni
1a1fca3f74 changed the function getParameter into the more meaningful getCustomParameter and added the freeze option 2008-02-12 14:21:39 +00:00
Paolo Cignoni cignoni
2a5243e002 changed the function getParameter into the more meaningful getCustomParameter 2008-02-12 14:20:33 +00:00
Paolo Cignoni cignoni
04c4bee043 some curvature fixes 2008-02-12 14:08:59 +00:00
Paolo Cignoni cignoni
740a54ce62 added also a sample of a absperc parameter 2008-02-12 13:48:44 +00:00
Paolo Cignoni cignoni
639b638429 Minor modifications 2008-02-12 11:49:16 +00:00
Paolo Cignoni cignoni
baf73a7702 tfhandle.h\cpp:
- added method to manage double click on TfHandle. When user double-clicks on TfHandle, it's deleted
- other minor changes

transferfunction.h\cpp:
.- modified an overloaded version of removeKey method (TfChannel)
- added flag methods to know if a certain key is the head (its x=0) or the tail (x=1) of the key list (TfChannel)
- other minor changes

qualitympperdialog.h\cpp\ui:
- added callback methods and support to add and remove TfHandles from TF (by mouse or by gui buttons)
2008-02-11 19:25:42 +00:00
Paolo Cignoni cignoni
2bbf724def - Small changes for improved ATI support 2008-02-11 18:55:21 +00:00
Paolo Cignoni cignoni
a5ad530ba3 - Improved portability on systems with less powerful hardware
- Added a fallback to FP16 blending for hardware that doesn't support it on FP32 render targets.
2008-02-11 18:09:50 +00:00
Gianpaolo Palma gianpaolopalma
3407d58c49 Big change.
Inserted changes to reduce the loading time of X3D file
2008-02-11 09:31:13 +00:00
Gianpaolo Palma gianpaolopalma
e19027871a return error code if file doesn't contain geometry 2008-02-11 09:28:33 +00:00
Gianpaolo Palma gianpaolopalma
d127901b43 Changed error code 2008-02-11 09:23:03 +00:00
Paolo Cignoni cignoni
93ec3b046c first version 2008-02-11 08:46:55 +00:00