• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

3d earth rotation

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all, I am a newbie. I am trying to make a program to make 3d earth rotation on jsp/html page. Can you please help me with the code?

Thanks a million:)
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure. What do you have so far? Where are you stuck making progress?
 
lokesh jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have not started it till now. As I said, I want to do it. Would you please some light, how can i approach for that.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'll need to look into some Java OpenGL binding API's like JOGL or LWJGL. Then you'll need to look into how to create an Applet or how to deliver your app via Java Web Start.
 
Marshal
Posts: 28425
102
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lokesh, in your original post you mentioned "JSP and HTML" but you posted in the Swing (and other client-side GUIs) forum. So which is it? Perhaps you would like your post moved to a more suitable forum if your question isn't about Swing?
 
Bartender
Posts: 2662
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Some Sun examples of 3d drawing and rotating:

http://java.sun.com/applets/jdk/1.4/demo/applets/MoleculeViewer/example1.html
http://java.sun.com/applets/jdk/1.4/demo/applets/MoleculeViewer/example2.html
http://java.sun.com/applets/jdk/1.4/demo/applets/MoleculeViewer/example3.html

I agree that it's not the earth, but it's 3d drawings turning around.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you mean something like this: http://www.ulfdittmer.com/sunsphere/

I didn't create it, I hasten to add, I merely host it because I couldn't find working copies elsewhere on the net.
 
Jan Cumps
Bartender
Posts: 2662
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Do you mean something like this: http://www.ulfdittmer.com/sunsphere/

I didn't create it, I hasten to add, I merely host it because I couldn't find working copies elsewhere on the net.

Waw. Nice.
 
lokesh jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes,ulf the same stuff I want. Can you provide me with code?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The code is at http://www.ulfdittmer.com/sunsphere/SunSphere-applet-source.zip. Note the licensing information:


* Copyright © 1996 Martin Minow. All Rights Reserved.
* World map copyright © 1992-97 Apple Computer Inc. All Rights Reserved.
* Used by permission.
*
* Permission to use, copy, modify, and redistribute this software and its
* documentation for personal, non-commercial use is hereby granted provided that
* this copyright notice and appropriate documentation appears in all copies. This
* software may not be distributed for fee or as part of commercial, "shareware,"
* and/or not-for-profit endevors including, but not limited to, CD-ROM collections,
* online databases, and subscription services without specific license.


 
lokesh jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi ulf, the globe is pretty nice. however i want a globe only revolving, not showing me the day and night stuff. See the globe in this link : http://ccastel.free.fr/ also the code is bit bigger and includes lots of java files. Can't we have a single file for that?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by "single file" - a single source file? Why does it matter how many source files there are? If there's lots of functionality, then there'll be lots of classes. That's the point of OO languages.
 
reply
    Bookmark Topic Watch Topic
  • New Topic