Coder Social home page Coder Social logo

Comments (7)

neverhood311 avatar neverhood311 commented on May 27, 2024 1

That's an interesting idea. I think it's entirely possible.

How would your mesh data be formatted? According to this stack exchange post, Blender can create a mesh from an array of vertex positions (formatted like this: [(0.0, 0.0, 0.0), (1.0, 0.0, 0.0), (0.0, 1.0, 0.0)]) and an array of faces (formatted as arrays of vertex indices like this: [[0, 1, 2]]). If the mesh data is formatted like this, I think it would be fairly straightforward to add the desired API.

from stop-motion-obj.

archibate avatar archibate commented on May 27, 2024

(formatted like this: [(0.0, 0.0, 0.0), (1.0, 0.0, 0.0), (0.0, 1.0, 0.0)]) and an array of faces (formatted as arrays of vertex indices like this: [[0, 1, 2]])

Exactly! I will create the meshes first according to that post, and fed the meshes to the API here.

from stop-motion-obj.

neverhood311 avatar neverhood311 commented on May 27, 2024

Ok, I'll see what I can do. I can't promise a timeline, though.

from stop-motion-obj.

archibate avatar archibate commented on May 27, 2024

And what's more, can we use the streaming mechanism, to only generate a frame when requested? Something like:

def on_request_frame(frame):
  mesh = ...  # generate a mesh via Taichi
  return mesh

object.mesh_sequence_settings.set_frame_callback(on_request_frame, mode='streaming')

from stop-motion-obj.

neverhood311 avatar neverhood311 commented on May 27, 2024

from stop-motion-obj.

neverhood311 avatar neverhood311 commented on May 27, 2024

@archibate Are you still working on TaiChi-Blender integration? I'm finally getting around to some Stop Motion OBJ development. I'm working on a feature that lets you create an empty mesh sequence then add new frames to the sequence on-the-fly. Did you still want to integrate with this addon or have you taken a different route?

from stop-motion-obj.

archibate avatar archibate commented on May 27, 2024

@archibate Are you still working on TaiChi-Blender integration? I'm finally getting around to some Stop Motion OBJ development. I'm working on a feature that lets you create an empty mesh sequence then add new frames to the sequence on-the-fly. Did you still want to integrate with this addon or have you taken a different route?

Yes, thank for the great project! I studied your addon source code carefully and succeed to support mesh sequence on my own by hooking frame_change_pre. But I have some trouble when saving the mesh sequence (only the mesh at current frame is saved), though.

from stop-motion-obj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.