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: Asher Dunn <asher at fireyesoftware dot com>
Date: Wed, 7 Dec 2005 17:42:40 -0500
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <4394D750 dot 2000708 at optonline dot net> <1a84c124f37b372513a79b0486bd4c45 at fireyesoftware dot com> <9B8B272C-319F-4878-BDE1-619CA7E445FF at sqlabs dot net> <da4bc6084296 dot 4396dd70 at optonline dot net>

On Dec 7, 2005, at 1:02 PM, dl1021 at optonline dot net wrote:

Will this be an actual OpenGL control that one can drop in their project, or a set of declares like Asher's?

I have an actual OpenGL control, but I have not released it yet. If anyone is interested, please email me off list. My OpenGL control works with a hierarchical object system similar to Rb3D, but it is all direct declares to OpenGL, and rendering is faster than Rb3D. I have my own custom model format and a program that will convert .obj and .3dmf files to this format. I also have a model viewer program.

Here's an example of what the code would look like when using my framework:

Sub Window1.Open()
        // View is an instance of Ion3DView in the window.
view.attachToWindow(self) // this is necessary because you can also attach directly to a screen for fullscreen OpenGL (Mac only).
        
        //obj is a property of the window declared as an IonObject3D
        obj = new ionObject3D
        obj.loadIonModelFile(getFolderItem("model.i3m")
        view.objects.appendChild(obj)
End Sub

Windw1.Timer1.Action
        obj.yaw(0.1)
        view.render()
End Sub

Asher

-------------------------
Asher Dunn
Head Developer, Fireye Software
http://www.fireyesoftware.com/
AIM, Yahoo, MSN: crazedglkid

_______________________________________________
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>