-
Notifications
You must be signed in to change notification settings - Fork 78
[ZH] Remove the unused WWShade library #596
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,6 @@ target_include_directories(z_wwcommon INTERFACE | |
WWMath | ||
WWSaveLoad | ||
Wwutil | ||
wwshade | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What would a WWShade model look like? Does the WWShade code work in principle? Would it be possible to revive this feature instead of deleting it? Would it be worth it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can try building W3DView with USE_WWSHADE on and open these w3ds https://www.moddb.com/games/cc-renegade/addons/cc-renegade-2-model-pack There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I agree with that, this library although it seems like it has no use, it's quite good starter step for managing the pixel shader 2.0 and 3.0 of dx 9 or later version There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Launching w3dview with USE_WWSHADE crashes:
It fails with call to The crashes can be avoided. Then all things in The Ren2 models do open, but I do not know what to look for in regards to wwshade. Considering it fails to initialize shaders, perhaps it will not work anyway. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So, do we remove WWShade, or not? Any opinions? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tried to run it. Exception states, Current models don't have shading and if there are no tools available to add shading to W3D models, then everything we want to with regards to shading needs to be built up from the ground anyways. From that perspective, I think WWShade is more a liability then an asset and should be removed, including any reference to it. Worst case when it turns out WWShade is the way forward, we can restore it and take the extra work for granted. This PR is clear enough to understand what has been removed and can be easily reverted. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This code is still for DX8 |
||
) | ||
|
||
add_subdirectory(WWAudio) | ||
|
@@ -34,7 +33,6 @@ add_subdirectory(Wwutil) | |
add_subdirectory(WWSaveLoad) | ||
add_subdirectory(WW3D2) | ||
add_subdirectory(WWDownload) | ||
add_subdirectory(wwshade) | ||
|
||
# Helpful interface to bundle the ww modules together. | ||
add_library(z_wwvegas INTERFACE) | ||
|
@@ -48,7 +46,6 @@ target_include_directories(z_wwvegas INTERFACE | |
WWMath | ||
WWSaveLoad | ||
Wwutil | ||
wwshade | ||
) | ||
|
||
target_link_libraries(z_wwvegas INTERFACE | ||
|
@@ -58,6 +55,5 @@ target_link_libraries(z_wwvegas INTERFACE | |
z_wwlib | ||
z_wwmath | ||
z_wwsaveload | ||
z_wwshade | ||
z_wwutil | ||
) |
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.