Main Menu

SS3D

Started by Melssj5, September 26, 2008, 03:54:36 PM

Previous topic - Next topic

Melssj5

Hi, I am working a new project. The project short name is SS3D. The main idea is to load house maps, walking in the interior and changing on execution time the textures of floors, walls, ceilings, and things like that. It doesnt seem to be a complex project but I post the entry here to ask some help when needed.
Nada por ahora

EgonOlsen

Good to see you back on a project.

JavaMan

So, great to see all these projects popping up!

Melssj5

Ok, this is my first question.

Is there anyway to pass the map and another property file as parameter to the applet?

The user has to put a login and password on my main page, then I must redirect him to a visualization page in which an applets loads with the desired map that is selected using the login information. I dont want to keep the map on a visible folder under my site so it has to be included dinamicly on somehow.
Nada por ahora

JavaMan

I think you could do it by including a <param> tag in your html. Check out the molecule viewer applet demo in the jdk. I believe it accesses an .xyz file to load a molecule.
Here is the html code from the viewer.
<html>
  <head>
      <title>MoleculeViewer (example 1)</title>
  </head>
  <body>
      <h1>MoleculeViewer (example 1)</h1>
      <hr>
      <applet code=XYZApp.class width=300 height=300>
<param name=model value=models/HyaluronicAcid.xyz>

alt="Your browser understands the &lt;APPLET&gt; tag but isn't running the applet, for some reason."
Your browser is completely ignoring the &lt;APPLET&gt; tag!
      </applet>
      <hr>
      <a href="XYZApp.java">The source</a>.
  </body>
</html>  







Melssj5

No, the param tag just let you get some parameters from the web page like Text but not getting a whole file or something. I just could send the file name to load it but thats not what I trying to do, anyway I am trying to do it reading it froma database directly from the applet. But I am opened to new suggestions.
Nada por ahora

Melssj5

Well I decided not to take the images nor the maps  from a database but to save them on a web hosted visible path, and to ensure the privacy I will modify on somehow the bytes of them to make it unreadable until its loaded on the applet, and then I will fix it again.

Any way this 3d part is delayed until all the documentation and the web development is done. It wont be a big thing, so dont expect too much of it when released becausse I am very dissapointed about the project but must be finished.
Nada por ahora

Melssj5

Hi, I am back again after several months...  ;D Anyway the web part is finished and now I am implementing the 3d part with jpct. I will post some pics sooner.
Nada por ahora

fireside

Glad you're making progress.
click here->Fireside 7 Games<-

Melssj5

Well, is not the big deal, but anyway, here are some pics, the whole app is at 75% I guess.







--> used my son teeth as a texture  ;D

Nada por ahora