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.


Topics - MegasXLS

Pages: [1]
1
Support / Mesh serializer plugin problem
« on: March 17, 2012, 03:43:23 pm »
Hello everyone

I installed "Mesh serializer plugin" but it does not appear when I click with the right projects for me to configure it. I already checked if it is installed in Eclipse and yes it is. I use Eclipse Indigo. Any idea what could this be? Use the latest version of Indigo.

Ah, already restarted the eclipse also.

Thanks in advanced.

2
Support / Store and load rotation objetos3D
« on: January 13, 2012, 07:58:59 pm »
Hello everyone,

I'm having a little problem in storing 3D objects in a database for subsequent loading of objects in the same places left by the user. How do I load the rotation of objects stored in the database objects in the scene? For the translation I'm using .getTranslation (), but I do not know how to make the rotation.

o//

P. S. I am brazilian, sorry for bad english

Thx in advance.

3
Support / Client-Server-Applet-HTML
« on: April 28, 2011, 09:57:04 pm »
Hello,

I have made ​​an application with the jpct for personal training.
My application is in the form of applets.
Use a server made ​​with a library called hn2n (library made
by a group at a university here in Brazil) that receives these two
customers via an IP and port.
When I try to connect clients to the server using netbeans IDE, the connection is made without problem.
netbeans, I get no problems.
But when I try to connect two clients through the browser (Internet
firefox, google chrome) believe that customers can not find the
server.

My html file is:

<html>
   <head>
      <title>Petrobras_Simulador</title>
   </head>
    <body>
      <body background="" bgcolor="black">
       <p align=center>
   <applet code="org.lwjgl.util.applet.AppletLoader"
            archive="lwjgl_util_applet.jar, lzma.jar" codebase="." width="800" height="600">
                <param name="al_title" value="dist">
                <param name="al_main" value="atep.GameAgente">
                <param name="al_logo" value="appletlogo.png">
                <param name="al_progressbar" value="appletprogress.gif">
                <param name="al_jars"
                    value="hn2n.jar,
                           ServerATEP.jar,
                           jpct.jar,
                           ATEP_Rodrigo.jar,
                           lwjgl.jar.pack.lzma,
                           jinput.jar.pack.lzma,
                           lwjgl_util.jar.pack.lzma,
                           res.jar.lzma">
                <param name="al_windows" value="windows_natives.jar.lzma">
                <param name="al_linux" value="linux_natives.jar.lzma">
                <param name="al_mac" value="macosx_natives.jar.lzma">
                <param name="al_solaris" value="solaris_natives.jar.lzma">
                <param name="al_version" value="1.0">
        </applet>
       </p>
    </body>
</html>

Remember that this same application in the form of applet, I could connect to my database through the netbeans IDE without problems. But when he tried the connection by the browser could not. Has anyone come across this problem or know how to solve?

Thanks in advance.

4
Support / Text on top the object3D
« on: February 17, 2011, 06:55:40 pm »
Guys

Anyone know a way to put text on top of a 3D object?

I got thinking about creating a plane and add a text in one texture and adds it as child of my 3D object. But I think there a better way.

I know how to put text on the screen using blit, but I wish it had a text object on top of him and follow him when the object moves.




I have used the method:

Code: [Select]
TextBlitter.blitText (smallFont, buffer, "Hello.", 37, 500, Color.black);
to display something on screen.

thanks for the help =)

5
Support / Divide Plane
« on: February 16, 2011, 10:59:37 pm »
Hello everybody,
I would like to know a way to divide my plan.
Is that when the user wants to move your character in the plane, he will click the character after that and asked where to direct the character. Similar to Dragon Mage project. I wanted to divide the plane so that when the mouse cursor passed over it a simple square changed color for the user to know where the character will.

Thanks in advance

6
Support / Picking Objects (Pegando Objetos)
« on: February 10, 2011, 08:02:25 pm »
Hello everybody,

would like a hint of you forum,
I like to picking objects in my world(one applet)?

I'm using these instructions:

SimpleVector dir = Interact2D.reproject2D3DWS (world.getCamera (), buffer, e.getX (), e.getY ());
  Object [] res = world.calcMinDistanceAndObject3D (world.getCamera (). GetPosition (), dir, 1000 / * or whatever * /);

I can even take a 3D object, but not very accurately, need to click under the object3D to get your res [1].

after i use:

if (res [1] == Object3D) {
System.out.println ("I'm clicking on the object");
}

Thanks in advance

7
Support / How load "images" in the window?
« on: August 27, 2010, 02:40:59 pm »
Hi guys, i'm begginer in JPCT so....

how i load images in window of my application? The images are load with my application 3D for the user interact with the images for my application response this interact.

thx

8
Support / Sound with JMF
« on: August 18, 2010, 03:01:44 pm »
Hell guys,
first i'm brazilian so sorry for the bad english.

I'm trying use the jmf in my aplicattion using jpct.

For execute my aplication with jpct i have change the VM options : -Djava.library.path="C:\Documents and Settings\Roxas\Meus documentos\NetBeansProjects\jpct\lib\lwjgl-2.4.2\native\windows"

When i change the VM options show the error: Unable to handle format: mpeglayer3, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 24000.0 frame rate, FrameSize=32768 bits
Failed to realize: com.sun.media.PlaybackEngine@df6ccd
Error: Unable to realize com.sun.media.PlaybackEngine@df6ccd
18/08/2010 09:54:14 exemplo4jpct.PlayMedia <init>

But when i don't change the VM options, i listen my music clear.

Thanks in advance.

Pages: [1]