Quantcast
Browsing all 4929 articles
Browse latest View live

Difficulty with shader, No matching function for call to...

@nosarious wrote: I am working with code found on shadertoy to replicate CRT monitor scanlines. There are a number of them, but this is the slimmest one I found: FixingPixelArtKernelAnother one (a bit...

View Article


What is the default z axis value in OF?

@cuinjune wrote: Hi, I want to know what the default z axis value when the z value is not set. For example, if I do ofTranslate(50,50); or ofDrawRectangle(50,50,100,100); or ofPoint(50,50); Then, what...

View Article


Resizing on the fly fonts

@christoph wrote: Hum, this is a newbie question but i m wondering if there is anyway to resize on the fly a font instead of loading multiple size of a same font ? Posts: 1 Participants: 1 Read full...

View Article

A Basic 3d Scene example from ofBook and openGL version

@cuinjune wrote: Hi, I tried running the "Basic 3d Scene" example code from ofBook. http://openframeworks.cc/ofBook/chapters/openGL.html The example uses ofLight, ofEasyCam, ofBoxPrimitive and...

View Article

Can't properly include my class from an external .h/.cpp file

@ch3 wrote: In a fresh OF project(VS15), I successfully managed to create and access my class named person from an external definition. But I am having problems doing the same on the project I've been...

View Article


Image may be NSFW.
Clik here to view.

How to properly draw custom 3d objects using ofPath

@cuinjune wrote: Hi, I'm trying to test if it's possible to draw any 3d shape I want using ofPath so I can later use it as a ofPolyline or ofMesh. First, I'm trying to draw a simple pyramid-like shape...

View Article

Error: 'non standard syntax, use & to create pointer to member'

@legshampoo wrote: I'm trying to use EnumWindows to list all the window titles of other apps, but getting the error: 'non-standard syntax; use '&' to create a pointer to member Here's my code:...

View Article

How to display world map( from a shape file) in openframeworks

@lulitdestajo wrote: Hello there, Currently in the process of creating interactive world map menu for an installation. The installation's parameters will be based on the country the participant has...

View Article


Update() vs audiobuffer/audioOut()

@ayruos wrote: so I was messing around with some audio visual stuff with the Maximilian library and following along this kadenze course. Wanted to understand why and when I should be doing my...

View Article


How to set polyWindingMode in ofPolyline?

@cuinjune wrote: Hi, I don't know if there's a way to set the polyWindingMode in ofPolyline. I know it can be done in ofPath but it seems there's no such method in ofPolyline. Is it impossible? Posts:...

View Article

Face tracking : Want to load image from picker or camera in ImagePicker...

@Tikam_Chandrakar wrote: Face tracking : Want to load image from picker or camera in UIImagePicker object in Objective c method;Able to get UIImage now i want to load this UIIMage to ofimage object...

View Article

ofEnableSmoothing() doesn't have any effect

@cuinjune wrote: Hi, I'm using OF 0.9.8 on Mac OSX 10.11 I see no difference between enabling and disabling the smoothing. I know it's only effective when drawing in Lines (unfilled). But when I test...

View Article

Why do we need ofSetPolyMode and when to use it?

@cuinjune wrote: Hi, I'm curious in what circumstance, would one wants to use ofSetPolyMode(ofPolyWindingMode) There are these modes, OF_POLY_WINDING_ODD , OF_POLY_WINDING_NONZERO ,...

View Article


ofPath for 2d and ofMesh for 3d?

@cuinjune wrote: Hi, I've been wondering why there are only 2d shape drawing methods(rectangle, triangle..) in ofPath and why there are only 3d shape drawing methods(box, sphere...) in ofMesh. As far...

View Article

getRGB (ofColor)?

@christoph wrote: hum... any idea to enable a split from a color in RGB instead of getHSB ? (to use with a color picker wich gives back a ofColor) Posts: 1 Participants: 1 Read full topic

View Article


ofxMidi send controller change not working

@fdiba wrote: Hello, I'm trying to use ofxMidi to control a midi interface and I need to send some controller change. I have tried to use midiOut.sendControlChange(channel, number, value). The...

View Article

Image may be NSFW.
Clik here to view.

GLSL and Cross Platform

@cuinjune wrote: Hi, I just started learning the basics of Shaders and GLSL. I learned that there are different GLSL versions based on different openGL versions. Screen Shot 2017-01-01 at...

View Article


What do ofPushView and ofPopView do?

@cuinjune wrote: Hi, I've been wondering what exactly the ofPush/popView methods save and restore.How is it different to ofPush/popMatrix and when do you use it?Is it related to ofViewPort? I can't...

View Article

Image may be NSFW.
Clik here to view.

[SOLVED] Calling draw methods in a child class

@no_u wrote: EDIT: Of course two minutes later I realised that it's ofDrawRectangle() and not ofDrawRect(), which is why I was having this error. Thank you OF Forum, for forcing me to go through my...

View Article

Mesh shape splitting on one side

@alaska wrote: So, I've never used those calculations before so its hard for me to think of how to solve it, you can see what I'm referring to in the comments above the lines both in setup and update....

View Article
Browsing all 4929 articles
Browse latest View live