зеркало из https://github.com/mono/mail-archives.git
112 строки
4.5 KiB
HTML
112 строки
4.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] MonoMac and OpenTK?
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20MonoMac%20and%20OpenTK%3F&In-Reply-To=AANLkTikfkBQBz%2Be-J4TAibA_GqDQfeT%3DHpLePprSXrvf%40mail.gmail.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="003952.html">
|
|
<LINK REL="Next" HREF="003967.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] MonoMac and OpenTK?</H1>
|
|
<B>kjpou</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20MonoMac%20and%20OpenTK%3F&In-Reply-To=AANLkTikfkBQBz%2Be-J4TAibA_GqDQfeT%3DHpLePprSXrvf%40mail.gmail.com"
|
|
TITLE="[Mono-osx] MonoMac and OpenTK?">kjpou at pt.lu
|
|
</A><BR>
|
|
<I>Sat Feb 5 04:21:32 EST 2011</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="003952.html">[Mono-osx] MonoMac and OpenTK?
|
|
</A></li>
|
|
<LI>Next message: <A HREF="003967.html">[Mono-osx] MonoMac and OpenTK?
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3966">[ date ]</a>
|
|
<a href="thread.html#3966">[ thread ]</a>
|
|
<a href="subject.html#3966">[ subject ]</a>
|
|
<a href="author.html#3966">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Miguel
|
|
|
|
So MonoMac will not be exposing the OpenGL bindings from MacOSX but
|
|
instead be integrating OpenTK? I have not touched MonoTouch in a really
|
|
long time so did not know that is what you guys were using.
|
|
|
|
I have had a working example of the bindings for OpenGL started on my
|
|
harddrive for a couple of weeks now. I wanted to write a screen capture
|
|
program and have it working with preliminary bindings. Basically enough
|
|
to create a screen capture using OpenGL and then saving that image off
|
|
to a .tiff file. Unfortunately the CGImageDestination class is throwing
|
|
me a curve ball and not working.
|
|
|
|
If we are waiting on the OpenTK bindings then will hold off on what I am
|
|
doing. If you are interested in having the beginnings of an OpenGL
|
|
bindings as well let me know.
|
|
|
|
Kenneth
|
|
|
|
On 2/4/11 4:18 PM, Miguel de Icaza wrote:
|
|
><i> Hello,
|
|
</I>><i>
|
|
</I>>><i> A simple sequence like:
|
|
</I>>><i>
|
|
</I>>><i> using OpenTK.Graphics.OpenGL;
|
|
</I>>><i>
|
|
</I>>><i> Console.WriteLine("MyOpenGLView.DrawRect() _version(-)");
|
|
</I>>><i> string _version = GL.GetString(StringName.Version);
|
|
</I>>><i> Console.WriteLine("MyOpenGLView.DrawRect() _version(+)=" +
|
|
</I>>><i> _version);
|
|
</I>>><i>
|
|
</I>>><i> causes an exception.
|
|
</I>>><i>
|
|
</I>>><i> Is OpenTK the right way to go under MonoMac?
|
|
</I>><i> We want to expose the same version of OpenTK that we use for MonoTouch
|
|
</I>><i> and Monodroid (which is slightly older than the current OpenTK) in
|
|
</I>><i> MonoMac, but we have not done any integration work yet.
|
|
</I>><i>
|
|
</I>><i> The reason for staying with an older version is that OpenTK broke
|
|
</I>><i> their API after we used it in MonoTouch, and we figured that we would
|
|
</I>><i> wait on that API release until they released a final API, to avoid
|
|
</I>><i> tracking changes every week.
|
|
</I>><i>
|
|
</I>><i> As for using the NSOpenGLView, I have not tried using it myself yet.
|
|
</I>><i>
|
|
</I>><i> Miguel
|
|
</I>><i> _______________________________________________
|
|
</I>><i> Mono-osx mailing list
|
|
</I>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>
|
|
</I>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
|
|
</I>><i>
|
|
</I></PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="003952.html">[Mono-osx] MonoMac and OpenTK?
|
|
</A></li>
|
|
<LI>Next message: <A HREF="003967.html">[Mono-osx] MonoMac and OpenTK?
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3966">[ date ]</a>
|
|
<a href="thread.html#3966">[ thread ]</a>
|
|
<a href="subject.html#3966">[ subject ]</a>
|
|
<a href="author.html#3966">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|