Quantcast
Browsing all 4929 articles
Browse latest View live

Reinterpreting an Image from const char* data[] and unsigned int [solved]

@kkkkkkkk wrote: I receive some Images from a database that returns them as: const unsigned char* buffer[];unsigned int saved_size; The images are png 320x240; RGB and the size that is returned is...

View Article


Image may be NSFW.
Clik here to view.

Oculus VR with Shader Art and OFX

@iridule wrote: Hey there, I have been creating a series of shader art pieces and would like to explore the possibility of texturing the inside of a sphere - then presenting it in the Oculus Rift. I...

View Article


Preserve image aspect ratio

@werty37 wrote: Hi I am a newbie in Openframeworks. I was wondering if there is a way to automatically preserve aspect ratio of an Image? void ofApp::draw(){ image.draw(ofGetWidth()/2 -...

View Article

Can ofSetLogLevel(OF_LOG_SILENT); improve performance?

@cuinjune wrote: Hi, I wonder if disabling all the logs with ofSetLogLevel(OF_LOG_SILENT); can help improving performance of my app. (provided that ofLog() is being called many times)Thanks. Posts: 1...

View Article

Depth testing explanation

@roymacdonald wrote: A friend of mine wasn't sure about when to enable or disable the depth testing.So I wrote an explanation with some example code. gist.github.com...

View Article


ofxAruco - convert pixel to vector direction

@nebnes wrote: I can get global position of my camera with ofxAruco. Now with the same camera I want to find the world direction, from the camera toward the mouse position.So I want to convert pixel...

View Article

Image may be NSFW.
Clik here to view.

Positioning ofVideoGrabber webcam on different planes

@And_or wrote: Lets say I have a webcam that captures an image of something lets say a room like this - Im having trouble then positioning that captured image onto different planes. for example,...

View Article

Kinect V1 and V2 at the same time - Need help

@EduCabrera wrote: Hi, I need to connect Kinect 1 (xbox 360) and kinect v2 on the same machine, at the same time, using openframeworks of course.I managed to make kinect 1 work with the...

View Article


ofPolyline.getRotationAtIndexInterpolated

@Sam_Mattacott wrote: Does anyone know how I can canver the ofVec3f that this function gives me into a usable float value for rotation? I'm want to find the roation at the end of a polyline so that I...

View Article


Compiling openframeworks on ubuntu server

@jedahan wrote: I had to manually export PKG_CONFIG_PATH=/usr/lib/x86_64-pc-linux-gnu/pkgconfig:/usr/share/pkgconfig just a heads up Posts: 1 Participants: 1 Read full topic

View Article

Get average HSB from an image

@aliva666 wrote: How can i get the average values of HSB from an ofImage? Somebody have experience doing it?some advices would be helpfull. Posts: 2 Participants: 2 Read full topic

View Article

What's the difference between ofDrawBezier and ofDrawCurve in terms of...

@Minzhe_Jiang wrote: What's the difference between ofDrawBezier and ofDrawCurve in terms of parameters? What's the difference between these two curves' control points? Posts: 2 Participants: 2 Read...

View Article

Scripts - How and Why to Use Them?

@asas wrote: Hi all, I've run examples and add-ons, but I'm confused as to what to do with scripts. I want to run buildAllExamples.sh, but I can't figure out what you do with the file, and my search...

View Article


ofxFaceTracker error: declaration is incompatible with overloaded function...

@Rho_Soo_Jin wrote: Hi, I am a student doing a project using face feature detection.I moved to Openframeworks from Processing to use ofxFaceTracker.I installed everything as instructed and ran...

View Article

Vertical camera feed to HAAR face tracker?

@kkkkkkkk wrote: Hi, is there a way to make ofxCv::ObjectFinder detect faces with haar in a 90˚ angle way? basically rotate the detection 90 cw or ccw kind regards Posts: 1 Participants: 1 Read full...

View Article


Somehow SOLVED! OscSender/OscReceiver not sending or receiving

@mvs wrote: Hi dear Forum, i have been trying to send one integer data to another app and seem to not be very succesfull at it.I would appreciate it if you would have a look and give me a hint on my...

View Article

Create simple plots and histograms with OF

@jagracar wrote: Hi, I'm starting to learn OF and I was thinking that a good way to do it would be to port my Processing/P5.js grafica library to OF. I did a fast google search and I didn't find an...

View Article


Image may be NSFW.
Clik here to view.

ofParameter linked/listening to another

@vollstock wrote: In my app I would like to be able to linke values of arbitrary parameters.For this I plan to change all of my member variables to ofParameter. I understand, that I can add listener...

View Article

How to run those sample programs on any IDE like eclipse

@adiaholic wrote: i'm new to openframeworks and i want to learn !Thanking you in advance Posts: 1 Participants: 1 Read full topic

View Article

Getting Event Sender from Dereferenced Pointer Object

@autr wrote: Hello, I'm struggling to get a pointer to an object via the ofAddListener callback. I used the method mentioned here;...

View Article
Browsing all 4929 articles
Browse latest View live