Quantcast
Channel: beginners - openFrameworks
Browsing all 4929 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

ofNoise is eating my CPU

@Appie wrote: Hey! For an installation I want to merge a couple of images interactively with the use of noise for distortion and masks.I got it working fine but whenever I use higher resolution noise...

View Article


Recursive ripple gets stuck

@Kim_Kohler wrote: Hi, I have been trying to find my answer online but I can't find it. I bet the answer is supersimple, but I am pretty new to coding. =( I am trying to make a endless looping ripple...

View Article


Image may be NSFW.
Clik here to view.

Noobie moving from Processing to oF. What is equivalent in oF for Pshape?

@Buoyancist wrote: Hello My first post and sorry for being such a noob with this. I've read some tutorials and been practicing C++ for a bit too but I'm having difficulties understanding the...

View Article

OpenGL ES 2.0 points sprites shader

@Dorald wrote: Hi all .I'm trying to port "pointsAsTexturesExample" on iOS but I can't set the texture color . Vertex Shader: attribute vec4 position; uniform mat4 modelViewProjectionMatrix; attribute...

View Article

Addon that has an other addon as dependency

@edapx wrote: I'm making an addon(let's called it A) that uses internally another addon(let's called it B). I would like that it would be possible to clone the repo containing A and get started to use...

View Article


Randomly shuffle order of elements in a vecrot or array

@Cici wrote: Hello, I'm looking for a function that randomly shuffles the order of elements in a vector or array. I think I once used an oF function which did just that, but I don't remember which one...

View Article

Video feedback or trails

@Gallo wrote: hello, I am trying to smooth movements while playing a video to wipe artefacts on plane colors.My idea is to use a slight feedback. I had a look to the motion trail example in the...

View Article

ofCamera horizontal FOV?

@Ignis wrote: Hello there!I'm trying to learn about how cameras work by making a camera similar to ofEasyCam out of ofCamera. However, I'm having issues implementing separate vertical and horizontal...

View Article


Find closest point to mouse from (huge, but static) vector of ofVec2f?

@ttyy wrote: I'm wondering what the best way would be to search a huge vector (say... 300,000+ elements)to find the closest ofVec2f to my mouse pos? I've tried pre-sorting the vector by distance to...

View Article


ofFBO and ofxCV issue

@petermc wrote: Hi OFers I'm trying to use the blur function in ofxCv so that I can draw circles then blur them. The only way I have found that works its:1) draw the circles to an fbo2) transfer the...

View Article

What is the bitmap drawing mode in openFrameworks?

@icq4ever wrote: http://openframeworks.cc/documentation/graphics/ofGraphics/#show_ofSetDrawBitmapMode as I understand, it might be rotate/or not rotate some of them. what is the detail of these mode ?...

View Article

Image may be NSFW.
Clik here to view.

Fbo feedback offset problem in OF 9.0/9.2

@Wenzy90 wrote: I make a basic feedback example in OF 8.4.It works fine.But when i write the same code in OF 9.0/9.2. The finally effect is different.Seem to be same offset. Here is my code: // in...

View Article

How to know when it's safe to draw in ::draw()?

@Gamadril wrote: I have that code to load an image and draw it on the screen. It should draw it once and keep it shown. Below is the simplified code. However the window stays grey. It works if I let...

View Article


Gesture updates too quickly

@Garrett_Burnett wrote: Hello, I'm looking for a simple solution for an if condition within my update function that updates too quickly. I'm using a myo armband to read gestures and I want to create...

View Article

ofxGui over multiple classes

@aart wrote: Hey guys, I'm having a lot of trouble with learning ofxGui. I have a Gui class of which i made one public instance in my ofApp.Also i have a class that i use to draw things with, of which...

View Article


Reboot and poweroff from inside an of application on raspi

@thomashollier wrote: I would like the app I am working on to trigger a reboot or a poweroff from inside my app running on a raspberry pi. Are there specific OF ways to do this, and if not, can anyone...

View Article

How to put a texture on a box?

@antineta wrote: Hi everyone, I have a question about textures. I'm a totally noob with OpenFrameworks and I don't know how to put a texture on a mesh. I first draw a box (with ofBoxPrimitive) and I...

View Article


Image may be NSFW.
Clik here to view.

OF and language localisation strings (at runtime)?

@sdaau wrote: Hi all, I might have to work with multiple languages in an OF application, so I started looking into string translation for C++ (leaving UTF-8 and other issues aside, let's assume I can...

View Article

Inherit from of3DPrimitive

@edapx wrote: I've written a class that generates a mesh, and I would like to inherit from of3dPrimitive but I've got an error: "drawNormals(): mesh normals are disabled"I've done the following:...

View Article

What is a quaternion?

@vj_dudley_smith wrote: Hi, I'm looking for any good information source / help / tutos on quaternion and 3D rotations; does someone can explain ? Sebastien Posts: 2 Participants: 2 Read full topic

View Article
Browsing all 4929 articles
Browse latest View live