Comments (10)
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.
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.
Oh thanks, let me accept the invite and if you would like I could transfer it to JuliaGeometry
from assimp.jl.
Here is their example: https://pypi.org/project/pyassimp
from assimp.jl.
Maybe I should transfer this package to JuliaIO, so more people could get involved without push-privilege issues.
from assimp.jl.
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.
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.
Seems like only members have authority to transfer, I've invited you as a collaborator.
from assimp.jl.
Invite accepted. I will try to find the time in the following weeks to work on the high-level API.
from assimp.jl.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assimp.jl.