Comments (3)
Hi, receiving non-float data through non-first inlets is not possible in Ofelia.
While it is possible to support other types by using "active" inlets, it will add extra overhead so I decided to use passive inlets supporting only float types. And if you want to use other types, you can always use the first inlet to receive a list of any types and handle them internally.
from ofelia.
Ok! Thank you again!! :)
from ofelia.
I realize this is closed and nothing will be done, but... here's a use case where it would be helpful.
Pd forum user 60Hz has created some Gem-style abstractions to simplify many basic use cases, for use in workshops where it would be too much to have everyone build up Lua code from scratch.
I was working on extending these for GLSL shader support. To handle image processors, it was necessary to pass imageID symbol
messages, to tell the next processor in the chain which module's image
variable contains the source to operate on. That was pretty straightforward.
Next problem: shaders with two image inputs.
If you can pass arbitrary lists into the additional inputs, then it would be easy to have a left imageID
message for the main image source and a right imageID
for the auxiliary source.
Because this is not allowed, it's necessary to have for instance imageID
and imageID2
, both going into the left inlet, and then every image-handling abstraction needs to include (replicate) logic to output imageID
, imageID2
, imageID3
as needed. Which is possible, but a lot messier.
Anyway, FWIW. I do realize that the intended design currently is to have one massive [ofelia] object that does pretty much all the drawing in one place, but... the learning curve for this is pretty nasty (the preamble just to open a window makes my head spin). Getting started really needs to be easier if it's to gain any traction in the Pd community, which is where abstractions such as 60Hz's come in.
from ofelia.
Related Issues (20)
- Multimonitor fullscreen? HOT 2
- couldn't create ofWindow error
- GLpointSize HOT 3
- ofxiOSGetDocumentsDirectory() not working
- ofxOfelia v4.0.0 and OF 0.11.2 do work with the new ofxLua version 1.4.4 HOT 5
- Ofelia issues with pd-0.52 under OSX and Windows HOT 10
- Ofelia freezes PD 0.52.0test2 HOT 2
- Emscripten and FreeImage lib
- EXC_BAD_ACCESS when iterating through verticies in ofMesh
- Ofelia doesn't work with Pd 0.52-1 on Windows 11 HOT 2
- Build instructions for linux are vague and makefiles seem to be out of date
- ofBackgroundGradient crash after screen rebuilt
- Optionnal -k flag to keep contents make crash on start
- Is it possible to trigger and change the input values to steer the graphics from pure data? HOT 1
- Issue with Ofelia and M1: ofSetBackgroundAuto(false) & "Failed to find service port for display"
- M1 Build ld: symbol(s) not found for architecture arm64 HOT 1
- M1 Build error: use of undeclared identifier 'PD_SYS_LOCK' PD_SYS_LOCK()
- 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
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.