Author Topic: SS3D  (Read 7518 times)

Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
SS3D
« on: September 26, 2008, 03:54:36 pm »
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

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11775
    • View Profile
    • http://www.jpct.net
Re: SS3D
« Reply #1 on: September 26, 2008, 08:27:09 pm »
Good to see you back on a project.

Offline JavaMan

  • long
  • ***
  • Posts: 231
    • View Profile
Re: SS3D
« Reply #2 on: September 26, 2008, 08:57:17 pm »
So, great to see all these projects popping up!

Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
Re: SS3D
« Reply #3 on: September 27, 2008, 01:50:17 am »
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

Offline JavaMan

  • long
  • ***
  • Posts: 231
    • View Profile
Re: SS3D
« Reply #4 on: September 28, 2008, 01:39:49 pm »
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.
Code: [Select]
<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>  







Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
Re: SS3D
« Reply #5 on: September 28, 2008, 11:23:43 pm »
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

Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
Re: SS3D
« Reply #6 on: November 05, 2008, 03:14:36 pm »
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

Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
Re: SS3D
« Reply #7 on: March 25, 2009, 03:41:12 pm »
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

Offline fireside

  • double
  • *****
  • Posts: 605
    • View Profile
Re: SS3D
« Reply #8 on: March 26, 2009, 03:46:27 am »
Glad you're making progress.
click here->Fireside 7 Games<-

Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
Re: SS3D
« Reply #9 on: April 08, 2009, 05:03:17 pm »
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