realbasic-games
[Top] [All Lists]

Re: New OpenGL plugin

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: New OpenGL plugin
From: dl1021 at optonline dot net
Date: Wed, 07 Dec 2005 13:02:40 -0500
Delivered-to: realbasic-games at lists dot realsoftware dot com
Priority: normal
References: <4394D750 dot 2000708 at optonline dot net> <1a84c124f37b372513a79b0486bd4c45 at fireyesoftware dot com> <9B8B272C-319F-4878-BDE1-619CA7E445FF at sqlabs dot net>
Will this be an actual OpenGL control that one can drop in their project, or a 
set of declares like Asher's?

http://www.fireyesoftware.com/developer/opengldeclares/?style=default

If they're declares, perhaps you'd like to work from his?

----- Original Message -----
From: Marco Bambini <marco at sqlabs dot net>
Date: Wednesday, December 7, 2005 12:24 pm
Subject: New OpenGL plugin

> I am developing an OpenGL plugin for REAL Basic.
> Things are going pretty well and it seems to really rocks (1500  
> frames per second on my iMac with a simple spinning cube test).
> 
> I have ported about 90% of all the OpenGL 1.4 routines, but I need 
> an  
> advice for some of them from some OpenGL gurus :-)
> What are in your opinion the best way to declare these routines in  
> RB ? (the GLuint *, GLclampf * and the GLvoid * parameters)
> 
> void glSelectBuffer (GLsizei size, GLuint *buffer)
> 
> void glCallLists (GLsizei n, GLenum type, const GLvoid *lists)
> 
> void glDrawElements (GLenum mode, GLsizei count, GLenum type, const 
> 
> GLvoid *indices)
> 
> void glDrawRangeElements (GLenum mode, GLuint start, GLuint end,  
> GLsizei count, GLenum type, const GLvoid *indices)
> 
> void glGenTextures (GLsizei n, GLuint *textures)
> 
> void glPrioritizeTextures (GLsizei n, const GLuint *textures, const 
> 
> GLclampf *priorities)
> 
> void glDeleteTextures (GLsizei n, const GLuint *textures)
> 
> MemoryBlock is easier for me to handle but maybe String() (array) 
> is  
> better for who have to use the plugin.
> 
> Please give me an advice...
> 
> Thanks,
> ---
> Marco Bambini
> http://www.sqlabs.net
> http://www.sqlabs.net/blog/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>