• 60hz

    Wow, thanks, as usual you have the solution ;)

    Here is a version with [urand.list]. I added a list-remove function that might comes from this forum too.
    I supposed there might be a better way to do it, but it's working for my purposes now.

    list random ID generator3.zip

    posted in technical issues read more
  • 60hz

    Hi,

    I am trying to create a patch that could choose a random number from a list of existing numbers, and remove it from the list (like [urn] function).
    But, I also want to be able to refill the list dynamically with new numbers, and when the list is empty, it stops, waiting for new numbers to come.

    I have made a first attempt with few list-abs functions, but I have a logic problem: some numbers disappear little by little from my list.

    Here is the patch, if somebody have a better idea, I think I am a bit over complicated here.

    Thanks!

    list random ID generator.pd

    posted in technical issues read more
  • 60hz

    Hi,

    You need the comport external.
    Type "comport" in the help -> find external, and install it. Restart your patch it should work.

    posted in I/O hardware diyread more
  • 60hz

    Two years late but might help others. As hcs is (sadly) not available from deken for armv7, then you could simply do this command in terminal :

    sudo apt-get install pd-hcs
    
    

    posted in technical issues read more
  • 60hz

    I finally fixed many problems, optimised the scripts so no more crash on all my systems now :)
    I fixed and understand also the world coordinate system in Openframeworks and how to make it like in classic openGL.
    I added all primitives, and many methods for all the 3d and 2d shape to be able to do transformation localy.
    Also added a screen grabber.

    The there are so many things to explore, this library is endless...
    I tried to create a global camera for every rendering, but it doesn't work yet. (if somebody know why?)

    Ofelia_Fast_Prototyping06.zip

    posted in pixel# read more
  • 60hz

    @Jona , If you are on Windows, media files might not open because of space or special characters in your paths... you can copy to a root hardrive to test I need to fix this in lua but I am learning only the basic now.

    posted in pixel# read more
  • 60hz

    Wonderful design and color choice, I love both but I would prefer the one on the left because:

    • Few Colors separate clearly sections Noise Type / Wave etc...
    • Dark theme always better for the eye, and more trendy ;)

    posted in technical issues read more
  • 60hz

    Thanks for checking @Jona. I will try on my other OSX system, but I am sure I did something wrong in my windows creation or in primitive instantiation...

    about [ofSetColor] and other "simple" abstractions, that's part of my project: to allow a set of object for workshop, and avoid problems I experienced in the past;

    • User friendly: The user need to fill the exact number of arguments with classic Ofelia objects, otherwise the object "couldn't create". Students might get quickly frustrated if an object "couldn't create" for the 5th times... in [gl.color] and all [gl.abstraction] if user fill 1, 2, 3 or 4 arguments the object is created and fill empty arguments with default white color.
    • Consistency with Gem and OpenGl: Some [gl.abstraction] like [gl.draw] put the coordinate system 0,0,0 at center and activate the depthTest by default, Openframeworks has the coordinate, 0,0,0 top left which I find less intuitive (would be nice to switch between the 2 coordinate systems later). in Ofelia, [ofSetColor] is black by default, so [gl.color], is white by default, like Gem (white on black default logic).
    • Convenience: Users can also set a list of all arguments at once with all [gl.abstraction]. So in [gl.color] user can change all channel in one single message, where Gem had 2 objects for that and many weird behaviors).

    Here is a new package with some -help files to understand

    Ofelia_Fast_Prototyping05.zip

    posted in pixel# read more
  • 60hz

    @dom1817 said:

    use the [ofelia] object to import external Lua scripts instead of hard coding the script in each Pd abstraction.

    Yes, definitely, it's more convenient to use sublime editor when I am doing complete stuffs sometimes... But on a pedagogical purpose, I like the idea to check and modify the code one click away from abstraction.

    Thanks @Jona, I checked your patches before, and the glsl one is pretty nice thanks. The problem I have is only 3 or 4 of them works in my system (GL_FRAGMENT_SHADER shader failed to compile pb), maybe it's because another OpenGl version should be setuped inside ofelia?

    Going back to my problems with my abstractions instantiation, it's more sensitive on OSX systems and perfectly stable in Windows. With simple 3d geo like [ofDrawBox], no problem at all. But as soon as I use [ofBoxPrimitive] in my lua scripts, I get crash sometimes at windows creation in OSX...

    I prefer to use of3dPrimitive functions because It offers more rendering options. Maybe there is a better way to write the lua scripts? It opens a lots of questions regarding pd objects and lua, because there are many ways to do...

    posted in pixel# read more
  • 60hz

    No worry @Jona, there was some ambiguity in my first post since I am asking for hints and presenting a "project" at the same time ;)

    As I said it's still experimental but it is working well on my OSX and Windows10 systems.

    There's still a lot of work to do, and many opened questions with lua and good practice. The first one being the way I am instanciating box / plane etc 3d primitives in lua and pd.

    posted in pixel# read more

Internal error.

Oops! Looks like something went wrong!