Quantcast
Browsing all 40524 articles
Browse latest View live

How to send an array to a shader frag on oF0.9.0

hey @masakick, I do believe what you're missing is a reference to the first element of myArray: shader.setUniform1fv("uniArray", &myArray[0], 3); Hope that does the trick.

View Article


How to add OF to an existing C++ project in Ubuntu

Many thanks for your detailed reply! This is great. It is much clear to me now. My further questions now are:How to use OF similar as other libraries, such as how to specify include path and lib...

View Article


Magnetometer coordinates differ testing on different devices

hey @marcod, I'm not a 100% sure on the magnetometer, but the accelerometer also has a different range on older devices (-+2g) compared to newer (-+8g) due to better sensors...

View Article

ofxMaxim Tutorials

Hi Leon, these look great thanks for putting together such a handy resource. I think it could be beneficial to include the final projects in a Github repository so students could quickly go back and...

View Article

Image may be NSFW.
Clik here to view.

Wrong resolution iphone 6 - nightly build - xcode 7.0.1 - ios 9.0.2

I think I'm experiencing the same problem. I'm trying to use the iPhone 6's full resolution to set the size of a video grabber and later draw it. When using ofGetWidth()/ofGetHeight(), I consistently...

View Article


Image may be NSFW.
Clik here to view.

Xtion + openframeworks + Raspberry Pi

gepatto: ofxOpenNI2Grabber I apologize in advance for the possible unintelligent questions I might ask.I am working on a senior project that requires me to pull PGB-d data from the XTion. @gepatto...

View Article

Xtion + openframeworks + Raspberry Pi

Hi Emmanuel, the code should still be available from the link I postedhere: https://drive.google.com/file/d/0B27_4JL_xnCqRUVIcXB3eEY5Vmc/view?usp=sharing the archive holds a (slightly modified)...

View Article

Image may be NSFW.
Clik here to view.

Webcams and computing power

Dear all,I am coding an application that will read from several webcams, probably 4.The application is pretty simple -it just grabs the image from the cams and displays it randomly, or combines some...

View Article


Any OF lovers from Baltic states?

Hey guys, I am wondering if any of you leave in Baltic states (Estonia/Latvia/Lithuania) or even Finland. I am currently located in Tallinn, Estonia and would love to meet some people using OF around...

View Article


Pixels, videoGrabbers, pointers and references

Hi Arturo,First of all, thanks for answering these kind of C++ questions.You are right, what I am storing has to be a pointer, since pixelsArray is define like an arrays of pointer. But if I am not...

View Article

Vector init and for loop in C++11

ok. Thanks for all your suggestions.This is getting clearing things a bit.thanks again

View Article

Linearize Depth Buffer

Hi, I am drawing the depth buffer from a a fbo where I draw some cubes, and I get a white image with some light gray areas where the cubes where very close. After some research I found that I have to...

View Article

Pixels, videoGrabbers, pointers and references

a pointer to a reference doesn't make really sense, when you dereference (take a pointer) of a reference you are just taking a pointer (the memory address) of the original object, with the pointer to...

View Article


Most efficient way to store highly variable collection of images from CV that...

I'm not sure about the implementation details of the classes you are using but mostly wanted to point out that you shouldn't be allocating textures and primitives while the application is running but...

View Article

Why of 0.9 release ofxmulttoch is empty?

it's not used anymore, all the functionality is now in the core but from an error in the packaging system the folder is still in the download. i think this is already fixed in the nightly builds

View Article


Pixels, videoGrabbers, pointers and references

OK, so just to make it clear: ofPixels & pixelsRef = *pixelsArray[0] //creates a reference to the orignal pixelsofPixels pixelsCopy = *pixelsArray[0] //creates a copy of the pixels originally...

View Article

Pixels, videoGrabbers, pointers and references

yes that's it

View Article


Image may be NSFW.
Clik here to view.

Gstreamer Pipeline having problems while trying to encode a stream using...

Had this Fixed today ... Was an issue due to unmatching caps in Appsrc... However, I still have issues of getting a bluish tinge in my video. I am using a Vaapi pipeline SET as below : Sender...

View Article

Question about memory consumption in oF

I am starting a new project that requires around 200 animated sprites to be playing at the same time so I knocked together a couple of small demos, one in oF and one in WPF/C#. All I have done is make...

View Article

ofxMaxim Tutorials

Hi Joshua, That's absolutely in the works, it should all be up no later than a couple of days. I want to comment out everything and have it looking clean for the general public. Best, Leon

View Article
Browsing all 40524 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>