Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Light paths overlay #2748

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9a6a381
new tabs and light path layer
fu5ha May 30, 2019
9388fe3
explain lightpathstream
oktomus Mar 22, 2020
7414b98
Reorder files in cmake
oktomus Mar 22, 2020
80efbd7
don't use reference to return int in create_shader_program
oktomus Mar 22, 2020
1543c81
consts where needed
oktomus Mar 22, 2020
7fe56be
Don't expose to public unused methods
oktomus Mar 22, 2020
a4ffa91
Update opengl shader version number
oktomus Mar 22, 2020
8347c10
Format shaders code correctly
oktomus Mar 22, 2020
41c0bb3
Some renaming
oktomus Mar 22, 2020
38ae1f6
Remove unused method
oktomus Mar 22, 2020
50b433f
no more key search in tabs
oktomus Mar 22, 2020
17143c4
format glscene layer correctly
oktomus Mar 22, 2020
9803a97
remove unused paramemter application_settings
oktomus Mar 22, 2020
8058883
Pass the project explorer only to the final render tab
oktomus Mar 22, 2020
a13b02b
Pass the rendering manager only to the final render tab
oktomus Mar 22, 2020
6c86573
Don't store OCIO config in the main viewport tab class
oktomus Mar 22, 2020
e163d7f
Cleanup includes
oktomus Mar 22, 2020
dde46f2
give layer to constructor
oktomus Mar 27, 2020
f2547bd
remove unused method
oktomus Mar 27, 2020
54b0e07
put backface culling slot in the openglviewporttab
oktomus Mar 27, 2020
14fe8a7
put the backface culling toggle slot in the opengl tab
oktomus Mar 27, 2020
47b5293
Place the transform combo slot in the final viewport tab
oktomus Mar 27, 2020
910a8de
Format render layer
oktomus Mar 27, 2020
d987c40
Format glscenelayer
oktomus Mar 27, 2020
022e30f
Minor improvements
oktomus Mar 27, 2020
5a186fa
minor
oktomus Mar 27, 2020
1d92be6
don't print display light paths when not displaying
oktomus Mar 27, 2020
cd6ca74
improve log
oktomus Mar 29, 2020
f4154b7
cleanup
oktomus Mar 29, 2020
16856c7
Recreate viewports when resolution change
oktomus Mar 29, 2020
dcc40d2
Draw when moving camera
oktomus Mar 29, 2020
5d0627a
Clear light paths when clearing frame ans changing resolution
oktomus Mar 29, 2020
f3a5ef0
Use a dirty flag to regenerate the final render widget OpenGL texture
oktomus Mar 29, 2020
4aa76b4
Initialize bool
oktomus Mar 31, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 22 additions & 10 deletions src/appleseed.studio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,22 @@ source_group ("mainwindow\\pythonconsole" FILES
set (mainwindow_rendering_sources
mainwindow/rendering/cameracontroller.cpp
mainwindow/rendering/cameracontroller.h
mainwindow/rendering/finalrenderviewporttab.cpp
mainwindow/rendering/finalrenderviewporttab.h
mainwindow/rendering/glscenelayer.cpp
mainwindow/rendering/glscenelayer.h
mainwindow/rendering/lightpathslayer.cpp
mainwindow/rendering/lightpathslayer.h
mainwindow/rendering/lightpathsmanager.cpp
mainwindow/rendering/lightpathsmanager.h
mainwindow/rendering/lightpathspickinghandler.cpp
mainwindow/rendering/lightpathspickinghandler.h
mainwindow/rendering/lightpathstab.cpp
mainwindow/rendering/lightpathstab.h
mainwindow/rendering/lightpathswidget.cpp
mainwindow/rendering/lightpathswidget.h
mainwindow/rendering/lightpathsviewporttoolbar.cpp
mainwindow/rendering/lightpathsviewporttoolbar.h
mainwindow/rendering/materialdrophandler.cpp
mainwindow/rendering/materialdrophandler.h
mainwindow/rendering/openglviewporttab.cpp
mainwindow/rendering/openglviewporttab.h
mainwindow/rendering/pixelcolortracker.cpp
mainwindow/rendering/pixelcolortracker.h
mainwindow/rendering/pixelinspectorhandler.cpp
Expand All @@ -272,14 +280,16 @@ set (mainwindow_rendering_sources
mainwindow/rendering/renderclipboardhandler.h
mainwindow/rendering/renderingmanager.cpp
mainwindow/rendering/renderingmanager.h
mainwindow/rendering/renderregionhandler.cpp
mainwindow/rendering/renderregionhandler.h
mainwindow/rendering/rendertab.cpp
mainwindow/rendering/rendertab.h
mainwindow/rendering/renderwidget.cpp
mainwindow/rendering/renderwidget.h
mainwindow/rendering/renderlayer.cpp
mainwindow/rendering/renderlayer.h
mainwindow/rendering/scenepickinghandler.cpp
mainwindow/rendering/scenepickinghandler.h
mainwindow/rendering/viewportcanvas.cpp
mainwindow/rendering/viewportcanvas.h
mainwindow/rendering/viewportregionselectionhandler.cpp
mainwindow/rendering/viewportregionselectionhandler.h
mainwindow/rendering/viewporttab.cpp
mainwindow/rendering/viewporttab.h
)
list (APPEND appleseed.studio_sources
${mainwindow_rendering_sources}
Expand Down Expand Up @@ -343,6 +353,8 @@ source_group ("python\\studio" FILES
)

set (utility_sources
utility/gl.cpp
utility/gl.h
utility/inputwidgetproxies.cpp
utility/inputwidgetproxies.h
utility/settingskeys.h
Expand Down
2 changes: 1 addition & 1 deletion src/appleseed.studio/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ int main(int argc, char* argv[])
// Set default surface format before creating application instance. This is
// required on macOS in order to use an OpenGL Core profile context.
QSurfaceFormat default_format;
default_format.setVersion(3, 3);
default_format.setVersion(4, 2);
default_format.setProfile(QSurfaceFormat::CoreProfile);
QSurfaceFormat::setDefaultFormat(default_format);

Expand Down
Loading