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

Quake MDL feature #1591

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
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
3 changes: 1 addition & 2 deletions plugins/alembic/module/vtkF3DAlembicReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
#ifndef vtkF3DAlembicReader_h
#define vtkF3DAlembicReader_h

#include <memory>
#include <vtkNew.h>
#include <vtkPolyDataAlgorithm.h>
#include <vtkVersion.h>

#include <memory>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to move this

class vtkF3DAlembicReader : public vtkPolyDataAlgorithm
{
public:
Expand Down
13 changes: 13 additions & 0 deletions plugins/alembic/module/vtkF3DAlembicReader.h.rej
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff a/plugins/alembic/module/vtkF3DAlembicReader.h b/plugins/alembic/module/vtkF3DAlembicReader.h (rejected hunks)
@@ -14,10 +14,10 @@
#ifndef vtkF3DAlembicReader_h
#define vtkF3DAlembicReader_h

+#include <memory>
#include <vtkNew.h>
#include <vtkPolyDataAlgorithm.h>
#include <vtkVersion.h>
-#include <memory>

class vtkF3DAlembicReader : public vtkPolyDataAlgorithm
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can remove this file

9 changes: 9 additions & 0 deletions plugins/native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,15 @@ f3d_plugin_declare_reader(
FORMAT_DESCRIPTION "3D Gaussian splats"
)

f3d_plugin_declare_reader(
NAME QuakeMDL
EXTENSIONS mdl
MIMETYPES application/vnd.mdl
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you have a small .mdl file with a creative commons license ?

VTK_IMPORTER vtkQuakeMDLImporter
FORMAT_DESCRIPTION "Quake 1 MDL model"
)


f3d_plugin_build(
NAME native
VERSION 1.0
Expand Down
1 change: 1 addition & 0 deletions plugins/native/module/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
set(classes
vtkF3DSplatReader
vtkQuakeMDLImporter
)

set(_no_install "")
Expand Down
Loading