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

Image may be NSFW.
Clik here to view.

Drawing skipping first few frames?

@p1r4t3b0y wrote: Hi everybody, I’m confused by the behaviour of the following, rather simple script: ofApp.h : #pragma once #include "ofMain.h" class ofApp : public ofBaseApp{ public: void setup();...

View Article


How to compile a project on release-mode with Makefile? | CFLAGS

@action wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic

View Article


How to compile a project on release-mode with Makefile? | OPTIMIZATION CFLAGS

@action wrote: Hello there everyone. The config.make file does make some reference to PROJECT OPTIMIZATION CFLAGS. # PROJECT_OPTIMIZATION_CFLAGS_RELEASE flags are only applied to RELEASE targets. # #...

View Article

How to export fbo to SVG?

@p1r4t3b0y wrote: Hi, I’m iteratively drawing lines in ofApp::draw() inside an fbo! What would be a good strategy to export the final drawing to a SVG? Here’s what I’ve tried so far, but only the...

View Article

Image may be NSFW.
Clik here to view.

ofxColorPicker missing argument list

@EdwardLiv wrote: I can create the other GUI elements (fields, sliders, button), but I don’t know how to create ofxColorPicker. Are there any examples on how to use it? Posts: 1 Participants: 1 Read...

View Article


Image may be NSFW.
Clik here to view.

Why does my ofImage.draw() not fill the screen?

@chrisoffner3d wrote: Hi everyone, I’m very much new to OF and struggling with trying to draw to my screen pixel by pixel. I’m running my app in OF_FULLSCREEN and have: ofImage theScreen; int...

View Article

ofParameter groups for buttons/typing/colorpickers

@kaspar.wtf wrote: Hi, I’ve followed a few tutorials and know how to use the GUI to make buttons, type inputs and color pickers but now that I put all these in classes I found it easier to use the...

View Article

Line MAT Structures with Openframeworks

@sonotype wrote: Hey everyone, I’m kind of new to OF and I’d like to know which functions or topics I should dig in to create something similar to this techniques used in TD. Thanks in advance! Posts:...

View Article


Moving 3D shapes in a "Drag and Drop" Fashion

@akamal wrote: Hello all, new to OpenFrameworks (I’ve recreated Doodle Jump if that counts for something). Intermediate in C/C++. I’m creating a simulation/ program where students can connect...

View Article


Problem with ofSoundStream

@nzfs wrote: hi, i made an app that uses the onboard sound card using the direcshow drivers in windows: ofSoundStreamSettings settings; settings.setApi(ofSoundDevice::Api::MS_DS); auto devices =...

View Article

Blending image with a shape

@dilanfdo wrote: I want to blend an image with a shape and get only the image portion under the shape. I try this way. But it didn’t work. Here is the code I write in the setup();...

View Article

A few questions after a new install on Arch

@cuppajoeman wrote: I installed openframeworks through archlinux’s user repository and I think it installed it to /opt/openFrameworks. When it finished it told me to run...

View Article

Image may be NSFW.
Clik here to view.

Texture3D usable in Fragment Shader

@totetmatt wrote: Hello all, I’m fairly new on openframework / opengl world and I’m looking for some guidance on a problem I’m facing. I would like to build a tool that, with some pictures / video of...

View Article


Debug Mode Question

@pxt wrote: why this is givin me an error on debug mode but not on realease mode? vector<ofPoint>p; //-------------------------------------------------------------- void ofApp::setup(){...

View Article

Multipass shader on a mesh

@fresla wrote: This might be a badly formed question, apologies in advance. Is there such thing as a multipass shader for meshes? I have been scouring examples of ping pong shaders and they all seem...

View Article


Texturing cloth mesh with OfxBullet addon

@delirious.blanc wrote: Hello! I have been aiming to create a cloth simulation with my own images. I decided to use the OfxBullet addon (https://github.com/NickHardeman/ofxBullet) because it has a...

View Article

Using .setControlArea with EasyCam, changing EasyCam's default controls, and...

@akamal wrote: Hello All, I’m creating a simulation/ program where students can connect different atoms together to start a chemical reaction, thus creating a compound. EX: combining hydrogen and...

View Article


Image may be NSFW.
Clik here to view.

It seems I don't understand C++ loops and/or pointers

@chrisoffner3d wrote: So in my ofApp.h I declare ofImage imageTiles[20]; and then I have this code: void ofApp::setup() { for (int i = 0; i < 20; i++) { imageTiles[i].grabScreen(0, 0,...

View Article

threadChannel example confusing variable names

@fresla wrote: I am trying to understand the thread channel example but it is a bit confusing as there are some variables that have the same name. in the ImgAnalysisThread.h file there is a...

View Article

Add Listener to ofxToggle

@matteo wrote: Hi! I’m getting the error “ofAddListener’: no overloaded function takes 4 arguments” when I try to add a listener to a ofxToggle. Do you know where I’m wrong? Thanks. void...

View Article
Browsing all 4929 articles
Browse latest View live