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

Reading pixels from a mov-file

@Jipolie01 wrote: Hi guys, I'm trying to read pixels from a mov-file. I've openend the file like this: ofVideoPlayer video_conversion; video_conversion.loadMovie(path_to_movie); ofPixels pixels =...

View Article


Multiple particle system interact with each other

@cindyg wrote: Hi everyone, thank you in advance. I started to learn oF a month ago and I'm studying particle system now. After I read the Mastering Openframeworks and did the example particle system,...

View Article


What's todays (10-2017) common way to have a config.xml/.json to position...

@hansipete wrote: Hello there, I'm quite new to openFrameworks and having some troubles to find a good way to store "settings" in an accessable file outside of my openFrameworks .cpp files. There are...

View Article

ofIsGLProgrammableRenderer()

@WillpowerStudios wrote: Hi, I'm starting to work with shaders and was wondering what was 'ofIsGLProgrammableRenderer()' ->...

View Article

Image may be NSFW.
Clik here to view.

How to replicate this Processing example with OF?

@cuinjune wrote: Hi, I'm trying to replicate this Processing example.https://processing.org/examples/pattern.html Screen Shot 2017-10-14 at 4.37.40 PM.png1934x1098 141 KB And here's the code I wrote...

View Article


Image may be NSFW.
Clik here to view.

How to display oF programs to TFT displays which is connected to RasPi3?

@yuppon wrote: Hi, I'm using raspberryPi3.I would like to display oF programs to TFT display.I've already confirmed working "polygonExample" on HDMI output.Also, I've already confirmed rendering RasPi...

View Article

I want to clip an image instead of a mask

@taketori7616 wrote: I want to clip the image loaded with ofImage to a perfect circle.However, this is not a mask but I want to clip. Posts: 2 Participants: 2 Read full topic

View Article

Box side normals

@bgoosman wrote: I'm trying to get the normal of the TOP_SIDE of an ofBoxPrimitive but it's always <0, -1, 0> in spite of the transforms I applied to the box. I applied these transforms:...

View Article


I want to handle screens where three currently overlapping fbo are overlapped...

@taketori7616 wrote: Can I substitute instantly for ofImage or ofPixels or ofFbo using ofSaveFrame, or ofSaveScreen or ofSaveViewport?Or must I save it and have to reload it? Posts: 1 Participants: 1...

View Article


Q: How to set colors NON-LINEARLY from image to videograbber

@Buoyancist wrote: Hi. I have a working project based on the meshfromcamera example. However I'd like set part of the colors of the camera stream so that part of the vidgrabber screen would constitute...

View Article

Code to execute only once every 0.5 seconds using ofGetElapsedTimef ()

@taketori7616 wrote: Please tell me how to write a loop that runs only 6 times within 3 seconds.Run it once in 0.5 seconds. Posts: 2 Participants: 2 Read full topic

View Article

Changing resolution of video

@Jipolie01 wrote: Hello, I'm having a slight problem with the ofVideoPlayer. I've loaded a video that plays correctly at an resolution of 640x340 now I want to play this video on a 40x48 led-matrix. I...

View Article

Difference between ofVec2f::align() and ofVec2f::isAligned()?

@cuinjune wrote: Hi, I wonder what is the difference between the two methods. It looks like they are identical based on the class method documentation....

View Article


Manipulate ofSpherePrimative with ofvec3f

@noobCoder wrote: #include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ sound.load("SHATTER ME.mp3"); sphere.setRadius(200);...

View Article

Image may be NSFW.
Clik here to view.

ofPolyline closing?

@barrylachapelle wrote: Hey all. I have created a polyline from a ofVec2f vector using curveTo. The line seems to be closing. How do I keep it a 4 point line without closing? I have tried...

View Article


How to get average of vector?

@cuinjune wrote: Hi, I'm trying to find out the average ofVec2f value from vector<ofVec2f>. I found out there is ofVec2f::average(const ofVec2f *points, int num) method which does the job but I...

View Article

Importing geometry and materials

@k2msmith wrote: Hello--- I have some heavy martian terrain geometry that I would like to bring into OF from Houdini (or Maya). I can export to Alembic, FBX, OBJ and others from the modeler. What is...

View Article


Image may be NSFW.
Clik here to view.

Problems installing OpenNI and NITE for Kinect Xbox 360

@mvs wrote: Hi OF Community, i am a complete beginner to OF world and starting a project for educational purposes soon.For this i would like to build a program in which a video will be played and kids...

View Article

A basic question > clang: error: no such file or directory

@Gianmaria_V wrote: Hi everyone, as the title states I have a stupid quesiton, I am a newbie on OF.The problem is that every time I try to run an example in XCode from external addons I get the same...

View Article

ofSystemSaveDialog issue on Windows

@Sam_McElhinney_io wrote: Hello I am using ofSystemSaveDialog and it is working fine for a full screen app on a Mac. When I port the app across to Windows (W10, VS_15, OF 9), I think the dialogue...

View Article
Browsing all 4929 articles
Browse latest View live