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.


Messages - neolord12

Pages: [1]
1
Graphics / Re: sfml 2.0 texture
« on: June 14, 2012, 02:03:12 pm »
okay, i got it ...videoInput lib returns RGB so array for SFML Texture needs to be RGBA.

Thanks alot for your help!!


SFML is AWESOME!!

2
Graphics / Re: sfml 2.0 texture
« on: June 14, 2012, 01:36:19 pm »
oh well...i guess you knew what i mean, thanks for reply :)

3
Graphics / Re: sfml 2.0 texture
« on: June 14, 2012, 11:54:48 am »
Hey , I am also trying the same.
I use videoInput for capture.
All works fine except i can't figure out how to map the captured Image to a sprite or rectangle.
Any idea's how i could tell a texture to use my Buffer for its pixels?(buffer is a pointer to array of pixels)
LoadFromMemory doesn't work.
How exactly does the texture::update work?It wants sf::Uint8 *pointer but my buffer is unsigned char arrayPointer.
Think i have to convert my pixelarray first to RGBA, but actually i should be able to at least see something but when i use texture.Update(captureBuffer) application crashes right after start.

thanks for any suggestions!

4
Audio / Multiple Audio Devices or Channels?
« on: February 03, 2012, 03:57:54 pm »
hm, i think the device i want to use has 6 channels for output.Can i choose one of these channels to playback a certain file?
on the other hand, can i handle multiple devices with SFML 1.6?
so these are actually two questions :)

5
Audio / Multiple Audio Devices or Channels?
« on: February 03, 2012, 10:00:55 am »
Hi All, first off all, i am new to the Forum.And second...SFML IS AWESOME!!!
Now my question.Is it possible to access multiple audio devices with sfml?
i want to be able to play a certain sound on a certain channel.
I know its possible to get the number of channels of an audio device, but can i also play a sound on only a certain channel.

Thanks alot.

Pages: [1]
anything