![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on BD-J flight demo within the PS3 Hacks, Exploits and Homebrew forums, part of the PS3 Main category; Hi I reworked some of my old terrain rendering stuff I used to play around with in the PDA days. ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
Hi
I reworked some of my old terrain rendering stuff I used to play around with in the PDA days. It used to be in C on the PDA, now I just did a very quick port to java (not using fixed point arithmetic but floats in stead). I don't get it as snappy as I want, could be optimized a lot further. extract the AVCHD folder to some USB storage device and run it Use the arrow keys to turn and control the speed, use the square and X to change the altitude of the player's view. the flight2 directory has the source, see how small the actual render routine is. It is a ray caster based on this article : http://www.tecgraf.puc-rio.br/public..._rendering.pdf I uploaded the file to rapidshare, since attachments in this forum do not seem to be working for me (quota exceeded) link : http://rapidshare.de/files/40209903/flight3D.rar.html ![]() have fun Last edited by Nuclear Bit; 08-11-2008 at 04:56 AM.. |
|
|
|
|
|
#2 |
![]() |
How did you port C to java?
__________________
PSN-Cooguy1212 feel free add me [QUOTE]Anyways, Obama won. Suck it up sore loser. Now go ahead and leave your country like you said you would so nobody has to endure your crap any longer. Just please dear god don't come to Canada. Nobody would welcome you here with your close-minded bull****.[/QUOTE] |
|
|
|
|
|
#3 |
![]() |
rewriting it may have been a better word choice than 'porting' it.
The render routine in C used a lot of pointer arithmetic in order to directly write to the video backbuffer, all of this had to be replaced by buffered image operations in java (making it slower of course) . I also removed the fixed point operations, since I had no fixed point lib for java available. Sure it would be faster with a decent fixed point lib, I guess they do exist, but I didn't bother searching for one yet (or implementing one). However apart from the memory addressing the routine stayed pretty much the same. I also wonder why the MemoryImageSource is not working which I tried to use first, it seems that this is not supported in BD-J. As an alternative I found the DVBBufferedImage which has a setRGB() where you can pass an array of rgb pixels. This results in an extra copy from the renderbuffer to the backbuffer ... all causing loss in speed of course. hope that someone finds a better or faster way to blit pixels so we can go full screen at 25fps -=Double Post Merge =- btw the terrain texture and heightfield were created with L3DT http://www.bundysoft.com/L3DT/ great software and free version available, you can easily recompile and provide a new land.jpg and height.jpg file, the size of both files is 512x512 Last edited by Nuclear Bit; 08-09-2008 at 11:35 AM.. Reason: Automerged Doublepost |
|
|
|
|
|
#7 |
![]() |
Awesome dude I will try it later is it 3d? Cos if it is then finally it shows the true power of BD-J homebrew that some people said we may never go further than snake.
__________________
I own a Playstation 3,PSP and a Wii add me on psn: azazin, [QUOTE=TheMasterChef]Who gives a rat's ass about the size anyway?? It is not like you carry it around every day.[/QUOTE] |
|
|
|
|
|
#9 |
![]() |
hey Nuclear I was wondering if it's actually you on ps3hax.net that has posted this too look here:
http://www.ps3hax.net/showthread.php?t=6136
__________________
I own a Playstation 3,PSP and a Wii add me on psn: azazin, [QUOTE=TheMasterChef]Who gives a rat's ass about the size anyway?? It is not like you carry it around every day.[/QUOTE] |
|
|
|
|
|
#10 |
![]() |
yes that was me.
I just finished a fixed point version which is a lot faster and runs really smooth, download and try it from: http://rapidshare.de/files/40207470/flight3D.rar.html basically it looks like the JVM used in the PS3 has no hardware accelerated float/double support, so you'll need to use fixed point if you want speed |
|
|
|
|
|
#14 |
![]() |
|
|
|
|
|
|
#15 |
|
Hope we see some good stuff come from this, The main problem I can forsee is that only one app can be run off a memory stick at a time.
Expecially as the bj exploit won't allow access to other folders. Good work though keep it up. |
|
|
|
|
|
|
#16 |
![]() ![]() PREMIUM Member
|
that's not true, the problem is that no one has taken the time to crate a launcher.
__________________
My Releases In No Particular Order: ---------------------------------- TetriAbetes 1.21 | Metroid Life 0.03 | PSP Phone Dialer 0.02 | Test Your Might | Super Turbo Turkey Puncher 3 Nort v0.4 | Star Wars: Rocks 1.02 |Color Blocks | LUAmines 0.06b | LUAmines Patch to 0.6C | LUAmines Lite: Mario Edition Super Random Card Fighter 2 Special Champion Edition Alpha V0.3 |
|
|
|
|
|
#18 |
|
PREMIUM Member
|
Couldn't the Blu-Ray menus be used for this? Since the memstick basically mimicks a Blu-Ray disc, it should be possible to choose the application to launch this way.
|
|
|
|
|
|
#20 | |
![]() |
Quote:
sixaxis control would be great, but since BD-J is basically a spec for all blu-ray devices it is not very likely we can capture that input... -=Double Post Merge =- yes I think so too, you'll need a BD authoring tool to do this Last edited by Nuclear Bit; 08-13-2008 at 02:18 PM.. Reason: Automerged Doublepost |
|
|
|
|
|
|
#21 | |||
![]() |
Quote:
Quote:
Quote:
|
|||
|
|
|
|
|
#22 |
|
Sounds as though this could turn out quite sweet for ps3 owners.
![]() Lets hope for a leap in what can be done with this. Yes you are quite right about it not being an exploit. Sony should be cool about this and not try to block it, it is after all a feture of the ps3. Not sure about the fact that it is not running from a blue ray disk though, Although sony left it open to run off memory card / stick anyhow so can't see it as a problem. |
|
|
|
|
|
|
#23 |
|
No longer a community member.
|
|
|
|
|
|
|
#24 | |
![]() ![]() PREMIUM Member
|
Quote:
what i did not mean: a loader to load ps3 games off the hard drive. THANK YOU.
__________________
My Releases In No Particular Order: ---------------------------------- TetriAbetes 1.21 | Metroid Life 0.03 | PSP Phone Dialer 0.02 | Test Your Might | Super Turbo Turkey Puncher 3 Nort v0.4 | Star Wars: Rocks 1.02 |Color Blocks | LUAmines 0.06b | LUAmines Patch to 0.6C | LUAmines Lite: Mario Edition Super Random Card Fighter 2 Special Champion Edition Alpha V0.3 |
|
|
|
|
![]() |
| Tags |
| bdj , demo , flight |
| Thread Tools | |
|
|