[REQ:] [3D] OpenGL Demo Competition and Developer Support - HD2 Windows Mobile 6.5 Themes and Apps

Seeing all the buzz'nfuzz about the OpenGL capabillities of this phone,
I pledge in this thread to ask developers to write a small howto on OpenGL
programming for this device. Not gamers per definition, but demo's.
A "demo" means an application that shows the skill of the programmer, and the performance of the device.
Looking at the work of vanKurt with his "tea-app"
http://forum.xda-developers.com/showthread.php?t=588650
and other openGL projects , I wonder if we can re-live the 80's in highres this time, hence,
I vote to start a demo competition !
Would like to hear from the pro's, the amateurs and the users if there's
any momentum to be gained here.
EDIT : poll question should read: "you are <20 years old"

I'm thinking this might be pretty cool... I have a base set up for OpenGLES 1 programs that I can release the code for if people want?
It's bloody slow on the HD2, so I'll see if I can make it work using a different setup, but it is at least a base for people to work from.

That would definately be interesting. The sad thing is: so far I only developed OpenGL ES 1.0 stuff. And for reasons I don't understand it all runs slow as hell on my HD2 (as mentioned above).
Thus I'm a little stuck at the moment. I have no clue how to migrate the code to OpenGL ES 2.0 (which is hopefully the solution???), so right now I can't contribute anything running > 10 FPS
Strangly there are some 3D game demos (XTRACT, Experiment 13, Electopia) which run absolutely smooth on the HD2. So as soon as this "miracle" is resolved we can get started....

OK let's jumpstart
If you both could post your work and your devsuite tools we can try and see if we can get started. Having a few users try, fail, ask and succeed seems a good idea.
Thanks for helping out.

VanKurt said:
That would definately be interesting. The sad thing is: so far I only developed OpenGL ES 1.0 stuff. And for reasons I don't understand it all runs slow as hell on my HD2 (as mentioned above).
Thus I'm a little stuck at the moment. I have no clue how to migrate the code to OpenGL ES 2.0 (which is hopefully the solution???), so right now I can't contribute anything running > 10 FPS
Strangly there are some 3D game demos (XTRACT, Experiment 13, Electopia) which run absolutely smooth on the HD2. So as soon as this "miracle" is resolved we can get started....
Click to expand...
Click to collapse
Experiment 13 is using OpenGLES1, not 2, as is Manila, so clearly the hardware and drivers are up to it...

It might be worth having a look at the Silvermoon UI code over at codeplex. It was written using OpenGL and is open source, so could prove useful to people.

evorgevol said:
It might be worth having a look at the Silvermoon UI code over at codeplex. It was written using OpenGL and is open source, so could prove useful to people.
Click to expand...
Click to collapse
It's also very smooth... Will take a lot at the source code and try and work out why...
Will also film it when I can get a camera, and do a comparison with a Diamond and a few other applications...

Hi guys
I've tried getting the 3 games mentioned above ... but can't ... they've either been pulled from the XDA threads or they are on rapidshare which says I can't download because I'm downloading something already ... and I've not downloaded anything from it for months.
Cheers
Paul.

Has anyone tried OpenTK (Open Toolkit). Using their OpenGL ES bindings?
Or is pure c++ the way forward?

It's a great idea! I won't be joining myself though, as for all my driver patches for various platforms and such, I still struggle with drawing a rotating triangle
(I really should get into that, but time is always a restricting factor)
Looking forward to what you guys can come up with!

Related

Windows CE

Hi all, hope u had a nice week-end
I have resuscitated an old HP Jornada, and I was wondering if one can still find softwares for windows CE. Especially games, even basic ones since it is intended for use by my kids.
Thank you and take care
i believe that games for the cpu will work
as in if it have an arm cpu arm based games will work
and if it's mips mips games will work
games are typicaly written in asm directly for the cpu and the os dont mean that much
Redugar - I don't mean to be rude but are you leaving in the 80s?
No one has bee writing games or anything other than drivers and other OS / basic components using assembler in over a decade and a half!
It's way way too much work and not at all necessary.
But you are right about one thing - I've seen on some freeware sites like www.pocketpcfreeware.com apps that were compiled for CE2.11 so yes I do believe there is a good chance to find a few games.
Thanks folks for your replies.
I've tried very "basic" games like ICBM, but they won't run.
Visual basic stuff works provided one downloads the appropriate dll.
Will keep searching.
Take care,
well i may still look like this
http://thor.mirtna.org/features/titular_movie_themes_limahl.jpg
but my dukenukeem3d and warcraft2 are just in dirs on my sd card and they run under wm2002 to wm2005 3.5AKU without even a reinstall
so they are not really taking advantage of any newer features of the os
same with this doomCE port
http://www.revolution.cx/DoomCE.htm
levenum said:
Redugar - I don't mean to be rude but are you leaving in the 80s?
No one has bee writing games or anything other than drivers and other OS / basic components using assembler in over a decade and a half!
It's way way too much work and not at all necessary.
Click to expand...
Click to collapse
Check out SmartGear (see my emulation-related articles) and the new Pocket QuickView ( http://www.modaco.com/Pocket-QuickView-40-looking-for-ideas-t255364.html )
The mission-critical sections were all written in assembly. This is why it's WAY faster than any other, C-based emulators / image viewers.
maybe using gcc for arm to some some nativ arm code would also have less overhead then win32 stk
though not sure how many libs would be required to be linked to so could end up a drag
Ok, I know when I am bitten but I am just no willing to quit!
(Just to reiterate - to 80's remark was meant in good fun and not intended as an insult, plus this was written late at night after a long work day)
Any way it does make sense that for high speed some graphics rendering routines will be written in assembler (note that unfortunately eVC tools do not include inline assembler so modules have to be compiled separately and then linked)
I do remember taking a peak at the DOOM port and it is mostly C. (Though I am sure it has assembler sections).
What I was trying to say is this:
a) You can't write a whole game like DOOM in assembler only in reasonable time.
b) Even assembler modules need to be eventually linked in to an executable so the OS (what ever it is) can load them - and here is the problem. Every exe has a header that states what processor and what OS it is designed for. Even if your app does not use new OS features, but is linked using a higher OS SDK settings the exe header will contain a version number unknown to the OS and it will refuse to load stating that it is "illegal file".
A less prehistoric example would be files compiled with WM 6 SDK refusing to run on WM 5 despite the fact that there is almost no difference in the OS.
"(Just to reiterate - to 80's remark was meant in good fun and not intended as an insult, plus this was written late at night after a long work day)"
dont think anybody took it any other way at least i did
what i should had said maybe rather then that they were in pure asm
then maybe that they were not that depending on the os and version of the os itselfs
and maybe of those fps like doom and nuke3d and such
are ports of old dos games where that was more the custom then later on when windows gaming took off

Help make multitouch stuff

RyeBrye recently proved that multitouch is possible (though disabled) on the G1 and has created a short video using it in the fingerpaint app. He is working on other stuff, but it would be great if more ppl would work on this to get the wheels turning. Anyone who is interested should read his blog http://www.ryebrye.com/blog/
AWESOME!!!
Yeah, help would be appreciated
The proof of concept video uses an ugly hack to work around getting the events into the java framework properly - but with a little bit of work it should be possible to both get a functional stack built up, and also work on some patches to get proper multitouch into the android platform itself.
The multitouch being in android itself wouldn't benefit people who don't have hacked G1's - but being able to put stuff on the market that would make use of multitouch if it were available (and it woudl be on hacked G1's) would be nice.
First of all, I think hacks will come out soon for RC30+ devices just because there are a lot of ppl getting those now. Also I think that the more apps are "Multitouch only" the more ppl will beg for this feature. Im looking at it as "Build it and they will come" in reverse "Bring them and we will build it"

OpenGL live wallpaper problem

This should be in development forum, but I cannot start thread there. Moderators, please move if possible.
I've made OpenGL live wallpaper (really port of my windows program developed long ago). It works fine (but extremely slowly, I guess due to lack of real hardware acceleration) in emulator and in my own device (garmin-asus A10) but I have a lot of feedback that there have problems on other devices. The problems reported really mean that textures are not drawn (primitives drawn without texturing). Everything work except textures (and they are the most important part).
I have no possibility to debug on another device by myself. So I call other developers for help.
The code is fully open here: code.google.com/p/android-deep-wallpaper/
Application link in market: market.android.com/details?id=com.digitalinfinity.deep
I want everyone to test on devices and possibly try to debug code. The code is very simple so I really have no idea where problem could be.
PS: If someone would like to further maintain this project just write to me.

PC emulation on Android - OS XDA project links.

So in this thread it tells you how to install pc operating systems like windows and linux on the Evo 3D.
http://forum.xda-developers.com/showthread.php?t=1459153
This, is freaking awesome. This one is a big breakthrough.
----
Here is the thread in the Nook Color forums for ubuntu on the device:
http://forum.xda-developers.com/showthread.php?t=1055954
----
These two threads are native installs, not using some client to access the installation, the device itself is the client as it should be.
This is not some chrooted virtual OS simulation, but the real deal installed to the device.
----
In the back of my mind i've wanted to play with ubuntu installed on the MT4GS, but not a virtual installation I want it installed and running on the device natively.
I definitely don't have the time to do this and a lot i'm trying to do around here even if I wasn't in my busy season for work.
Dropping this information so I can find it later when I do get to trying to get ubuntu (and now windows XP looks like a possibility) installed on this device.
If anyone else feels like looking into this, here's a good place to start. If anyone comes across any other projects that are the real deal and not virtual installs please post links here.
Have fun!
Blue6IX said:
So in this thread it tells you how to install pc operating systems like windows and linux on the Evo 3D.
http://forum.xda-developers.com/showthread.php?t=1459153
This, is freaking awesome. This one is a big breakthrough.
----
Here is the thread in the Nook Color forums for ubuntu on the device:
http://forum.xda-developers.com/showthread.php?t=1055954
----
These two threads are native installs, not using some client to access the installation, the device itself is the client as it should be.
This is not some chrooted virtual OS simulation, but the real deal installed to the device.
----
In the back of my mind i've wanted to play with ubuntu installed on the MT4GS, but not a virtual installation I want it installed and running on the device natively.
I definitely don't have the time to do this and a lot i'm trying to do around here even if I wasn't in my busy season for work.
Dropping this information so I can find it later when I do get to trying to get ubuntu (and now windows XP looks like a possibility) installed on this device.
If anyone else feels like looking into this, here's a good place to start. If anyone comes across any other projects that are the real deal and not virtual installs please post links here.
Have fun!
Click to expand...
Click to collapse
Regardless of what impression you may have, it is ABSOLUTELY IMPOSSIBLE to run MSWin on ARM hardware natively. The reason for this is that MSWin is x86 and ARM is... ARM. The approach used in the first link is to use BOCHS (pronounced "Box"), which is a VIRTUAL HARDWARE EMULATOR. It requires a host operating system to be functioning in the background, in this case Linux.
As for Ubuntu... well sure. No problem. Its Linux and the phone runs Linux. Not that big of a stretch to replace the Android parts with GNU.
Note that NONE of this is any kind of "great breakthrough". Bochs has been around for a VERY long time. First OPEN SOURCED in early 2000. Yeah, 12 years ago. As for Ubuntu... well I suppose that the main reason that most people aren't making a native android replacement out of ubuntu, is that not many people are all that interested in it. Cute in theory, but not practical.
What would be a more worthy project would be to upgrade android to GNU libraries and utilities. This would afford us an actually USEFUL balance between the two. Also the ability to run X *through* android without having to do stupid things like VNC. Have the proper interface ***AS AN ANDROID APPLICATION***, leaving Android to work (i.e., phone calls, etc.) while simultaneously offering the standard Linux applications.
My thought though, is that this is becoming less and less important. Firefox is on Android now, the Document foundation has announced LibreOffice for Android -- supposed to be by late 2012 to early 2013... GIMP has no place on Android... That certainly covers the basics.
Appreciate the post. I didn't have time to dig into it too deeply, so took it at face value for the impression I got. Happened to come across it in passing and didn't want to lose track of something vital to the future dev of a project like this on the doubleshot. (but definitely this doesn't belong in the dev section at this time - just clutter there.)
I was hoping people would add to it, especially the way you have, who had more of an understanding of what's going on there - I didn't realize that it was a virtual environment for the windows stuff, but it did seem to good to be true.
Even if no one responded I figured the thread would get pushed down out of the way, but still be here when I got the time to come back to it.
----
My reason for running native linux on the device itself is to be able to use the Android SDK and tools without needing a computer to do so. I have 2 of these phones and a Nook Color. The NC has USB host support, so I could plug the doubleshot into it without frying either device. (yes, i'm blending android and linux concepts here - but usb host support in android shows that it's capable of doing it)
Even from one doubleshot to the other I could use wifi adb for a lot of stuff without plugging them into each other through USB and frying the phones. So that would be a victory as well.
The lack of a hardware charging circuit in the doubleshot makes the worry of frying the phones a big deal, power transfer through USB is a big hurdle to jump in management.
Beyond that - the doubleshot is powerful enough on hardware specs to be able to compile a kernel, but that's not gonna happen through a virtual linux install because the overhead is too much. A native install might just be able to do it though. Won't know until I try, but it's worth the work to get to the point of trying, even if it doesn't work out.
The Nook Color probably won't be able to compile a kernel - it's asking too much from a device not really able to handle that.
Getting what I mentioned above to work would mean I could do all my dev work with what fits in my pocket, and let me keep working wherever I am.
I do like the idea of an app to work with this through Android itself - but I don't see how I could use the SDk and variety of user-created tools without a native linux install. Worth pursuing either way though.
If anyone has anything to add, i'd be welcome to hear it. Just understand this is not a project i'm working on or actively pursuing right now - but fully intend to down the line.
Actually blue. There is a thread somewhere that has a step by step on installing ubuntu on gingerbread. I meant to add it when I added the backtrack link. For some reason I didn't, I probably forgot, I actually think the link for it is in the backtrack thread in the sticky.
If I do find it ill let you know.
Sent from my ICS Splashed using Tapatalk

How To Run Windows on Android!

I made this video to show all of you guys some cool novelty stuff.
If you're going to watch the embedded video, turn subtitles on. If not, go here.
This video shows any user, not just Cyanpeople how to run Windows 95 on your phone.
Also, please comment for any concerns or other things.
Unfortunately, there is a lack of commentation on a lot of my "development" threads (boot animation creation and such) that I am slightly discouraged in doing these things. So, please, comment or thanks! or both.
So here's the second video I promised. It shows a basic installation of a program and hardware acceleration settings. In Limbo, you mount an .iso to the CD drive. I recommend using Ubuntu to compress the .exe that you need into that .iso file, it's fast and easy. It's how I installed Daggerfall
If you want the original on YouTube, go here.
Bump, still no comments. I kinda was hoping to get some feedback, but alas, just like at my workplace, I am taken advantage of.
I don't find it useful to me but nice to see this. Great job and hope you find other things to develope. Thanks for your hard work.
Cheers
afcrib said:
I don't find it useful to me but nice to see this. Great job and hope you find other things to develope. Thanks for your hard work.
Cheers
Click to expand...
Click to collapse
Thanks, man! :good:
thanks for this @AndrMatr , will give it a go. pretty much computer illiterate ; lol , but we'll see.:good::thumbup:
"all i can really do , is stay out of my own way and let the will of heaven be done"
mrrocketdog said:
thanks for this @AndrMatr , will give it a go. pretty much computer illiterate ; lol , but we'll see.:good::thumbup:
"all i can really do , is stay out of my own way and let the will of heaven be done"
Click to expand...
Click to collapse
If you need any help with computers (hardware-wise) I can help. It's what I went to college for.
Nice thread. This is a QEMU emulator. I had tested this before in my old Note N7000 and was.. well.. a gimmick. A QEMU emulator is capable to run an emulated x86 architecture over an ARM device, there's no proper driver for video, hardware aceleration, camera, sound (some emulators have this working but pretty buggy), sensors, etc. It just loads a barebones Windows with almost all capabilities disabled. Just forget to run Microsoft Office on it or navigate via web or play DOOM on it. Yes, you can run even Windows 7 on it (I've seen a jailbroken iPad with this working).
Anyway, is good to see that people like you expands what QEMU emulator is, as just a few knows what this emulator can do.
galaxynote2 said:
Nice thread. This is a QEMU emulator. I had tested this before in my old Note N7000 and was.. well.. a gimmick. A QEMU emulator is capable to run an emulated x86 architecture over an ARM device, there's no proper driver for video, hardware aceleration, camera, sound (some emulators have this working but pretty buggy), sensors, etc. It just loads a barebones Windows with almost all capabilities disabled. Just forget to run Microsoft Office on it or navigate via web or play DOOM on it. Yes, you can run even Windows 7 on it (I've seen a jailbroken iPad with this working).
Anyway, is good to see that people like you expands what QEMU emulator is, as just a few knows what this emulator can do.
Click to expand...
Click to collapse
Actually, Daggerfall runs smoothly now and the sound works I installed Abiword, too. Runs fine.
Bump, thanks everybody for their support! I will be uploading more videos soon, it will be in an edit so stay tuned and/or subscribe!
Alright, that second video is up in the first post like I said it would. enjoy!

Categories

Resources