1861 Commits

Author SHA1 Message Date
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
Paolo Cignoni cignoni
56cc5654a0 cleaned up a little and added option for not making a bundle on the mac 2008-02-10 15:24:44 +00:00
Paolo Cignoni cignoni
c414d53124 plist to be added into the macos bundle to allow the direct loading between finder and meshlab 2008-02-10 15:23:48 +00:00
Paolo Cignoni cignoni
8ea295d8a5 slightly revised the way of parameter passing 2008-02-10 15:22:57 +00:00
Paolo Cignoni cignoni
3da712c03b forgotten a inspectButton reference 2008-02-10 09:48:03 +00:00
Paolo Cignoni cignoni
18eaf8a711 covertInTGATextures -> convertInTGATextures 2008-02-10 09:40:49 +00:00
Paolo Cignoni cignoni
06ab451592 changed fopen_s into fopen to allow again compiling with non microsfot compilers 2008-02-10 09:39:38 +00:00
Paolo Cignoni cignoni
6f504602ea added a missing clear border flag in remove non manifold 2008-02-10 09:32:39 +00:00
Paolo Cignoni cignoni
cc1813fab1 now the currently selected TfHandle is drawn in different way and is visible to the user 2008-02-09 18:35:44 +00:00
Paolo Cignoni cignoni
91d2e00614 - Introducing rendering to multiple render targets. In order to allow more vertices to be processed by the hardware, MRTs became a necessity. In this way we can multiply by 4 or even by 8 (GF 8xxx +) the maximum number of vertices processed.
- Texture size for vertices and normals are choosen automatically, picking the smallest one possible in order to greatly speeding up the calculations.
- Max textures size is now 2048 for a couple of reasons..
- Small bugs fixed
2008-02-09 18:04:34 +00:00
Paolo Cignoni cignoni
41df01263f - Introducing rendering to multiple render targets. In order to allow more vertices to be processed by the hardware, MRTs became a necessity. In this way we can multiply by 4 or even by 8 (GF 8xxx +) the maximum number of vertices processed.
- Texture size for vertices and normals are choosen automatically, picking the smallest one possible in order to greatly speeding up the calculations.
- Max textures size is now 2048 for a couple of reasons..
- Small bugs fixed
2008-02-09 17:55:19 +00:00
Paolo Cignoni cignoni
a56d55418b main change: FIXED BUG ABOUT TFHANDLES REPRESENTATION WHEN THY'RE DRAGGED BY USER!! :-)
transferfunction.h\cpp:
- added updateKeysOrder method to TfChannel to restore the correct order among TF_KEYs when one of them is changed (they've to be sorted by x value)

tfhandle.h\cpp:
- now the TfHandle gets a reference to the joined TF_KEY
- updated constructor definition
- updated methods to get its relative position in the scene
- updated method to refresh the correct state of keys in the channel belonging to TfHandle
- other minor changes

qualitymapperdialog.h\cpp:
- minor changes to align itself to above changes (main change: updated method to keep order among TfHandles)
- fixed a couple of bugs about loading and saving external CSV (TF) files
- other minor changes and updates (some optimizations and comments added)
2008-02-09 17:32:56 +00:00
Paolo Cignoni cignoni
f7427367bd Updated gammaCorrection painting 2008-02-09 13:42:06 +00:00
Paolo Cignoni cignoni
59dde3057d transferfunction.h\cpp:
- added some assert checks to debug reasons

tfhandle.cpp:
- fixed bug about update of key value and color band generation (now working fine!)
2008-02-09 11:48:25 +00:00
Paolo Cignoni cignoni
d0624e8e91 qualitymapperdialog.h\cpp\ui - tfhandle.h\cpp - transferfunction.cpp:
- some changes to spinboxes representing the coords of the current selected point of the transfer function
- added methods to change TF from spinboxes and viceversa
- other minor changes
2008-02-08 21:08:22 +00:00
Gianpaolo Palma gianpaolopalma
d43938a94b Added methods to reduce loading time of X3D scene from the file 2008-02-08 17:04:32 +00:00
Gianpaolo Palma gianpaolopalma
3b96eda31f Improved memory management 2008-02-08 17:02:09 +00:00
Gianpaolo Palma gianpaolopalma
747b786172 New deconstructor in AdditionInfoX3D class 2008-02-08 17:00:21 +00:00
Guido Ranzuglia granzuglia
9b2a012774 textures conversion in tga both for u3d and idtf format 2008-02-08 16:36:11 +00:00
Paolo Cignoni cignoni
2ea7f9008c qulitymapperdialog.h\cpp:
- fixed a crashing bug about TF file save in a prticular case
- updated methods to manage the TFHandles movements
- changed the type of TfHanldes container
- other minor changes

TfHandles.h\cpp:
- updated method to manage the TFHandles movements
- some other minor changes

transferfunction.h\cpp:
- updated method to manage the TFHandles movements
- some other minor changes
2008-02-08 12:15:57 +00:00
Paolo Cignoni cignoni
e82c406fd8 - Implemented preview button
- Converted QDialog in QDockWidget
- Added slider for color brightness
2008-02-08 12:04:09 +00:00
Paolo Cignoni cignoni
13718686c0 Cleaned up comment and logging 2008-02-07 09:43:04 +00:00
Paolo Cignoni cignoni
cd800a0f7e added recalc current arc 2008-02-07 09:41:42 +00:00
Paolo Cignoni cignoni
eebdc0fb8e Big Bug correction changed a M=M*out vs M=out*M in the Align with Adj function 2008-02-07 09:40:01 +00:00
Paolo Cignoni cignoni
5569dfa9c1 added *inl 2008-02-07 09:38:15 +00:00
Paolo Cignoni cignoni
93c5f076a0 repaint of log and after various update. 2008-02-07 09:37:47 +00:00
Gianpaolo Palma gianpaolopalma
0c94c113aa Added comments 2008-02-06 16:52:58 +00:00
Paolo Cignoni cignoni
906a879715 minor changes and bug fixes 2008-02-06 15:13:52 +00:00