Comments (10)
Hi @virusys
Thank you for your interest in ofelia.
Like you said, loading 3d models is not implemented in ofelia 1.0.8.
Although adding an object that simply loads and draws 3d models would be a quite simple, (https://openframeworks.cc/learning/05_3d/3d_example_how_to/) making it fully usable with other ofelia objects would be tricky. (https://openframeworks.cc/documentation/ofxAssimpModelLoader/ofxAssimpModelLoader/)
I'd suggest you wait until the next ofelia 2.0.0 is available to be used. The new version will have all features of openFrameworks core API. I'm planning to officially release it within a month or two.
The development is more or less done (it's already uploaded to Deken actually) but I need to make documents, examples and some abstractions.
from ofelia.
@cuinjune In any case, I am very interested in getting this to work, so I am willing to learn to make the Lua bindings. Do you know where I could learn how to do that?
from ofelia.
Hi, please check out these repositories:
from ofelia.
Thank you for getting back to me @cuinjune!
I tried installing 2.0.0 via deken (twice, the second time deleting the entire ofelia folder before trying), and it resulted in none of the objects being able to load. Going back to v1.0.8 works fine though.
In any case, I will be patient and wait for the new version to arrive! Is this something you could use some help with?
from ofelia.
Hi again — I noticed 2.0.0 it out now, can you tell me how I can load .obj files with the new version?
Thanks!
from ofelia.
Hi @virusys
I'm sorry for the delay.
Unfortunately, I just figured out ofxAssimpModelLoader
which allows you to load .obj files is not part of openFrameworks core API which ofelia v2 uses. (through ofxLua)
My apologies for not checking this earlier.
Therefore I need to write the binding for the addon in order for users to use the feature.
For now, I don't have a specific plan but I will definitely add the feature to ofelia at some point.
from ofelia.
Is this feature still not added?
from ofelia.
@grabanton No, unfortunately — I took a stab at writing the bindings myself a while back and I think I got about 75% there but it was not quite working.
from ofelia.
According to this , for ofxLua it is possible to use SWIG to create Lua bindings automatically for other addons. Would it be possible to use a similar process in this case? I am interested in not only ofxAssimpModelLoader, but being able to add any openframeworks addon to ofelia. Would that be possible?
Also I have been trying to build the ofelia external with Visual Studio and I've been having a lot of trouble with it. But I noticed there is a folder (OF/addons/ofxOfelia/libs) which has the addons for it to build into the external. Perhaps I'm not understanding how it works, but would it work to put any other openframeworks addon into that folder?
from ofelia.
@MJVville for what it's worth, this repository has some examples of loading 3d models in .ply
format:
https://github.com/60-hz/Ofelia-Fast-Prototyping.git
They also have a unique approach to Ofelia and contain many other useful examples.
@cuinjune thank you for the link to that swig-openframeworks repo! I will hopefully find it useful in the near future.
from ofelia.
Related Issues (20)
- Problem with class creation HOT 2
- I updated Ofelia libs OfxPd (PD 0.52-2) and OfxLua (1.4.4) HOT 23
- 'undefined symbol: _ZNK5boost10filesystem4path9extensionEv' (Linux) and development status of ofelia HOT 7
- Errors when building solution in Visual Studio 2017 HOT 1
- ofelia.pd_linux:libGLEW.so.2.1: cannot open shared object file: No such file or directory (Debian 12.1) HOT 2
- Support for #include HOT 1
- Video patches crashing PD in Ubuntu 22.04
- OpenFrameworks version 0.12.0 is out HOT 5
- Update ofxOfeliaLua for Lua 5.4.6 HOT 7
- Proposal: Link to the libs instead of including them?
- ofxOfeliaEvents::callEventListener(ofxOfeliaData *x, t_symbol *s, ofDragInfo &e) issue HOT 2
- I found a(n easier) way to include addons. HOT 9
- luaopen_glm issue and implementation. HOT 1
- Feature request: Send values to PD from a Lua script. HOT 3
- For what is ofxMidi (in ofxOfelia) needed? HOT 2
- GLFW Window HOT 4
- Current libpd.lib does not work with Ofelia (maybe I compiled it with the wrong settings). HOT 2
- One window for each patch? HOT 3
- JSON object
- Maximum string length issue
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 ofelia.