Quantcast
Channel: openFrameworks - Latest posts
Viewing all 40524 articles
Browse latest View live

Cross compiler for OF 0.9.0/Jessie/arm6/RPi1


Cross compiler for OF 0.9.0/Jessie/arm6/RPi1

$
0
0

i get that but when i click the data folder, it's empty

Cross compiler for OF 0.9.0/Jessie/arm6/RPi1

Rotate an image from centre though accelerometer

$
0
0

I am working with an image displayed on an android tablet I'm wanting to use the accelerometer in order to rotate the image and move the image based on the accelerometer data. I've been looking at the accelerometer example in openframeworks android I've been able to get an image move but I am yet to be able to rotate the image based on the movements of the tablet.

ofPushMatrix();
ofTranslate(ofGetWidth()/2, ofGetHeight()/2);
im.setAnchorPoint(normAccel.x*ofGetWidth()/2, normAccel.y*ofGetHeight()/2);
im.draw(-300,-300);
ofPopMatrix();

This is the code I have at the moment to draw the image based on the accelerometer.

Think I need to use getOrientation() but not sure on it's usage.

Any help would be greatly appreciated.

Cross compiler for OF 0.9.0/Jessie/arm6/RPi1

$
0
0

I've installed the debian image on the virtual machine, when I enter this

sudo apt-get install gawk pkg-config make build-essential cifs-utils avahi-daemon avahi-utils libavahi-compat-libdnssd-dev

I get a pile of errors along the lines of "package gawk is not available, but is referred to by another package" and "package 'gawk' has no installation candidate"

it does it for all of them

openFrameworks and QML example project

$
0
0

Hi, thanks for this.

I keep getting a "Product dependency 'Qt.quick' not found" error in ofQML.qbs
Any ideas on how to fix this?

Thanks!

openFrameworks and QML example project

Reading real-time audio stream from bluetooth connected device?

$
0
0

I'm working on a modern spin of the Atari Video Music (https://en.wikipedia.org/wiki/Atari_Video_Music) that will be a raspberry pi powered real-time audio-visualizer device that will generate imagery from a bluetooth connected audio source.

I'm getting hung up on reading the audio source because it doesn't seem that you can monitor the system output. This thread mentions jack, but I'm not sure how that would work. (https://forum.openframeworks.cc/t/how-to-listen-and-visualize-a-realtime-audio-stream/13483)

Anyone have any thoughts on how to get this working?


openFrameworks and QML example project

Reading real-time audio stream from bluetooth connected device?

$
0
0

as first thing you should get jack up and running, it should be good to start testing with qjackctl, it gives you a gui for starting/stopping/configuring the jack server and route things (getting the system input to oF should be easier than routing the system output back again as input)

sudo apt-get install qjackctl
qjackctl

then you could test that the audio is coming to oF with the example sound/audioInputExample and use that example as a starting point (also remember to start the jack server BEFORE the example app)

Reading real-time audio stream from bluetooth connected device?

$
0
0

I've been playing around with qjackctl, but the oF app doesn't show up as a writeable client.

Trouble with creating ofxBox2dPolygon

$
0
0

Hi,
I have below code in update() function.

poly.clear();

poly.addTriangle(ofPoint(199, 199), ofPoint(299, 299), ofPoint(399, 399));

float density = 1.0;
float bounce = 0.1;
float friction = 2.0;
poly.setPhysics(density, bounce, friction);
//poly.triangulatePoly();
poly.create(box2d.getWorld());

and I get the assert ont b2Assert, below since the count is '2'?

void b2PolygonShape::Set(const b2Vec2* vertices, int32 count)
{
    b2Assert(3 <= count && count <= b2_maxPolygonVertices);

what am I missing here?

Will Openframeworks support Ftp after Poco's removal?

Reading real-time audio stream from bluetooth connected device?

$
0
0

It turns out I don't need to monitor the system output, since my device will ultimately be Bluetooth only, I can just monitor the A2DP input!

We are looking for a developer with kinect and OF experience for a gestural base camera environment. (paid) (Deadline April) NYC

$
0
0

We are creating a prototype for an installation to be ready in Mid April.
The basic idea is to command a series of cameras through hand gestures.
We are looking for a developer with kinect and OF experience.
We have a budget as this is an awarded design competition to image the future without phones.
Come and collaborate with us on this great project!
Contact gscagnet[at]pratt.edu for more details


Load picture from phone library

$
0
0

Hello! i'm trying to load a picture from the phone library somebody has done this before?
Or calling a JNI native will work?

Issues with pixel ratios in ofVideoPlayer

$
0
0

Hi Theo (and everyone),

Did you have any time to think more about this? I still haven't found a solution to this and I really need to complete something this week if possible.

Thanks

Problem playing mp4 h264 videos (GStreamer ?)

$
0
0

I did :

sudo apt-get install gstreamer0-10*

it installed a lot of stuff, including lots of KDE dependencies... but it works !

now i would like to know which was the missing package i was looking for !

Problem playing mp4 h264 videos (GStreamer ?)

$
0
0

that's really strange because we don't use gstreamer 0.10 anymore, if you've done so and it works it might be using 0.10 which is not mantained any more and probably has bugs and is slower. the script that installs the codecs to play "restricted" formats is install_codecs.sh in the corresponding distribution folder

Setting attribute data, randomly returns bad access exception

$
0
0

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Viewing all 40524 articles
Browse latest View live




Latest Images