Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jamesmintram

Pages: [1]
1
Graphics / Image::LoadFromFile crash
« on: August 05, 2009, 10:56:30 pm »
Hi there, I seem to have a problemw ith my application and I cant seem to work it out.

I have created a window and setup all of my openGL stuff before I come to load my image.

Then these 2 lines are executed:

   sf::Image newImage;
   newImage.LoadFromFile ( "particles.png" );

There is a load of garbled output to the console and then the program hangs, when I pause into the degbugger the location is still somewhere within the LoadFromFile function.

Is there likely to be some setting in the application properties?

I am using VS2008. I can run the OpenGL sample program which works without a problem.

Many thanks,

James Mintram

2
Window / DirectX within window
« on: August 03, 2009, 07:07:39 pm »
Hi I was wondering if it was possible to use directx within a window created using SFML.

Basically I want to provide an OpenGL and a DirectX renderer for a game I am writing and I only want SFML to handle all of the Win32 stuff such as window creation, input and event handling.


Is that possible?

If so what kinda stuff would I need to do to accomplish this?

Many thanks,

James Mintram

Pages: [1]
anything