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 - MegasXLS

#1
Support / Re: Mesh serializer plugin problem
March 17, 2012, 05:51:03 PM
I tried to serialize the object via jpct desktop and it gives problem when I run the project in eclipse. Please, someone tell me where I apply the option to serialize the object when I insert the object in 3ds raw folder? I already checked properties but does not appear in any "Mesh Serializer".
#2
Support / Mesh serializer plugin problem
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.
#3
Support / Store and load rotation objetos3D
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.
#4
Support / Re: Client-Server-Applet-HTML
April 30, 2011, 12:01:31 AM
No, java console not show anyone message.
#5
Support / Re: Client-Server-Applet-HTML
April 28, 2011, 11:52:33 PM
I tried various ports but does not work. I think this is related to the file applet.policy. I do not know. It is very strange because the IDE they communicate often, but not by the browser. = /
#6
Support / Re: Client-Server-Applet-HTML
April 28, 2011, 09:59:15 PM
The applet is already signed.
Firewall disabled.
Jar's all in the same directory.
#7
Support / Client-Server-Applet-HTML
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.
#8
Support / Re: Text on top the object3D
February 17, 2011, 09:37:36 PM
Thanks for the help Raft. =) I'll try.
#9
Support / Re: Divide Plane
February 17, 2011, 06:57:36 PM
Yes, but I changed that instruction in some tests and ended up not changing back. ^^" y
#10
Support / Text on top the object3D
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:

TextBlitter.blitText (smallFont, buffer, "Hello.", 37, 500, Color.black);

to display something on screen.

thanks for the help =)
#11
Support / Re: Divide Plane
February 17, 2011, 04:17:44 PM
Olsen Thanks for the help.

I managed to animate the snork.
Trade the instructions:

snork.compileAndStrip();

for

snork.compile (true, false, true, false, 1000);

#12
Support / Re: Divide Plane
February 17, 2011, 03:29:21 PM
I have tested animate(ticks) in my method public void paint( Graphics g ) but not worked too. =(
#13
Support / Re: Divide Plane
February 17, 2011, 03:26:57 PM
public void animate(long ticks) {

      if (ticks > 0) {

         float ft = (float) ticks;
         ind += 0.02f * ft;
         if (ind > 1) {
            ind -= 1;
         }

         snork.animate(ind, 2);
}
#14
Support / Re: Divide Plane
February 17, 2011, 03:25:46 PM
Tradução do português para inglês
Oh, I call the method animate(ticks) in the run method of my applet.

public void run(){
       long ticks = 0;
       while (loop){
           this.repaint();
           
           try{
               Thread.sleep(10);
           }catch(Exception e){
                           }
           ticks = ticker.getTicks();
           if (ticks > 0) {
              animate(ticks);  
              move(ticks);
             
           }
       }
   }
#15
Support / Re: Divide Plane
February 17, 2011, 03:22:41 PM
True. It Worked.

Olsen, I'm trying to make my character in the format MD2 get animated. I'm using the AdvancedExample snork. When my desktop application was able to animate it using the method of AdvancedExample animate well, but in the applet it does not get animated. He is already being shown usually along with other objects, but not animated.
You know why?

thanks