- Notifications
You must be signed in to change notification settings - Fork67
Make STL loader/writer and PLY writer work again#901
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
YasInvolved wants to merge36 commits intomasterChoose a base branch fromyas_mesh_loaders
base:master
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Open
Changes fromall commits
Commits
Show all changes
36 commits Select commitHold shift + click to select a range
c19ff9e enable STL loader and writer in CMake
YasInvolved549ada6 enable PLY writer too
YasInvolved5e6316d comment out initialize function for further inspection, implement mis…
YasInvolvedf522af5 move SContext to .cpp and implement utility functions that used it in…
YasInvolved0f67f88 Merge branch 'master' of github.com:Devsh-Graphics-Programming/Nabla …
YasInvolved80ad67f default off PLY and STL writers for now, fix CSTLMeshLoader initializ…
YasInvolved84279e5 Merge branch 'master' of github.com:Devsh-Graphics-Programming/Nabla …
YasInvolved1860005 Merge branch 'master' of github.com:Devsh-Graphics-Programming/Nabla …
YasInvolved554897d use types from hlsl namespace
YasInvolveda8728a8 position and normal views
YasInvolved75576af put missing TODO
YasInvolvedd4e6745 make STL loader work
YasInvolvedc227b70 get colors working?
YasInvolved5eef9a9 calculate normal if not present
YasInvolved45ed81d remove lzma files pushed by accident
YasInvolvedb3bf45d enable STL loader
YasInvolvedc3140ea disable some old code to make STL writer compile
YasInvolvedf670252 STL binary data writer
YasInvolvedd3a01ae delete implemented stuff from disabled code, modify todos
YasInvolved11d315c detect IndexType
YasInvolved52a669d reuse success variable instead of creating a new one all the time
YasInvolved252c92c rework ascii writer code, add type aliases to save some typing
YasInvolvedfeabf3a use different examples branch, success variable can't actually be reused
YasInvolvedda2fe3e fix NaN normals
YasInvolved7b9e906 comment vertex color code instead of disabling it
YasInvolved9602989 stop reusing success variable across the whole file, update header te…
YasInvolvedf59ea88 don't assume index type in binary writer, fix mistake
YasInvolvede890923 reenable PLY writer, correct function implementations
YasInvolvede73b0bd get it compiling, write a basic ply header
YasInvolvede608929 correct mistake in normal writing
YasInvolved5576403 make ply loader recognize uint and uint32 types
YasInvolved1f1fa06 write ply header
YasInvolved1e43823 basic rewrite of ply text content writing function
YasInvolved9b3ff77 ensure that StartPointer <= LineEndPointer in the assertion before ca…
YasInvolvedbc9b371 make readVertex correctly process the vertices in ascii format
YasInvolvedf3bf69e Merge branch 'master' of github.com:Devsh-Graphics-Programming/Nabla …
YasInvolvedFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletionsinclude/nbl/asset/interchange/IGeometryWriter.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -26,6 +26,8 @@ class IGeometryWriter : public IAssetWriter | ||
| private: | ||
| }; | ||
| inline IGeometryWriter::~IGeometryWriter() { } | ||
| } | ||
| #endif | ||
6 changes: 3 additions & 3 deletionssrc/nbl/CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionsrc/nbl/asset/IAssetManager.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
34 changes: 23 additions & 11 deletionssrc/nbl/asset/interchange/CPLYMeshFileLoader.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.