View Full Version : [OpenGL|ES] HG-Engine v0.4 (2010/03/31) G-Sensor Hologram!
ShaWn.cz
6th October 2009, 02:17 AM
http://www.shawn.cz/HG-Engine/Promo.png
Major update, new version contains simple physics!
HG-Engine v0.4
Note: Project is in very early development stage, stay tuned for updates ;-)
This version contains preview hologram environment with object creation and movement. Simple physics and transparency implemented.
How to draw cube:
- Push the position where you want to start and by holding stylus on display move wherever you want
- Okay, now you have a square, push stylus to display and move on x-axis to define back side
- Final stage, repeat step 2 for define front side
How to move cube:
- In this version you can move only with last created cube
- Simply select Move Tool in Features menu and slide or click to destination
How to draw prism:
- Simply click 4 points clockwise on your display
How to draw pyramid:
- Nearly same as creating cube, just try it
Only WVGA resolution is fully tested on Touch Pro 2, pls give me report, how it works on other devices, thanks!
Have a fun!
First game based on this engine >> HG-Proton (http://forum.xda-developers.com/showthread.php?t=570574), more games comming soon!
Project webpage (http://www.shawn.cz/HG-Engine/index.html)
(C) www.ShaWn.cz (http://www.ShaWn.cz)
CHANGELOG
v0.4:
- New objects: Prism and pyramid
- Implemented basic physics (only cubes for now)
- Basic transparency using stencil buffer
v0.3.1:
- Move function added
- Improved textures
v0.3 (private build)
- Draw custom cube
- Some source code optimalizations
v0.2 (initial public release)
- Dynamic light can be turned OFF/ON
__________________________________________________ ____________________________
FAQ:
Q: libgles.dll error
A: Download it from here (http://forum.xda-developers.com/showthread.php?t=443266):
Q: GSensorSDK.dll error
A: Only HTC devices are supported for now. If you have HTC and anyway getting this error, check that you have that dll in the same directory as HG-Engine-exe and make sure, your device has G-Sensor :-)
https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8878233)
DaVince
6th October 2009, 03:03 AM
Works perfectly on Touch HD. It's a little wobbly though, or maybe it's just my accelerometer being too sensitive. But you're definitely heading the right direction, this has a lot of potential. You might wanna do a teeter kind of game with this engine. Keep it up! :D
pongothemagnificent
6th October 2009, 04:52 AM
Works like a charm on my htc fuze, exelent job mate, hopefully this will be an awesome open GL engine for our devices.
ShaWn.cz
7th October 2009, 01:06 AM
Thanx for support, I've uploaded fresh v0.3.1 with very exclusive stuff, just try it ;-)
So, I'm gonna sleep, it's 1 AM here... eNjoy!
player911
7th October 2009, 02:58 AM
Pretty sweet. Apps have only begun utilizing the G-Sensor for stuff like this. I noticed that movement was a little rough, like you had to tip your phone a bunch for the blocks to move a bit. Perhaps you could make the blocks a little more responsive to tilt.
Really neat stuff.
ShaWn.cz
7th October 2009, 12:11 PM
Yes, there's a little problem with G-Sensor, sensitivity could be increased, but it's make G-Sensor departure more visible and movement is not too smooth... I will write some stabilization algorithm to future versions ;-)
borderjo
7th October 2009, 12:50 PM
HG-Engine.exe
MissingMethodException
File or assembly name 'GSensorSKD,
Version=1.0.3554.38726
Culture=neutral, PublicKeyToken=null', or
one of its dependencies, was not found
HELP
Im using the verizon touch pro 2 wm 6.5
I have .net framework
I GOT IT WORKING NVM BUT you should change the sensitivity to higher
ShaWn.cz
7th October 2009, 01:55 PM
You have to put included GSensorSDK.dll into the same directory as exe ;-)
valkryomnia
7th October 2009, 05:02 PM
PLEASE bring this to QWVGA!
My omnia is dying for something like this :)
Mamamam
7th October 2009, 10:20 PM
working on VGA diamond :)
valkryomnia
8th October 2009, 12:34 AM
Please help me.
"An unexpected error has occured in
HG-Engine.exe.
Cant find Pinvoke DLL 'HTCSensorSDK'"
Do I need to download speliomaniac's HTCSensorSDK.dll?
I'm using an Omnia i910 with wm6.5 flashed to it.
valkryomnia
8th October 2009, 12:40 AM
I've pasted HTCEmu.zip package into the game's file.
Now it says 'Cant fine PInvoke Dll 'libgles_cm.dll'.
lyndel4
8th October 2009, 02:22 AM
I've pasted HTCEmu.zip package into the game's file.
Now it says 'Cant fine PInvoke Dll 'libgles_cm.dll'.
Same error :( am running HTC Prophet with WM 6.5 thanks
ShaWn.cz
8th October 2009, 02:54 AM
libgles_cm.dll is software driver for OpenGL|ES, I added FAQ into first post ;-)
I'm really suprised, by Diamond compatibility. Could someone post screenshot, how it works on VGA?
valkryomnia
8th October 2009, 03:32 AM
Ok. I've just placed the libgles_cm.dll into both the game's folder, and the /Windows/ folder. No change. Still getting the exact same error.
arody21
8th October 2009, 03:40 AM
Works perfectly on Touch pro 2 thx :)
njbreaker
8th October 2009, 03:54 AM
working on my TP2 verizon stock rom 6.1 ;)
oauh
9th October 2009, 10:01 AM
I have Omnia i900 (sw renderer) + windows 6.5 and it works perfectly.
WmHTCfreek
10th October 2009, 06:53 AM
Any news? Just switched to omnia i910... not working either.
lesscro
10th October 2009, 08:13 AM
Have planned to adapt to TG01 or Omnia sensor ?
Kev007
10th October 2009, 10:24 AM
Have planned to adapt to TG01 or Omnia sensor ?
i would very much like to test it out on a TG01, there is a lack of G-sensor applications for it. at least there are some for the omnia, its a shame that nothing yet is being developed for the almighty Snapdragon!
ShaWn.cz
12th October 2009, 10:21 PM
Future support for other G-Sensor devices is planned, but it's not high priority for now. Development of engine itself takes sooo much time.
Check out my first game based on HG-Engine >> HG-Proton (http://forum.xda-developers.com/showthread.php?t=570574)
mansemino
13th October 2009, 10:37 AM
As a Blackstone user, I'm impressed with this engine...
And perhaps somebody could develop soon a game like Mach Dice...(http://www.youtube.com/watch?v=xPICxqLeZ-k) :cool:
yiannisthegreek
18th October 2009, 04:21 AM
Hi people...
You have topaste the openglES dll file into your windows directory to get it to work. Pasting the file anywhere else will do nothing...
valkryomnia
18th October 2009, 04:58 AM
Where can I get an openglES dll?
yiannisthegreek
18th October 2009, 05:39 AM
I have one but I dont know how to link a download in this post. Tell me how to give you access to download it and I will paste it here for you.
I am using it on my Omnia i910 if that matters... Probably not... ***EDIT*** The file I have is called libGLES_CM.dll This is the file you need to paste into your windows directory.
valkryomnia
18th October 2009, 07:42 AM
I already tried that :(
rmcsilva
29th October 2009, 11:40 PM
Already abandoned? Hope not...
NetRipper
9th November 2009, 11:30 PM
Both the game and the "tech demo" are working on the HD2 as well. Looking pretty awesome man. Hope you keep this up. :)
ShaWn.cz
8th December 2009, 01:17 AM
No, project is not abandoned, only suspended for a while. I've got actually lot of work in school, and HG-Engine is accepted as my bachelor's work, so next development is necessary ;-) be patient...
Sergey_Z
29th January 2010, 05:25 PM
Works perfect on HD2
ShaWn.cz
31st March 2010, 06:28 PM
UPDATE! Version 0.4 is out, just try it and post impressions ;-)
edit: uploaded in first post...
Vostradamus
31st March 2010, 08:34 PM
UPDATE! Version 0.4 is out, just try it and post impressions ;-)
edit: uploaded in first post...
Impressions: AMAZING
You got some serious talent, man! :)
(lol your dll somehow also fixed the 3d carousel on spb mobile shell, it was working with inverted y axis, never understood why, and now it's fine) :D
chrisonwee
2nd April 2010, 10:31 AM
Bro Vost, do you mind sharing how you get the engine to work in your Omnia II?
I put all the files, including the libgles_cm.dll in the windows folder of the device, but still get the error. I had soft-reset twice..
Thanks in advance
Vostradamus
2nd April 2010, 10:40 AM
Bro Vost, do you mind sharing how you get the engine to work in your Omnia II?
I put all the files, including the libgles_cm.dll in the windows folder of the device, but still get the error. I had soft-reset twice..
Thanks in advance
Sure, but I didn't do anything special...
- downloaded the latest version (0.4)
- extracted on the device (created a folder for it, didn't put anything in windows folder)
- run the executable
it asked confirmation for the first run of the dlls (two or three times), and then it simply worked :p
chrisonwee
3rd April 2010, 09:07 AM
Sure, but I didn't do anything special...
- downloaded the latest version (0.4)
- extracted on the device (created a folder for it, didn't put anything in windows folder)
- run the executable
it asked confirmation for the first run of the dlls (two or three times), and then it simply worked :p
Thanx for the info. I followed your steps above,and I still get error messages:confused::(
Vostradamus
3rd April 2010, 09:59 AM
Thanx for the info. I followed your steps above,and I still get error messages:confused::(
Uhm... that's quite weird :confused: could it be rom dependant?
ShaWn.cz
3rd April 2010, 11:59 AM
Maybe you could try this: http://rapidshare.com/files/323578882/ppcwarez_i8000-htc-GSensorEmu.cab
Let us know, if it works... App also requires .NET CF 3.5, make sure, you have installed.
criminalogic
5th April 2010, 05:26 AM
Does not work, tryed both versions.. extracted tha 3 files.. run tha exe & Nothing happins??
CDMA Diamond 6.1
wapvirus
5th April 2010, 06:04 AM
I'm really suprised, by Diamond compatibility. Could someone post screenshot, how it works on VGA?
Ok you asked to see this running on htc Diamond VGA here you go and please keep up the great work :)
http://i295.photobucket.com/albums/mm123/wapvirus/Screen01-10.png
weazy
8th April 2010, 12:42 AM
cool engine,but i found another one that seems to have much more features, even opengl es 2.0!!! ->www.philippewechsler.ch, there are lots of demos and it seems to be open source
http://www.philippewechsler.ch/TigreGallery.php
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.