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.

Messages - eye1

Pages: 1 [2] 3 4 5
Support / saving and seting camera position
« on: March 22, 2007, 02:19:36 pm »
I would like to do this:

At some point I would like to save current camera position and direction. Which i do with getPosition() and getDirection().
I save those numbers to file
Than at some point I would like to retrieve those number and set camera to saved position and direction.
I use setPosition().. but can't find the method setDirection()??

Is there a way i can save the direction and then retrieve it again?

Support / Re: Texture resizing
« on: March 14, 2007, 04:06:04 pm »
I changed scaling to how you suggested. It resizes texture much smoother.

Code: [Select]

   public static Image scaleImage(BufferedImage image, double factorW, double factorH)
      BufferedImage scaled = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE_INT_ARGB);
      int width = (int)(factorW*image.getWidth());
      int height = (int)(factorH * image.getHeight());
      Image img = image.getScaledInstance(width, height, BufferedImage.SCALE_SMOOTH);
      scaled.getGraphics().drawImage(img, 0, 0, width, height, null);
      return scaled;

Projects / Re: aptal karga (foolish crow)
« on: March 06, 2007, 06:43:04 pm »
Nice work raft.

I'm wondering if you use fenggui to show GUI stuff on screen. And if you do, what are your experiences with it?

Regards, Ivan

Projects / Re: Warehouse Visualisation
« 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">
    <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 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 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>
    <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 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 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 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 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>

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.

Projects / Re: Warehouse Visualisation
« on: March 02, 2007, 06:12:23 pm »

a little test clip from youtube

News / Re: New forum!
« on: March 01, 2007, 01:12:37 am »
looks pretty nice

Projects / Warehouse Visualisation
« on: February 26, 2007, 04:08:04 pm »

That did the trick :)


Projects / Warehouse Visualisation
« 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.

Support / Polygon Count
« on: February 26, 2007, 02:10:47 pm »
Well, I think you've than created a game which will/should run on most nowdays configurations (and a few years old also :) )

Support / Level Of Detail
« on: February 26, 2007, 02:07:11 pm »
What is LOD? Raft has send me sample of combining fenggui with jpct. Looks very interesting :)

Support / Polygon Count
« on: February 26, 2007, 02:03:19 pm »
It's hard for me to say.
I never go over 15.000 polygons in one world overall. And i avoid using non narrow planes as much as possible.

Projects / Warehouse Visualisation
« on: February 26, 2007, 01:50:28 pm »
Some additional screenshots from application ;)

Projects / Warehouse Visualisation
« 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)

now i use transparency like this:


Support / Texture resizing
« on: February 10, 2007, 07:04:23 pm »
Speed is not a factor here, since I only scale a few images at initialization. Works fast already. So I'll stick with how it is. ;). No need for optimization      :mrgreen:

Support / Texture resizing
« on: February 09, 2007, 07:38:38 pm »
The thing is I needed to maintain original size of image and make smaller content. The part with no content is left opaque.

Pages: 1 [2] 3 4 5