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

Add support for X3D sequence import #144

Merged
merged 1 commit into from
Oct 22, 2021
Merged

Conversation

neverhood311
Copy link
Owner

Limitations:

  • This only handles single-object .x3d files. If a .x3d file contains multiple objects, only the first one is imported.
  • Object transformations are not imported. Transformations must be applied to the actual vertices before importing

@neverhood311 neverhood311 merged commit 6a7ddd2 into version-2.2 Oct 22, 2021
@neverhood311 neverhood311 mentioned this pull request Dec 7, 2023
neverhood311 added a commit that referenced this pull request Apr 5, 2024
* add mesh sequence info (#111)

Sequence size, number of cached meshes, and the path to the mesh sequence directory

* Enable keyframe-based sequence playback (#112)

* update the frame for every dependency graph change (#115)

This allow the sequence to update while the user is adjusting the keyframe curve.

* switch to depsgraph_update_pre instead of post (#116)

* Create new empty sequence (#132)

* initial commit

* seed mesh sequence, duplicate current mesh

* Finish new sequence creation and mesh duplication

Also added the Ctrl+Shift+D hotkey for duplicating the current mesh

* multiple imports using ';' (#136)

Co-authored-by: BOULEST <tom@gmail.com>

* fix bug in multiple sequence import (#137)

* Fix stack overflow from streaming sequence import (#138)

* disable sequence frame changes while importing meshes

* version bump

* Fix importing multiple streaming sequences (#139)

Take care to build the full absolute path, then split it into the full directory name and the file prefix name

* Add Merge Duplicate Materials button (#140)

* Sequence shading: remove dependence on bpy.ops (#141)

* add support for X3D import (#144)

* Import only the first mesh in each file (#145)

Delete all other objects

* keep only first mesh per file for streaming sequences (#147)

* Give sequence objects a unique name (#148)

* Don't create a sequence object if it can't find any files (#149)

Also, report the offending file name prefixes to the user.

* Rename "Mesh Sequence" to "Stop Motion OBJ" (#150)

* Added better support for alembic export (#154)

* Added better support for alembic export

* Added a workaround for a crash when Depsgraph_Update_Pre is calling UpdateFrame

* Fixed code format

* Renamed UI naming for this feature

* Add Convert To Mesh Sequence button to Stop Motion OBJ object properties panel (#155)

* Add Convert to Sequence button to Stop Motion OBJ panel

Still doesn't work

* Code cleanup

I guess it works

* Auto export altered meshes (#157)

* Initial commit of pseuodocode

* mesh hash to detect mesh changes

* recalculate the mesh hash on load, start of export logic

* Basic functionality working

Choose between overwriting and saving to different directory. Check for invalid directory

* Add other file types, some cleanup

* Manually revert #154 (#158)

* Fixed wrong/no export issue (#159)

Note: this only works when a SINGLE mesh sequence is present

* Fix ConvertToMeshSequence operator (#160)

* Fix ConvertToMeshSequence operator

* Bump version

* Fix issue checkMeshChangesFrameChangePre (#162)

* Bump version

* Fixed no object selected in checkMeshChangesFrameChangePre

* Bump version

* Smooth shaded streaming sequences (#165)

* Streaming sequence smooth shading

* Version bump

* Fixed a few export UI bugs (#166)

* Version bump (#167)

* split versions for Blender 3.6 and 4.0

* Revert "split versions for Blender 3.6 and 4.0"

This reverts commit 218814a.

* initial commit for Blender 4.0 compatibility

* Update new import settings

* Enable fast OBJ for 3.3+

Disable for <3.3.0 and for streaming sequences
Disable everything for <2.92.0 and >=4.0.0

* Add support for VRML2 (.wrl) import/export

* final version bump for v2.2.0

* Update readme for 2.2.0

---------

Co-authored-by: Roibabouin <62696318+Roibabouin@users.noreply.github.com>
Co-authored-by: BOULEST <tom@gmail.com>
Co-authored-by: Christopher Remde <39704202+ChristopherRemde@users.noreply.github.com>
Co-authored-by: Félix <felix.olart56@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant