Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where is the source code of demo program ? #35

Closed
avilleret opened this issue Aug 13, 2018 · 6 comments
Closed

where is the source code of demo program ? #35

avilleret opened this issue Aug 13, 2018 · 6 comments

Comments

@avilleret
Copy link

I think it will be very valuable to release the source code of the Demo program since they don't rely on external framework like openFrameworks or Cinder.

Then it will be easier to debug custom application.

@leadedge
Copy link
Owner

The code for the demo program is not nice and neat. It started based on a tutorial by NEHE, and has grown from there. I have not cleaned it up because it works reliably and I know what to look for. I also use it for testing. But you are welcome to the source if you contact me.

The Spout SDK itself is not dependent on Openframeworks or Cinder, so you can use a very basic OpenGL program which would be easier to start with than the demo program code which has become complex.

@avilleret
Copy link
Author

it would be nice to provide such a simple example code with sender and receiver to help people starting with Spout and to test around different configuration by looking at the code.

@leadedge
Copy link
Owner

Yes I will look at this. Here is the NEHE tutorial I mentioned. It should be easy to add code such as in the Openframeworks example to make a Spout sender.

http://nehe.gamedev.net/tutorial/texture_mapping/12038/

@leadedge
Copy link
Owner

Updating this. The NEHE tutorials are still there but the download links don't work and the project is fairly old now. More recent tutorials use a VAO and shaders which I will be moving to ultimately. But I will look at making a basic OpenGL example.

@avilleret
Copy link
Author

I took a look at Nehe tutorial before opening this issue but since download links are down and because I'm too lazy to copy and paste all parts of code I asked you for source code :-)

But yes definitely, having small code demonstrating SPout mechanism will be very valuable.

@leadedge
Copy link
Owner

leadedge commented Aug 19, 2018

The NEHE tutorials are good because they are stand-alone, but the problem is that they are legacy code. The more modern OpenGL tutorials depend on other libraries such as Glew or Glad etc., so they are not much good as a simple example. I will think about some source that would plug into those tutorials. But it will be a little while until I can get the time to do it. Meanwhile let's close this one too.

P.S. contact me at any time by email if you need any further help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants