Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - MFJ

#1
Projects / Raven's projects
December 10, 2005, 02:24:00 PM
If you're using an un-signed applet you need to make sure that the location you specify is *exactly* the same as the codebase of the applet. (Easiest way to do this is to use Applet.getCodeBase() and then append the filename on the end of it.)
#2
Feedback / New web layout
November 03, 2005, 12:01:14 AM
Indeed, great improvement!
#3
Projects / Technopolies
October 31, 2005, 11:34:59 AM
Ooooh.

How '1.5ed' is this project? It's nice to try and make Java apps Java 1.1 compatible in my experience. Most Windows machines for the last 5 years of so have a 1.1 VM already installed (Of the Microsoft variety). I believe JPCT is 1.1 compatible?
#4
Support / Loading mesh
October 28, 2005, 01:02:27 PM
Perhaps you need to build the previous O3D before merging it to the next one?
#5
Bugs / 3ds models and mirrored objects
September 06, 2005, 02:24:43 PM
Ooops forgot to login  :oops:
#6
Bugs / 3ds models and mirrored objects
September 04, 2005, 03:40:50 PM
Ok, I see.

I've done

3ds -> dxf -> 3ds -> Export to 3ds

Which now works, but I lose my colours :-(

Thanks for the idea, I'll try to find another solution.
#7
Bugs / 3ds models and mirrored objects
September 04, 2005, 12:03:09 PM
Hi,

When building models in 3ds, I quite often use the mirror feature to copy bits and make them symmetrical. It seems that JPCT's importer doesn't like mirrored objects and just renders them the normal way around (Im assuming that this isn't a limitation of the 3ds file format?).

Eg:

The restraints on this ride.

In 3ds max:



In JPCT:



Any ideas?
#8
Support / Using the mouse when using OpenGL
September 04, 2005, 11:49:19 AM
Don't know about OpenGl, sorry. But for mouse events you want to register an AWT mouselistener on your drawing frame. Eg:


//Get the graphics context from the applet
Graphics g =mainPanel.getGraphics();

//Setup the mouse listenage
mainPanel.addMouseListener(this);
mainPanel.addMouseMotionListener(this);


Assuming that your program is implementing those two listeners, you can then listen to events from them, see


http://java.sun.com/j2se/1.5.0/docs/api/java/awt/event/package-summary.html


For more details.