check this site out
http://www.flight404.com/version6/index.html
Check out his Experiments
I have never seen these stuff before, is this done by flash mx, using AS ?
check this site out
http://www.flight404.com/version6/index.html
Check out his Experiments
I have never seen these stuff before, is this done by flash mx, using AS ?
I think most of them are (very demanding) Java applets. The two I did try crashed my PC.
Still looks pretty amazing though…
edit: jav applets you say? … :-\ Still cool though!
That is the coolest thing I’ve ever seen written in Java (not Javascript).
Lost showed me this site the other day, pretty cool stuff. Made me wish to learn Java. =)
Those are awesome, nice link Blastboy.
If only i had half the talent.
*Originally posted by electrongeek *
**Lost showed me this site the other day, pretty cool stuff. Made me wish to learn Java. =) **
Yeah, I started wanting to learn Java when I saw things like…
It is definitely more powerful that actionscript when it comes to math.
My problem is that I don’t even know where to start learning Java :hangover: Albeit I never researched it either, I got my hands full with languages right now, but Java is definitely something I would like to get under my belt sometime.
whoa, i’ve only been doing server-side Java all this time. I knew you could make applets but i didn’t know you could do this. i gotta start working…!
Really thor? I knew you knew Java, I thought you would know how to do stuff like this.
Well, if you start doing stuff like this I would love to see it, your Flash stuff is great as it is, but I am sure your Java stuff would be better since you can do more powerful math equations and use more particles in Java than you can in Flash.
that site is awsome. his version five site with the passenger manifest was a sweet idea too. java is like never ending. i would like to learn it one of these days adds it to list
Wow - some of those experiments are excellent. The ribbon one is really cool. Java has its uses
import java.awt.*;
import java.awt.event.*;
import javax.media.j3d.*;
import javax.vecmath.Vector3f;
import javax.vecmath.AxisAngle4f;
// Application specific imports
// none
/**
* Test frame class for the dealing with J3D experimentation
* <P>
* Basic window consists of a menubar and a J3D window
*
* @author Justin Couch
* @version 1.0.0
*/
public class J3dAWTFrame extends Frame
implements ActionListener, WindowListener
{
private MenuItem close_menu;
private Canvas3D canvas;
private UniverseManager universe;
/**
* Construct the test frame with a menubar and 3D canvas
*/
public J3dAWTFrame()
{
super("Java3D Tester");
MenuBar menubar = new MenuBar();
// File menu
Menu file_menu = new Menu("File");
menubar.add(file_menu);
close_menu = new MenuItem("Exit");
close_menu.addActionListener(this);
file_menu.add(close_menu);
setMenuBar(menubar);
addWindowListener(this);
GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D();
GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice device = env.getDefaultScreenDevice();
GraphicsConfiguration config = device.getBestConfiguration(template);
canvas = new Canvas3D(config);
// add the canvas to this frame. Since this is the only thing added to
// the main frame we don't care about layout managers etc.
add(canvas, BorderLayout.CENTER);
constructWorld();
setSize(600, 600);
}
/**
* Construct everything that we want in the basic test world
*/
private void constructWorld()
{
// create the basic universe
universe = new UniverseManager();
/*
// create a light grey coloured background
Background bg = new Background(0.5f, 0.5f, 0.5f);
BoundingSphere bounds = new BoundingSphere();
bounds.setRadius(1000);
bg.setApplicationBounds(bounds);
universe.addWorldObject(bg);
*/
Camera cam = new Camera();
Vector3f loc = new Vector3f(0, 0, 10.0f);
cam.setLocation(loc);
cam.setHeadLight(true);
universe.addCamera(cam);
cam.setCanvas(canvas);
// add some geometry
ExampleGeometry geom = new ExampleGeometry();
universe.addWorldObject(geom);
universe.makeLive();
}
/**
* An mouse action has occurred. Used to process menu item selection.
*
* @param evt The event that caused this method to be called.
*/
public void actionPerformed(ActionEvent evt)
{
Object src = evt.getSource();
if(src == close_menu)
System.exit(0);
}
/**
* Ignored
*/
public void windowActivated(WindowEvent evt)
{
}
/**
* Ignored
*/
public void windowClosed(WindowEvent evt)
{
}
/**
* Exit the application
*
* @param evt The event that caused this method to be called.
*/
public void windowClosing(WindowEvent evt)
{
System.exit(0);
}
/**
* Ignored
*/
public void windowDeactivated(WindowEvent evt)
{
}
/**
* Ignored
*/
public void windowDeiconified(WindowEvent evt)
{
}
/**
* Ignored
*/
public void windowIconified(WindowEvent evt)
{
}
/**
* Ignored
*/
public void windowOpened(WindowEvent evt)
{
}
/**
* Start the application....
*/
public static void main(String[] args)
{
Frame frame = new J3dAWTFrame();
frame.setVisible(true);
}
}
mmm…looks tasty doesn’t it?
i’ll have to sit down with this at home. Now I must do what I came to the office for, work (and surf kForums)!
Thor… what program do you need to compile Java? How much is it? Where can I get it?
[size=1]sure I could research this myself, but if we got someone here that knows… then what the heck :beam: [/size]
First you’ll need the SDK. go download version 1.4.2 over at your friendly neighborhood http://java.sun.com
try and download the smaller version, the others are huge and come with unnecessary stuff. i would explain more but i’m in a hurry for a meeting. when you download the SDK, it should come with something called “DJ Java Decompiler”. you should be able to write all your stuff on that.
if you want to do server-side stuff, you’ll need, well, a server. since they cost about the same as a used car, i would recommend staying away from it for a time. I would link you to the server i’m using, but it’s almost a gigabyte in size and you’d need a hefty amount of memory.
well, that should get you started. off to the meeting!
Do you mean this Thor?
wow! bodytag.org really makes me wanna learn DHTML!
*Originally posted by lostinbeta *
**Do you mean this Thor?
http://java.sun.com/j2se/1.4.2/download.html **
yeah, Get the Windows Installation under SDK. If that doesn’t work out for you, try the offline installation.
:: Copyright KIRUPA 2024 //--