Author Topic: Watching everything  (Read 4676 times)

Offline Melssj5

  • double
  • *****
  • Posts: 724
    • View Profile
Watching everything
« on: January 02, 2005, 04:33:31 pm »
Hello, I what can I do to avoid that the far objects disappears, I am doing a game with huge outdoors maps, so I want to be able to see everything arround me but far objects dissaperas, everything gets black. Or how can I do to change the distance to became dark, I tried to use the Config fields but everything is the same.
Nada por ahora

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Watching everything
« Reply #1 on: January 02, 2005, 04:47:52 pm »
Config.farPlane should do the trick. Unless you are using fog with has to be adjusted separately using the setFogParameters()-method in World. It's also possible that you are scratching the maximum polygon count. In that case, adjust Config.maxPolysVisible. You have to do this before instantiating a World.

Offline Melssj5

  • double
  • *****
  • Posts: 724
    • View Profile
Watching everything
« Reply #2 on: January 02, 2005, 04:58:53 pm »
Quote from: "EgonOlsen"

Ok thanks, other 2 doubts.....

1) I did Config.glWindowsName="Whatever", but Whatever is not being displayed on the window, Did I Understood bad the   Config.glWindowsName ?


2) In another game I used a Map that is indoor and outdor, I used the Open Gl to render the scenes, but It moves very very very slow when any wall is in front, and too fast when nothing is in front, for example in the limit of the map, How can I do to get a good and stable performance.
Nada por ahora

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Watching everything
« Reply #3 on: January 02, 2005, 05:53:56 pm »
1.) Should work. You have to set the parameter before initializing the OpenGL renderer.

2.) A very slow performance in OpenGL mode is not a normal behaviour unless your OpenGL card is very crappy. What graphics card are you using and in which display mode are you running?  Are you sure that you've really initialized the renderer in Hardware OpenGL mode and not just in the software renderer's OpenGL "emulation"?
Despite of this, you should base you movement on the time passed in the last frame(s) or ensure a constant framerate somehow (which obviously isn't possible in your case).

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Watching everything
« Reply #4 on: January 02, 2005, 06:36:06 pm »
??? I had to delete your last post (and mine too) because somehow my answer appeared in your question ???

Anyway, what i mean about the framerate is, that you wouldn't ask this question if your framerate would be constant, because it wouldn't be a problem then.