dfighter1985
|
e99c1e2785
|
Clear the properties when clearing the scene, and also deactivate the buttons and comboboxes of the material widget.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
b776409cc8
|
More material properties are converted now.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
6ad18a88f5
|
Shouldn't reset the material properties, when editing them.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
37fb2cfcda
|
Started work on converting the old material to new one. Some colors are already out. Also made some modifications to the editor so it can deal with it.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
fb3f069a38
|
Should be able to save QColor based QVariant too.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
c8147b301c
|
Oups. Wrong copypaste of my own code.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
192e9c058a
|
More work on the Variant type. Also modified material editor to use it.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
a113c81db3
|
Added a Variant type ( for holding variable type values ) to NLMISC
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
9306bd71e6
|
Added GUI code for multi/sub-material.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
c2296a2a93
|
It's not a terrible idea to remember the last used directory in the file open dialogs.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
04dcad32e7
|
Added support for adding basic primitives cube, sphere, cylinder, teapot.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
a2ccb7e796
|
The main window takes ownership of ViewPortWidget because of setCentralWidget, so no need to delete it here.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
6d31a50f5d
|
I'll give up, I don't know why wheel events are not passed over to this widget as native events. Fortunately they are not needed, since the Nel style 3d mouse listener doesn't use them.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
42bf13dcfd
|
Implemented shape moving/rotating/zooming. Used parts of Dnk's code from object viewer for setting the camera up properly. NOTE: for some reason the ViewPortWidget doesn't receive native mouse wheel events. An investigation is in order.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
66fb3c1284
|
Shapes can now be loaded and rendered to ViewPortWidget.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
8408ddd552
|
Added ViewPortWidget.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
96eb64ecbe
|
Shader can now be set for the rendering pass, using the shader combo box in MaterialWidget.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
cc86cdd3ef
|
ShaderEditorWidget will now load/save it's content.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
c9cd9cdd3c
|
Shaders will now show up in the shader combobox of MaterialWidget.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
1f2ff5721e
|
Shaders are now loaded/saved/deleted from the disk.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
00b47d6a50
|
Implemented the Shader widget, more or less.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
128c2a3270
|
Changed the Shader widget a little.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
a57bb57c58
|
Missed these.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
a71e4bc3ed
|
Added some Shader related classes. They are not yet complete.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
6d79a2cf6f
|
Use the color editor for color properties. Also don't crash if property type is not supported by the property browser.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
2e6b1a834f
|
We don't want duplicate property names and labels either.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
9294cdc644
|
We don't want duplicate passes.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
ea06a2c656
|
Property values can now be changed.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
9ee24b3b93
|
Property browser will now show the properties.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
ed267a6587
|
Probably we don't want the default first pass to be stuck with us if we're loading a material.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
fa3ad050de
|
It's not a bad idea to always have at least 1 pass.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
d96b7e2d66
|
Added a new class, MaterialSpliter, it holds the Material widget, and the Material properties Qt property tree widget, and acts as a proxy / message router for them.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
c9605dde57
|
Little bit of refactoring.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
832178a83f
|
Adding / Removing properties will now work.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
94fe455a1a
|
Material widget now retrieves the passes when loading a material.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
067676c049
|
Changing passes should now show up on the material widget too!
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
02e61b1e1b
|
Implemented the functionality of the Render Passes widget.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
30f8c9f9e1
|
Added a Nel3D proxy class.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
8c35946010
|
Material properties widget is now linked to the right button.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
85e885f274
|
Worked a bit more on dynamic material. Also started to rework the material and pass widgets since I've realized I messed it up. Eg.: passes should have properties, not the material itself.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
26fab0c173
|
Forgot to add these to CMakeLists.txt
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
32071d9053
|
Added skeleton for CDynMaterial. This class will be the new material.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
40c95e82ff
|
Changed the shader editor widget into a dialog. Implemented some of the button functions of Shader widget.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
abbc09e19c
|
Added ShaderWidget, and restructured the material related menu items.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
d46944f258
|
More GUI skeleton work. Added Shader Editor widget.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
e87e265c42
|
Implemented some of the buttons of the GUI skeleton.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
5aec012c5f
|
Added some more widget skeletons.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
ca52a76e5d
|
Added the skeleton of the OVQT Material Editor plugin.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
8fa5067506
|
Created my GSOC2013 branch.
--HG--
branch : gsoc2013-dfighter
|
12 years ago |
dfighter1985
|
81df0aae27
|
Merged client_config_qt.
|
12 years ago |