www.jpct.net

jPCT - a 3d engine for Java => Projects => Topic started by: eye1 on August 01, 2006, 03:46:44 pm

Title: Warehouse Visualisation
Post by: eye1 on August 01, 2006, 03:46:44 pm
I will use jpct engine to create commercial product.
3D live warehouse visualisation.  It will be mainly used to visualize automatic HRL warehouses. It will be used for marketing purposes in company i work.

Thaks 4 this great engine. It really helped me so far.
Title: Warehouse Visualisation
Post by: eye1 on December 29, 2006, 05:46:42 pm
(http://img401.imageshack.us/img401/5871/voshyp3.jpg)
Title: Warehouse Visualisation
Post by: EgonOlsen on December 31, 2006, 06:23:25 pm
Now this looks..interesting... :wink: I'm not really sure what exactly i'm seeing there but it's cool to see people doing "real world projects" with jPCT.
Title: Warehouse Visualisation
Post by: cyberkilla on January 04, 2007, 03:14:19 am
Yes, looks very CAD like. Speaking of which, I know of no java versions.

I personally would like to see/make a Java based, open source CAD package.

Good luck to you :)
Title: Warehouse Visualisation
Post by: eye1 on February 26, 2007, 01:28:34 pm
I'm trying to add some boxes which shold be tranparent.

Is there a way i could get rid of shadows on some objects. Or is there another (better) way of creating transparent objects. Plus is there a way to ged rid of effect, when there is more than one tranpsarent plane over another, something wierd comes out (look at area which I marked with red circle on snapshot)
(http://img218.imageshack.us/img218/6354/screen1bx0.png)

now i use transparency like this:

object.setTransparency(1);
Title: Warehouse Visualisation
Post by: eye1 on February 26, 2007, 01:50:28 pm
Some additional screenshots from application ;)

(http://img83.imageshack.us/img83/6166/screen2zx4.png)
(http://img100.imageshack.us/img100/605/screen3ns5.png)
(http://img100.imageshack.us/img100/9509/screen4wx9.png)
(http://img204.imageshack.us/img204/1279/screen5zz2.png)
Title: Warehouse Visualisation
Post by: EgonOlsen on February 26, 2007, 02:51:30 pm
Quote from: "eye1"

Is there a way i could get rid of shadows on some objects.
I'm not sure what exactly you are refering to. Which shadows?
Title: Warehouse Visualisation
Post by: eye1 on February 26, 2007, 03:01:26 pm
In general I would like to make those boxes (regals) more transparent. Maybe if I could remove shading. Do not really know if it would help, just guessing  :(  ...or if shadows would be evenly distributed. But only on boxes. On other objects I like the way shading is done.
Title: Warehouse Visualisation
Post by: EgonOlsen on February 26, 2007, 03:06:56 pm
You can do a setTransparent(0); If that isn't sufficient, you can fine tune the transparency for the hardware renderer in Config (the glTransparencyXXX settings). You may also use Object3D.setLighting(...); to disable the influence of lightsources on an object which may help with the shading.
Title: Warehouse Visualisation
Post by: eye1 on February 26, 2007, 04:08:04 pm
(http://img341.imageshack.us/img341/9272/screen6pl7.png)

That did the trick :)

Thanks!
Title: Warehouse Visualisation
Post by: cyberkilla on February 26, 2007, 06:52:40 pm
Looking very good!:)
Title: Re: Warehouse Visualisation
Post by: eye1 on March 02, 2007, 06:12:23 pm
http://www.youtube.com/watch?v=rwU-zgivzvI (http://www.youtube.com/watch?v=rwU-zgivzvI)

a little test clip from youtube
Title: Re: Warehouse Visualisation
Post by: EgonOlsen on March 02, 2007, 06:24:08 pm
Looks pretty cool. Is this based on live data from a real warehouse or is it a "what if"-simulation?

So we now have a jPCT based video on youtube, which is pretty funny, because the first file format jPCT was able to read (and still is) was JAW, which was developed by Jawed Karim for his own engine, who is one of the founders of youtube... ;D
Title: Re: Warehouse Visualisation
Post by: Hrolf on March 02, 2007, 06:25:06 pm
Impressive - Looks professional!

Wouldn't some crates or something make the demo more visual though? Bit hard to follow what's happening ATM...
Title: Re: Warehouse Visualisation
Post by: cyberkilla on March 02, 2007, 06:32:39 pm
Yes, it is remarkable. I did not realise it was in such working order.
Title: Re: Warehouse Visualisation
Post by: eye1 on March 02, 2007, 06:43:33 pm
Its only test clip, i'll do one more later.

Yes it is based on live data from warehouse. But I can configure it to run as demo (in case I don't have internet connection at the time).

I have one xml configuration file in which I can configure as many warehouses as wanted to run in any mode I want to. And than switch beetwen them at runtime.
So if I wan't to add aditional warehouse, additional code like this would be added

Code: [Select]
<warehouse name="DORN">
    <controller class="net.epilog.vis3d.DBWarehouseController">
       <connection
        connName="VIS3D-DORN"
        url="jdbc:oracle:thin:@XXX.XXX.XXX.XXX:1521:pid"
        user="XXX"
        password="XXX">
       </connection>
      </controller>
    <property name="selfFinish" value="false">    </property>
    <property name="displayText" value="Doerrnberg, D - %TIME%">    </property>
    <property name="logoName" value="VOSH.GIF">    </property>
    <object class="StaticObject" name="FEHR-TABLE" fileName="BOARD.3DS" position_type="ABSOLUTE" xPos="1500" yPos="-24" zPos="-1000">
      <custom_property name="scaleFactor" value="8">      </custom_property>
    </object>
    <object class="Regal" name="REGAL01-L" position_type="BY_LOCAT" location="01200100010001">
      <custom_property name="regalHeigth" value="18">      </custom_property>
      <custom_property name="regalLength" value="73">      </custom_property>
    </object>
    <object class="Regal" name="REGAL01-R" position_type="BY_LOCAT" location="01400100010001">
      <custom_property name="regalHeigth" value="18">      </custom_property>
      <custom_property name="regalLength" value="73">      </custom_property>
    </object>
    <device class="RBGA" name="RBGA01" position_type="ABSOLUTE" xPos="-200" yPos="-20" zPos="500" speedFactorX="1.3">
      <custom_property name="trackLength" value="75">      </custom_property>
      <custom_property name="rbgHigth" value="18">      </custom_property>
    </device>
    <device class="VWQ" name="VWQA01" rotation="180" position_type="BY_LOCAT" location="01400100190001">
      <custom_property name="NrOfPlaces" value="19">      </custom_property>
      <custom_property name="trackLength" value="18">      </custom_property>
    </device>
    <device class="VWQ" name="VWQA02" position_type="BY_LOCAT" location="01200100080001">
      <custom_property name="NrOfPlaces" value="7">      </custom_property>
      <custom_property name="trackLength" value="6">      </custom_property>
    </device>
    <device class="VWQ" name="VWQA03" position_type="BY_LOCAT" location="01200100230001">
      <custom_property name="NrOfPlaces" value="7">      </custom_property>
      <custom_property name="trackLength" value="6">      </custom_property>
    </device>
    <device class="KARA" name="KARA01" rotation="180" position_type="BY_LOCAT" location="01200100380001">    </device>
    <light itensity="45" xPos="-1000" yPos="-2000" zPos="1500">    </light>
    <light itensity="35" xPos="8000" yPos="-2000" zPos="1500">    </light>
  </warehouse>

I have some things in mind to do later this year, since now I'll be working on other projects.

-to show the content/material in containers and how it changes at some points.
-to make different Cameras: -free (like this one now), - static rotating following, static moving follloving. And than on some voting/random alghorithm they would be switching from one to another. They should be also configured in xml.


At this point I'd like to thank every one that helped me with this on forum. And the biggest thank to Egon for creating this lovely engine and gave me all the support I needed.