John,
Thanks very much for the help. The "data = CGBitmapContextGetData(context)" had
me confused, I was wondering if the Pointer type need a change, so you view
that it's a bug is very helpful. Yes, I now have IcePhage working.
I'll start trying to collate what has been written about Pointer a
Hi Jonathan,
yes i discovered that yesterday too.
Changing all of the "i" s to "I"s was not too hard - i do not know if this is a
change in Pointer types or whatever.
The bigger issue is that this call:
data = CGBitmapContextGetData(context)
no longer seems to return the correct data type (typ
Why stop there? As we start to accumulate a growing collection of code
samples and "conventional wisdom" about how to solve certain types of problems,
it would be nice to get all of that information properly categorized and up on
the project web site (specifically somewhere linked from
https:
Jonathan,
> I'm trying to teach myself openGL using the superbible and other web
> resources. To keep things simple I wanted to build the superbible examples in
> MacRuby - this should give me an easy to use platform for just trying to get
> my mind around the openGL paradigms.
Same here.
>
John,
I've just started to look at your IcPhage9 and CarNage8. Neither runs 'out of
the box' under MacRuby Beta.5(2). There are various problems with the Pointer
support having evolved (I think), e.g.: errors like "Pointer of type `i', got
`l'" - I'm working to correct these and see if I can ma
Julien,
Thank you for the response. I'm not sure that ticket#520 is my problem. I don't
think that the glut framework on 10.6.2 has been processed by bridge support.
I'm trying to teach myself openGL using the superbible and other web resources.
To keep things simple I wanted to build the super
Thank you again for offering the additional resources. It would be great if you wanted to add them to your idisc.sure.I did find a copy of your excellent presentation "Building Games with MacRuby and OpenGL", I must work through the slides again. Did you consider sharing your game tools? The pre
Jonathan,
The MacRuby-Cocoa-OpenGL sample code you mention in your first post is not
complete. The reason might be a Bridgesupport problem, reported in ticket #520.
I recently bought the SuperBible to better understand the OpenGL sample code I
was porting to MacRuby. What example are you tryin
John,
Thank you again for offering the additional resources. It would be great if you
wanted to add them to your idisc.
I did find a copy of your excellent presentation "Building Games with MacRuby
and OpenGL", I must work through the slides again. Did you consider sharing
your game tools? The
Jonathan,
I made some games in opengl this time last year (which now seem quite
naive, as i did not know opengl or cocoa, so they could do with a good
refactor).
I do not know if they work with the current version of macruby but they
are on my idisk:
www.johnmacshea.org
navigate thru M
John,
Thank you for the response. GLUT won't be my first choice but I'm trying to
follow the examples in the SuperBible.
I'm wondering what the plan is to support all the 'standard' frameworks in
MacRuby is? Should I be able to process the GLUT.framework with
gen_bridge_metadata?
Meanwhile I
Yes as far as I know bridge support does not support GLUT.
So you (obviously) have two other options other than gen_bridge_metadata (which
I gave up on after a few tries) :
- don't use GLUT - use the equivalent (set of) non GLUT openGL calls
- place the GLUT calls in an ObjC class - and call out
Hi, I'm back to using MacRuby again and I'm confused about Bridge Support.
I have been using the excellent sojaster port of the Cocoa OpenGL example to
help develop an OpenGL playpen. However, when I started using glut calls
(glutBitmapCharacter, glutStrokeString, etc) I started to get problems.
13 matches
Mail list logo