Re: [racket] opengl hello world

2010-10-23 Thread Noel Welsh
I don't have the time to write anything right now. Perhaps this code will help: http://github.com/noelwelsh/splatter/blob/master/board.ss There are some comments in the code. Basically it has a lot of OpenGL setup to create a context suitable for 2D drawing, and not a lot more. N. On Sun, Oct 2

Re: [racket] how can I change image's tint?

2010-10-23 Thread Mathew Kurian
Anytime 김태윤. -- Mathew Kurian Seven Lakes High School Cell: 8324932862 | Home: 2814929526 Do all the good you can, by all the means you can, In all the ways you can, in all the places you can, At all the times you can, to all the people you can, As long as ever you can." :) John Wesley *Please be

Re: [racket] how can I change image's tint?

2010-10-23 Thread synx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/23/2010 08:38 PM, 김태윤 wrote: > there must be easy way to change tint(hue, shade) of image > but how to? > thanks in advanced A way, sure, but not an easy way. Racket doesn't have a full featured image processor and photo filter chain ala GIMP/Ph

Re: [racket] how can I change image's tint?

2010-10-23 Thread Mathew Kurian
If you need to see an image of what I am talking about...I have uploaded one here http://img193.imageshack.us/img193/7616/22675416.png Hope this is useful. -- Mathew Kurian Seven Lakes High School Cell: 8324932862 | Home: 2814929526 Do all the good you can, by all the means you can, In all the

Re: [racket] how can I change image's tint?

2010-10-23 Thread Mathew Kurian
Greetings, I am not sure, but couldn't you just convert the image to black&white and then just overlay a colored rectangle with a low opacity (over it). Or you could try to place a colored rectangle over the colored image instead of turning it to black and white, to make things easier. I am not

[racket] how can I change image's tint?

2010-10-23 Thread 김태윤
there must be easy way to change tint(hue, shade) of image but how to? thanks in advanced _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] opengl hello world

2010-10-23 Thread 김태윤
thank you for your suggestion since I am a beginner, the code is pretty big for me is there any hello world level code? thanks in advanced 2010/10/24 김태윤 > thank you! > > 2010/10/24 Noel Welsh > > Basically, you get the gl-context from a MrEd frame. See the example here: >> >> >> http://github

Re: [racket] opengl hello world

2010-10-23 Thread Noel Welsh
Basically, you get the gl-context from a MrEd frame. See the example here: http://github.com/plt/racket/blob/master/collects/sgl/examples/gl-frame.rkt There are other examples in the same directory. HTH, N. On Sat, Oct 23, 2010 at 2:06 PM, 김태윤 wrote: > but I realize that this code lack of fram

[racket] opengl hello world

2010-10-23 Thread 김태윤
opengl hello world hello I am making opengl hello world with reading "OpenGL Super Bible". this book is for C not for scheme so I am trying to changing C code to scheme code but I don't know what exactly I have to do. the object is simple. just show the 3d object rectangle or cube or just color cou