<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/csgl/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/csgl/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 27 Sep 2009 17:42:24 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/csgl/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>The type initializer for 'CsGL.OSLib' threw an exception.</title><link>https://sourceforge.net/p/csgl/support-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I'm really new to OpenGL. I was programming on a x86 computer and my applications run fine, but recently i moved to a x64 machine, and it throws the following exception: "The type initializer for 'CsGL.OSLib' threw an exception." Please, help me deal with this issue?&lt;/p&gt;
&lt;p&gt;Here is the part of code where the exception is thrown:&lt;br /&gt;
protected override void OnSizeChanged(EventArgs e)&lt;br /&gt;
{&lt;br /&gt;
base.OnSizeChanged(e);&lt;br /&gt;
Size s = Size;&lt;/p&gt;
&lt;p&gt;GL.glMatrixMode(GL.GL_PROJECTION);&lt;br /&gt;
GL.glLoadIdentity();&lt;br /&gt;
GL.gluPerspective(45.0f, (double)s.Width / (double)s.Height, 0.1f, 100.0f);&lt;br /&gt;
GL.glMatrixMode(GL.GL_MODELVIEW);&lt;br /&gt;
GL.glLoadIdentity();&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;It is thown on the first line: base.OnSizeChanged...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandr Dermenji</dc:creator><pubDate>Sun, 27 Sep 2009 17:42:24 -0000</pubDate><guid>https://sourceforge.netb6a766e51fa39e6d2a0052c0dddd955af6686c12</guid></item><item><title>Model Import Problem</title><link>https://sourceforge.net/p/csgl/support-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi! Hope youre having a good time.&lt;/p&gt;
&lt;p&gt;Im sorry to bother you with such nonsense&lt;br /&gt;
(as you may see this) but Ive got some big trouble&lt;br /&gt;
that Im unable to solve by myself. Ive already tried&lt;br /&gt;
to solve it trough friends, professors, programmers,&lt;br /&gt;
mailing lists and almost any way I thought of. However,&lt;br /&gt;
Ia afraid I came out with the necessity to ask you for&lt;br /&gt;
help.&lt;/p&gt;
&lt;p&gt;Im using the ObjReader you wrote, along&lt;br /&gt;
with the ObjModel. In ObjModel there is an DisplayList&lt;br /&gt;
called obj which contains the list generated by CsGL.&lt;br /&gt;
This obj object contains an attribute called Base,&lt;br /&gt;
which is used lately in the Init method as parameter in&lt;br /&gt;
GL.glNewList. However, obj.Base (which is a uint)&lt;br /&gt;
generates an exception. I guess its improperly&lt;br /&gt;
initiated when the obj object is constructed. However,&lt;br /&gt;
it is inaccessible. The question is: How can I correct&lt;br /&gt;
this error? Id love to get the source code of a simple&lt;br /&gt;
functional program which uses these .cs classes, since&lt;br /&gt;
Ive been unable to find any example on how to use&lt;br /&gt;
them. Hope you can help me, since this is beginning to&lt;br /&gt;
get on my nerves. Thanks a lot.&lt;/p&gt;
&lt;p&gt;Greetings,&lt;/p&gt;
&lt;p&gt;Gabriel Hernandez.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gaboh20</dc:creator><pubDate>Thu, 11 Nov 2004 21:19:52 -0000</pubDate><guid>https://sourceforge.netf1239bcb4c5fed2bb79ae1f2d40406d452a15685</guid></item><item><title>Model Import Problem</title><link>https://sourceforge.net/p/csgl/support-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi! Hope youre having a good time.&lt;/p&gt;
&lt;p&gt;Im sorry to bother you with such nonsense&lt;br /&gt;
(as you may see this) but Ive got some big trouble&lt;br /&gt;
that Im unable to solve by myself. Ive already tried&lt;br /&gt;
to solve it trough friends, professors, programmers,&lt;br /&gt;
mailing lists and almost any way I thought of. However,&lt;br /&gt;
Ia afraid I came out with the necessity to ask you for&lt;br /&gt;
help.&lt;/p&gt;
&lt;p&gt;Im using the ObjReader you wrote, along&lt;br /&gt;
with the ObjModel. In ObjModel there is an DisplayList&lt;br /&gt;
called obj which contains the list generated by CsGL.&lt;br /&gt;
This obj object contains an attribute called Base,&lt;br /&gt;
which is used lately in the Init method as parameter in&lt;br /&gt;
GL.glNewList. However, obj.Base (which is a uint)&lt;br /&gt;
generates an exception. I guess its improperly&lt;br /&gt;
initiated when the obj object is constructed. However,&lt;br /&gt;
it is inaccessible. The question is: How can I correct&lt;br /&gt;
this error? Id love to get the source code of a simple&lt;br /&gt;
functional program which uses these .cs classes, since&lt;br /&gt;
Ive been unable to find any example on how to use&lt;br /&gt;
them. Hope you can help me, since this is beginning to&lt;br /&gt;
get on my nerves. Thanks a lot.&lt;/p&gt;
&lt;p&gt;Greetings,&lt;/p&gt;
&lt;p&gt;Gabriel Hernandez.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 11 Nov 2004 21:07:14 -0000</pubDate><guid>https://sourceforge.net93d4a652a0a9b5f4e47f57b6c794d9136058e7ca</guid></item><item><title>Weird problem with texture mapping</title><link>https://sourceforge.net/p/csgl/support-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am having a problem texture mapping.  I have derived &lt;br /&gt;
a control from OpenGLControl and have put an instance &lt;br /&gt;
on a form.  The instance has an OpenGLTexture2D &lt;br /&gt;
object with a texture stored in it that I use to texture a &lt;br /&gt;
square polygon.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;You can rotate the polygon using the mouse and left &lt;br /&gt;
mouse button.&lt;/p&gt;
&lt;p&gt;You can change the polygon by pressing the F1 key and &lt;br /&gt;
browsing your file system for a specific texture.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;I use the following code to implement my rotation.&lt;/p&gt;
&lt;p&gt;base.GrabContext();&lt;br /&gt;
GL.glMatrixMode(GL.GL_MODELVIEW_MATRIX);&lt;br /&gt;
GL.glPushMatrix();&lt;br /&gt;
GL.glLoadIdentity();&lt;br /&gt;
GL.glRotated(alpha, axis.x, axis.y, axis.z);&lt;br /&gt;
GL.glMultMatrixd(rotMatrix);&lt;br /&gt;
GL.glGetDoublev(GL.GL_MODELVIEW_MATRIX, rotMatrix);&lt;br /&gt;
GL.glPopMatrix();&lt;/p&gt;
&lt;p&gt;The problem I have arises when I do a rotate and &lt;br /&gt;
change the texture.  If both of these things have been &lt;br /&gt;
done, then on my call to m_texture.Bind() I get an &lt;br /&gt;
exception &amp;amp;quot;invalid enumerant&amp;amp;quot;.&lt;/p&gt;
&lt;p&gt;I have attached the source for a simpe application that &lt;br /&gt;
has the problem.  I am not a beginner with OpenGL and &lt;br /&gt;
have troubleshot this for a while.  I'm not sure if there is &lt;br /&gt;
a bug in the wrappers or if it's in my code.  If someone &lt;br /&gt;
could please look at this problem and help me out it &lt;br /&gt;
would be much appreciated.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;If you would like to contact me directly my email &lt;br /&gt;
address is Drew.McLean@__nospam__cedara.com with &lt;br /&gt;
the __nospam__ removed.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Drew&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 09 Oct 2003 20:41:51 -0000</pubDate><guid>https://sourceforge.neta40054cea34e879b972115934e335611d95bd622</guid></item></channel></rss>