Giter Site home page Giter Site logo

Comments (10)

juliohm avatar juliohm commented on June 21, 2024 2

Thank you @Gnimuc , I will keep working on a few urgent features in Meshes.jl and then will come back when I am free. I'd be happy to help here.

from assimp.jl.

Gnimuc avatar Gnimuc commented on June 21, 2024 1

Hi @juliohm, those high-level iterator APIs of 3D asset libraries are all similar to each other. It's not hard to implement a high-level API for the following example in Julia, but I just don't have time at the moment. If you'd like to contribute, I would be happy to invite you as a collaborator. :)

    scene = aiImportFile(joinpath(@__DIR__, "test.stl"),
                         aiProcess_CalcTangentSpace |
                         aiProcess_Triangulate |
                         aiProcess_JoinIdenticalVertices |
                         aiProcess_SortByPType
                         )
    if scene == C_NULL
        @error aiGetErrorString() |> unsafe_string
        @test false
    end

    scene_obj = unsafe_load(scene)
    num_mesh = scene_obj.mNumMeshes
    for i = 1:num_mesh
        mesh_obj = unsafe_load(unsafe_load(scene_obj.mMeshes, i))
        for j = 1:mesh_obj.mNumVertices
            vt = unsafe_load(mesh_obj.mVertices, j)
            @show vt
        end
    end
    aiReleaseImport(scene)

from assimp.jl.

juliohm avatar juliohm commented on June 21, 2024 1

Oh thanks, let me accept the invite and if you would like I could transfer it to JuliaGeometry

from assimp.jl.

juliohm avatar juliohm commented on June 21, 2024

Here is their example: https://pypi.org/project/pyassimp

from assimp.jl.

Gnimuc avatar Gnimuc commented on June 21, 2024

Maybe I should transfer this package to JuliaIO, so more people could get involved without push-privilege issues.

from assimp.jl.

juliohm avatar juliohm commented on June 21, 2024

That would be nice too, any organization like JuliaIO or JuliaGeometry seems like a nice fit. I am part of the latter only, but I am sure that we can contribute wherever the package is. :)

from assimp.jl.

Gnimuc avatar Gnimuc commented on June 21, 2024

OK,I'm going to tranfer this to JuliaGeometry. Perhaps also transfer GLTF.jl to there which is also a 3D asset loader.

from assimp.jl.

Gnimuc avatar Gnimuc commented on June 21, 2024

Seems like only members have authority to transfer, I've invited you as a collaborator.

from assimp.jl.

juliohm avatar juliohm commented on June 21, 2024

Invite accepted. I will try to find the time in the following weeks to work on the high-level API.

from assimp.jl.

juliohm avatar juliohm commented on June 21, 2024

We moved to GeoIO.jl, which is actively maintained and provides various backends written in Julia.

from assimp.jl.

Related Issues (5)

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.