Source Code

11 views
Skip to first unread message

Clayton Lilly

unread,
Oct 14, 2009, 4:14:06 PM10/14/09
to Gamaray
I've made the source code available in the files section, but there
are some things you should know:

1) Gamaray doesn't use OpenGL, the 3D objects are all rendered in
software. This means the application will never support the kind of
animations or textures found in Layar and Wikitude 3D.
2) Much of the code is not very well thought out and I don't plan on
spending any time explaining it.
3) I don't plan on supporting an open source project, someone else
will need to upload it to a repository and manage the updates.

I would recommend starting fresh and just picking out the useful
tidbits.

tarotray

unread,
Oct 15, 2009, 2:55:16 AM10/15/09
to Gamaray
Clayton: Thank you. Thank you. Thank you. Now, there is a chance to
have some sort of Open Source Gamaray, in the future.

May I now open the discussion, on the subject of where we go from
here. Who's in and who's out?

I am not a Java programmer, but I'm learning fast. OTOH I have written
a server-side .Net library to easily generate Gamaray compatible xml,
by just calling into it with simple calls. It is in an alpha state,
but I am able to distribute the library, the source for the Asteroids
game, using the library and a 12-page document that explains, clearly,
how to use it.

This was all completed on exactly the very same day that Clayton made
his bombshell announcement :-( Now, I am prepared to bundle it all up
and distribute it, if it has any use to anyone. Please, let me know.
Again, if it turns out to be useful, I am prepared to spend more of my
time on it, in the future.

Does anyone else have any other ideas, as to progress from here? Could
Gamaray become the 'Opera' of AR browsers?

BlackWinged

unread,
Oct 15, 2009, 3:12:18 AM10/15/09
to Gamaray
Thanks, Clayton. I think theres a bunch of highly motivated people
around here, so nothing can go wrong : )
I´m in!
Does anyone have an idea how much work it would take to convert the
rendering to OpenGL?
Some fancy graphics would be nice ; )

tarotray

unread,
Oct 15, 2009, 5:27:51 AM10/15/09
to Gamaray
Clayton's first point is over my head, I'm afraid. The second point
applies to my own code, also, though I don't mind giving lots of
support.

In respect of Clayton's third point, I have registered a new project
at SourceForge called Open Gamaray Project.

I plan to release the VB.Net source code for my DimensionServer
software, soon, and, with Clayton's permission, will also upload his
newly released client-side Java code for Android. The intention is to
use GNU GPL (http://www.gnu.org/licenses/) and CreativeCommons
Attribution-Noncommercial-Share Alike 3.0 Unported (http://
creativecommons.org/licenses/by-nc-sa/3.0/) licenses.

I am a bit of a newbie to this sort of activity, so if there is
someone out there who has any experience of involvement in Open Source
projects and can advise (or even take over the administration, if they
like), I should be grateful.

Of course, if anyone thinks I have already gone the wrong way about
this, please do let me know, constructively.

My primary job in life, at present, is as a web designer, so I plan
also to build a decent web-site around the project. All suggestions
will be gratefully received.. :-)

Gamaray not only rocks, but it also lives again! :-))

On Oct 14, 10:14 pm, Clayton Lilly <gamaray.i...@gmail.com> wrote:

garancsi

unread,
Oct 15, 2009, 12:56:51 PM10/15/09
to Gamaray
Converting the rendering is not that trivial.
The Camera and OpenGL uses the same SurfaceView technology to render
content.
Each need a separate SurfaceView but only one SurfuceView is allowed
in an Activity.
I think that's one reason why Clayton did software rendering in the
first place.
Some people claim to be able to overcome/counteract this limitation,
it can be done, I just don't know how, but still trying :)

OpenGL rendering should be done in native code (donut ndk), it's much
easier to find opengl code in C.

Clayton Lilly

unread,
Oct 15, 2009, 1:05:53 PM10/15/09
to Gamaray
You're absolutely right, I could not figure out how to have both
OpenGL and Camera surfaces active. It must be possible though since
Layar and Wikitude do it.

garancsi

unread,
Oct 16, 2009, 3:28:30 PM10/16/09
to Gamaray
I just made it work. Camera preview and GL. I runs smooth on my HTC
Magic (1.5).
Will make entire source available somewhere, if anyone is interested.

tarotray

unread,
Oct 16, 2009, 5:39:12 PM10/16/09
to Gamaray


On Oct 16, 9:28 pm, garancsi <tgaran...@gmail.com> wrote:
> I just made it work. Camera preview and GL. I runs smooth on my HTC
> Magic (1.5).

You're a star.

> Will make entire source available somewhere, if anyone is interested.

That's why we now have an OpenSource project, including a source code
repository, at SourceForge, called Open Gamaray Project. I have
registered you as a developer, there, so you can log in (using your
OpenID account e.g. Google) and upload source code, under GNU GPL
license. I hope that's Ok for you.

I have put my server-side .Net code there too.

You can also add to the new developer's forum, there, if you like.
BTW IMHO It would be sensible to move these discussions over to there,
from here, ASAP, so that all contributors can co-ordinate development
efforts, in a single place.
Reply all
Reply to author
Forward
0 new messages