jPCT - a 3d engine for Java => Projects => Topic started by: Melssj5 on September 26, 2008, 03:54:36 pm

Title: SS3D
Post by: Melssj5 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.
Title: Re: SS3D
Post by: EgonOlsen on September 26, 2008, 08:27:09 pm
Good to see you back on a project.
Title: Re: SS3D
Post by: JavaMan on September 26, 2008, 08:57:17 pm
So, great to see all these projects popping up!
Title: Re: SS3D
Post by: Melssj5 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.
Title: Re: SS3D
Post by: JavaMan 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]
      <title>MoleculeViewer (example 1)</title>
      <h1>MoleculeViewer (example 1)</h1>
      <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!
      <a href="XYZApp.java">The source</a>.

Title: Re: SS3D
Post by: Melssj5 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.
Title: Re: SS3D
Post by: Melssj5 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.
Title: Re: SS3D
Post by: Melssj5 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.
Title: Re: SS3D
Post by: fireside on March 26, 2009, 03:46:27 am
Glad you're making progress.
Title: Re: SS3D
Post by: Melssj5 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