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.

Messages - Melssj5

Pages: 1 ... 46 47 [48]
Feedback / Just suggestions.
« on: December 26, 2004, 04:58:03 am »
Well, I think that the engine is great, but should support more kinds of textures and maps, no only placing a file.jpg as a color, but also having bump, opacity, etc. all the features that are placed on the models when making them in whatever software like 3d Studio Max. On that way more realistic Graphics can be used on games or any other application. Especially the reflection and the opacity. What would be really great is supporting moving textures that may be great for water or the sky.

Support / my 3DS files dnt work
« on: December 26, 2004, 03:49:54 am »
Quote from: "EgonOlsen"
What are you talking about?

I do my models in 3D Studio max 6.0, I can load them using an applet, but when I am doing a frame,I just cant load neither them nor the textures, A message error appears saying that is  not a valid .3DS file, but thats not true becausse I load them on applets but not in frames, whats the problem?????, I am not using the loader with the document base on frames!  :x.

When using applets I solves the problem renaming my files from .3DS to .3ds, but in frames in doesnt work, if I use the .3DS filea message appears saying that the file cant be found! Its like if no files can be read when not using applets.  :roll:

I am using Forte 3.0 for doing my awt applets and my awt frames!, Windows XP Pro.

Support / Transparency
« on: December 26, 2004, 03:38:29 am »
Hello,I cant gey my objects trasparents, I set the trasnparency to values from 0 to 10,and I got the same, opac models, thats what I did:

Code: [Select]
levelParts=Loader.load3DS(this.getDocumentBase(), "bajos.3ds", 1f);//Cargo el mapa
        level=new Object3D(0);//inicializo el onjeto level
        for (int i=0; i<levelParts.length; i++) {

            Object3D part=levelParts[i];
            part.setRotationMatrix(new Matrix());
            if (part.getName ().compareTo("ventana03_jPCT62")==0)
                part.setTransparency (0);
            if (part.getName ().compareTo("ventana04_jPCT61")==0)
                part.setTransparency (0);
            if ((i&1)==1)

            level=Object3D.mergeObjects(level, part);

but the objects called ventana_04 and ventana 03 are not transparent.

Does the transparency only only works with Open Gl???????, because nothing happens when rendering by software, I couldnt try this with Open gl becausse I dont know how to use Open gl.  :oops: ,I made the levelon 3D Studio Max 6.0

Support / Again
« on: December 26, 2004, 02:17:00 am »
Quote from: "EgonOlsen"
Are you really using checkCameraCollision()? If so, you should better use checkCameraCollisionEllipsoid() instead. If it still doesn't work, maybe the scale of you scene is too large. Play around with Config.collideOffset in that case.

I set the Config.collideOffset on 400 and worked, but, It doesnt work perfectly when walking back, only when walking to the front. May anyone help me explaining me how does the collision detection works,and maybe little pieces of code or something.

Its very difficult to understand the doc of the engine becausse my English is not very good.  :(

When I found a wall, it stops, after that I can move in any direction but in back, the 50% of times I cant move back after detecting a collision. Heres the code I used:
Code: [Select]

private void formKeyPressed(java.awt.event.KeyEvent evt) {
        // Add your handling code here:
        if (evt.getKeyChar()=='w') {
            if (theWorld.checkCameraCollision(1, 3)==false)
                camera.moveCamera (Camera.CAMERA_MOVEIN, 3);
        if (evt.getKeyChar()=='s') {
            if (theWorld.checkCameraCollision(-1, 3)==false)
                camera.moveCamera (Camera.CAMERA_MOVEOUT, 3);
        if (evt.getKeyChar()=='a')
            camera.rotateAxis(camera.getBack().getYAxis(), -0.065f);
        if (evt.getKeyChar()=='d')
            camera.rotateAxis(camera.getBack().getYAxis(), 0.065f);
        if (evt.getKeyChar()==' ')
            camera.moveCamera (Camera.CAMERA_MOVEUP,5);
        if (evt.getKeyChar () == 'z')
            camera.moveCamera (Camera.CAMERA_MOVEDOWN,5);
        repaint ();

Support / Help with the collision detection
« on: December 20, 2004, 05:57:36 am »
Hello, I was reviewing the demos I downloaded, but I am afraid I cant understand them at all nor how the collision detection is made, I am making a first person game, so I am moving the camera, I tried but the all what I could do was detecting just the 5% of the walls, I need an easy and simple example of detecting a collision using the camera, please.

I set the collision mode to collide with others and with it self on the level once it was all merged, and I used check camera collision when moving the camera. I dont know, Why only works with specific walls, and only a few times?

I someone can help me with any piece of code, please do it.

I am doing an awt applet.


Support / Same problem
« on: December 20, 2004, 02:03:16 am »
You must rename your file from xxxxxx.3DS to xxxxxx.3ds, It shouldnt be difference but, I got the same problem and I solved it on that way. You can rename it from windows without problem. but it os a kind of stange becausse I solved my problem when using an applet, but not when usinga frame, well I am newbie in this, I might be wrong

Support / Help just for starting
« on: December 13, 2004, 01:03:23 am »
Quote from: "EgonOlsen"
Your code looks ok to me. It's just that it couldn't find the 3DS-file. Make sure that it can and it should work. However, i can offer you some small tutorials that somebody wrote a while ago. I've uploaded them here:
Please note that i haven't tested these nor did i had a closer look at them. The guy who wrote them seemed to have stopped working on them, so i give them to you in the state they had when i got them. I hope they compile...if they don't, please let me know. It can't be difficult to make them do.

Only the first one worked, it was usefull, but not a lot, thank you in anyway.

Support / Flashing screen on applets.
« on: December 13, 2004, 12:57:51 am »
Hello, I am doing an awt applet, so I put all the rendering code in the paint (); when something happens I use repaint (); but it flashes a lot, I thing that reloading the paint is not the best way to do it, but is there someway to constantly load that piece if code without using the paint?. I want the game to run inside my applet, thanks. :shock:

Support / Help just for starting
« on: December 07, 2004, 02:47:35 am »
Hello again, now I have reviewed the examples that I downloaded but I really cant see clearly how to begin mi program, when I tried the 3D state engine for visual C++, it was a little bit more clear. I just need some information to begin doing my own games, I have reviewed the documentation but I didnt found nothing helpfull, maybe I am not understanding well becausse I dont speak English very well., I would like some small examples, like loading a map; after that loading the map and moving the camera noting else, or any other small example in wich I can learn how to use this engine., thanks.

I tried to load the ql.3ds map, but I couldnt, thats what I did:

public class test {

    public test() {

        public static void main (String args[]) {

        World  theWorld=new World ();
        Object3D [] level=Loader.load3DS ("ql.3ds", 5f);
        for (int i=0; i<level.length; i++) {
        Object3D part=level;


a message appear in the console

Loading file ql.3ds
[ Mon Dec 06 20:45:35 GMT-05:00 2004 ] - ERROR: Couldn't read file ql.3ds
[ Mon Dec 06 20:45:35 GMT-05:00 2004 ] - ERROR: Not a valid 3DS file!

Now I am a kind of lost, very confused. :(

I use Forte 3.0 e.e.

Support / Using the mouse to move the camera
« on: December 06, 2004, 09:55:20 pm »
mouse events is what you need to control the camera through the mouse, you have to use the functions to move the camera, but controled by the mouse, you need a Listener and get coordenates of the cursor on the screen. I Guess!!!.
If the event recieves (java.awt.event.MouseEvent evt) like parameter you can get the position of the cursor on the screen in pixeles by getX () and getY (), both returns an int value.

Support / Some help here!!!!
« on: December 06, 2004, 08:14:37 pm »
Sorry  :oops:
Please excuse me if I do some fools quertions. Is the first time that I use a forum. I the future i will pay more atention before asking something.

Support / License information
« on: December 06, 2004, 10:00:53 am »
Hello, I want to know more about the license of jpct.
    What kind of licence does it have?
    It is totally free? for any use? (Personal o comercial)
    What exactly do I need to use it for comercial purposes?

thats all!.

Support / Some help here!!!!
« on: December 06, 2004, 06:00:48 am »
Sorry for my language skills, I speak Spanish and just a few English.

ok: here is my problem:

I am very interested on making video games. Now I am a novat, I enjoy doing 3D models using 3D studio max and others, I know how to use C++ and java, so I am not an expert but  I learn quickly. I have more skills using java tecnologies so I decided to try jPCT as Engine, I tried before an engine from "3D state", but I was disapointed for the graphics capabilities.


I would like help with a list of commands that uses this engine with a little explanation in Spanish of each one if possible, and another explanation on how to implement java application using this engine.
I know that nobody will send me a 100% complete list of all the commands, objects, classes, etc. but. the most usefulls please.

Thanks a lot.

Pages: 1 ... 46 47 [48]