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

ofPath in function - why so slow?

@k_tindle wrote: Hi there, I’m trying to draw an arc, in a box, that rotates at the centre. I have the code below, which ‘works’ but the frame rate becomes progressively more sluggish. Is there a way...

View Article


iOS pinch to zoom?

@Dorald wrote: Hi there . Is any way or example for pinch to zoom on iOS ? Posts: 1 Participants: 1 Read full topic

View Article


Interacting with Shapes through the Mouse

@naknez wrote: Hello! I’m trying to create shapes that you can interact with through the mouse. I want to be able to have a bunch of shapes on the screen and then be able to push them around with the...

View Article

Function definition is not allowed (making animation with multiple circles)

@momiyamashita wrote: Hello, I use Mac OS Catalina, and I’m a Japanese beginner, trying to figure out how to use OpenFrameworks using a textbook published 4 years ago. I am sorry if my English may not...

View Article

Making .exe that uses txt file

@jacob1342 wrote: Hi, I want to make exe file of my project that also uses txt file. Im using openFrameworks on Visual Studio. I’ve never created .exe of any projects so I have no idea how to start....

View Article


3d bearings (& ofCam)

@coding wrote: Hi, ofCamera easyCam was broken in my tests (up vector 0 0 1, 0 -1 0) so I ended up coding a simple bearings example. Here is the behavior i was seeking. #pragma once #include...

View Article

GLFW Looking for help

@tedgress wrote: Hi, I don’t know where to go for help for this. I am trying to code in Xcode with GLFW and I can’t build my project. All I get is “GLFW/glfw3.h” file not found main.cpp. This is the...

View Article

Build OF as a shared library in macOS

@cuinjune wrote: I’m trying to build OF as a shared library (.so) in macOS. I added the following to my app’s config.make file. APPNAME = myApp.so PROJECT_LDFLAGS = -rdynamic -shared -undefined...

View Article


Image may be NSFW.
Clik here to view.

Imported Images appearing green?

@mmm wrote: I know this is probably a very stupid issue. I probably missed a line somewhere. But I basically followed the steps from this guide:...

View Article


Header file keeps showing as missing while compiling project

@opticonhex wrote: Hello I am a beginner with the Open Frameworks platform. I got the windows msys2 64 bit installed, Open Frameworks built, tested examples and they ran great. I have a project I am...

View Article

Where to use ofSleepMillis() and how to delete objects from an array

@mmm wrote: This is the code in my loop: void loop() { for ( int i = 0; i < anzahl; i = i+1 ) { verschiebeZiel(presents[i]); presents[i]->move(); presents[i]->draw(); float distX =...

View Article

Image may be NSFW.
Clik here to view.

Help: Calling different functions in a for loop?

@juss wrote: Hi everyone! I have created three functions. I would like to call all of them via the same for loop with color changes etc. over time. First function would go through the for loop, then...

View Article

oF on Nvidia Jetson nano with QTCreator

@sipsivri wrote: Hello everyone, since this is my first question in this forum, let me first begin to thank you those all of you who took time to develop/contribute and sustain such a good creative...

View Article


ofPolyline.getVertices() not working

@chrysl666 wrote: Hi could you help me with a question ? why this code is not working vector <ofVec3f> vertices = polyline.getVertices(); but this one works : vector<glm::vec3>vertices =...

View Article

I want to make a 3d space using OF that stacked boxes like jenga

@bemoregt wrote: Hi, All. I want to make a 3d space using OF that stacked boxes like jenga. There is also gravity physics. So when I remove bottom box, stacked boxes must be collapsed. How can I make...

View Article


Image may be NSFW.
Clik here to view.

Writing on a HID device

@sandufi wrote: Hello guys, I am trying to send some values to a HID device (4-relay usb module shield) by using the addon ofxHID. I managed to get connected with the device but then I don’t have any...

View Article

Adding a child using ofXML

@Dofl_Yun wrote: I am trying to generate an XML data and save it as a file. Case 1 works but Case 2 doesn’t add a child. For some reason, I would like to create a child first and add it into parent...

View Article


ColorDistance and Vectors

@floftus wrote: Hi There, My main question is: what would be the best way to store pixel information (brightness) for all the pixels of a directory of images in a vector (or array) and then draw these...

View Article

Using rotateAroundDeg

@vestus wrote: I am trying to rotate a 3d cylinder by 90 degrees but cannot find how. Can anyone give me an example on how to use rotateAroundDeg to do this? Many thanks Posts: 2 Participants: 2 Read...

View Article

Thread and ofNotifyEvent

@pandereto wrote: Hello Is safe to call ofNotifyEvent inside a threadedFunction ?? class hotKey: public ofThread{ void threadedFunction(){ if(condition == true){ ofNotifiEvent(evento,condition,this);...

View Article
Browsing all 4929 articles
Browse latest View live


Latest Images