World Wind Forums

Go Back   World Wind Forums > WorldWind .Net Development > Ports

Ports Porting World Wind to different platforms.

Reply
 
Thread Tools Display Modes
Old 06-23-2005, 02:13 AM   #1
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

I'm currently developing "flat" version of WorldWind - withoud 3D globe. It's written in Java and therefore can run on different platforms. Currently it supports WorldWind's tiled imagery, borders and placenames layers. It doesn't use DirectX/OpenGL however Java 1.5+ can internally accelerate graphics using OpenGL on supported cards/drivers.


[attachmentid=982]

I'll upload it soon (really need to add some ui controls).
Attached Images
File Type: jpg Screenshot.jpg (204.7 KB, 1711 views)
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 06-23-2005, 02:29 AM   #2
bull
Cosmic Overlord
 
bull's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
bull is an unknown quantity at this point
Default

Excellent, its great to see someone actually working on a port instead of just asking for one
bull is offline   Reply With Quote
Old 06-23-2005, 02:31 AM   #3
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

Quote:
Originally posted by bull@Jun 23 2005, 05:29 AM
Excellent, its great to see someone actually working on a port instead of just asking for one
Thanx I wasn't sure admins will like non-3D version of WW... (don't know why
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 06-23-2005, 02:37 AM   #4
bull
Cosmic Overlord
 
bull's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
bull is an unknown quantity at this point
Default

Personally I think its a cool idea, some users have graphics cards which wont support the current 3D version, this will allow them to still use many of the useful features world wind has to offer, plus it gives users on other operating systems a chance to use it.
bull is offline   Reply With Quote
Old 06-26-2005, 08:28 AM   #5
Eric Raboin
Guest
 
Posts: n/a
Default

You can use OpenGL in Java with the JOGL bindings, provided by java.net.

It works quite well, and bindings exist for all Java supported platforms (except for perhaps you cell phone) but obviously the same OpenGL compatibility issues exist.
  Reply With Quote
Old 06-27-2005, 09:03 PM   #6
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

Quote:
Originally posted by Eric Raboin@Jun 26 2005, 11:28 AM
You can use OpenGL in Java with the JOGL bindings, provided by java.net.

It works quite well, and bindings exist for all Java supported platforms (except for perhaps you cell phone) but obviously the same OpenGL compatibility issues exist.
No, I don't want to use OpenGL. First of all, I have no experience in 3D programming and this will be quite difficult for me. Also I want to make fast, simple and crossplatform version of WW. 3D view is useful only for "flying" across world to see mountains in 3D. In all other cases you zoom in to the place you want and you see only 2D map. So why we need 3D with all its CPU usage and hardware requirements?

In time from my last post I rewrote application to use Qt toolkit (see trolltech.com) because Java was veery slow, especially with drawing borders. But Qt.. hm.. done in some strange way, eg. drawing pixmap with resizing causes following actions drawPixmap() -> see that it should be resized -> convert pixmap to image -> create transform matrix -> tarnsform image -> convert back to pixmap -> drawPixmap() -> see that it's ok -> really draw :blink: and therefore Qt is very slow with images (but fast with drawing borders). So now I'm rewriting it again to use GTK (see gtk.org). I hope (and it looks so) that it will be much faster.
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 06-28-2005, 06:39 PM   #7
Hervé
Guest
 
Posts: n/a
Default

According to the image you posted, your Java WW looked quite advanced.
I'd like to have a look at your code (I mean the one in Java, as I am quite fluent in Java), and maybe, if I find some free time, continue your effort. This may also be the case of other developpers around.
Could you post your code here, or is it closed source? (or you do not want to show it, or whatever)

Anyway, thank you for really coding stuff instead of just complaining
  Reply With Quote
Old 06-29-2005, 05:11 PM   #8
jp09
Senior Member
 
Join Date: Jun 2005
Location: France
Posts: 167
jp09
Default

Wow !! Looks great, I'm eager to give it a try !
Felicitations !
jp09 is offline   Reply With Quote
Old 07-02-2005, 01:55 PM   #9
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

Hello all,

I rewritten ww2d one more time Now it uses wxWidgets toolkit, this will allow same source code to be compiled for all three platforms (Win, Linux, Mac), I think this is great. And finally binary is available! Currently only for Win, but now I'm going to go to another room to my Linux box to compile it for Linux

Download it from https://developer.berlios.de/project/showfi...p?group_id=4129 and don't forget to read README file and to report all problems here!

2Hervé: java src is also there
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 07-02-2005, 02:43 PM   #10
m_k
Bored Explorer
 
m_k's Avatar
 
Join Date: Nov 2004
Location: Warsaw, Poland
Posts: 1,808
m_k is an unknown quantity at this point
Default

Quote:
Originally posted by pronvit@Jul 2 2005, 02:55 PM
Download it from https://developer.berlios.de/project/showfi...p?group_id=4129 and don't forget to read README file and to report all problems here!
1. You must add jpeg62.dll to your zip - ww2d won't start without it.
2. After downloading the dll ypour app. works (sometimes it crashes on startup - "memory cannot be write" error)
3. closing the program during the download and starting it again gives this error:

jpeg library error
corrupt jpeg data: premature end of data segment

(ww2d is trying to download many tiles at once - maybe "one after one" would be better :unsure: )

4. Very nice
__________________
Hot stuff: FAQ, forum search, DirectX, .NET, Video Card Compatibility list
m_k is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WMS connection error stefano adami Technical Support 1 06-01-2005 10:30 AM
hang when zoom to 72 km johnyeung Technical Support 3 01-10-2005 06:20 PM
P2P-Beta: Rapid fire modis misfunction and ... Angel Bug Reports 0 11-13-2004 11:31 AM
1.2c: USGS Urban Area Ortho-Image Download broken Deckard Bug Reports 10 10-10-2004 02:39 PM
More start errors Kiriai Bug Reports 1 09-28-2004 01:08 AM


All times are GMT +1. The time now is 07:51 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.