Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

ofImage.load from absolute path?

$
0
0

@rothwellJack wrote:

Hi! First post.

Haven’t used openframeworks in awhile(since, i think, 0.8.0)

Trying to load an series of images from a directory outside of “/bin/data”

Whenever I call image.load(“E:/users/jack/blahblahblah/image.png”) the image won’t load and i get:

ofGLProgrammableRenderer: draw(): texture is not allocated
ofTexture: getTextureData(): texture has not been allocated

Have also tried ofFilePath::makeRelative(" ", “filepath”) and no joy

How would i go about doing this??

Using OF 0.10.0 and visual studio 2017

Please help!!

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Latest Images

Trending Articles



Latest Images