Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: Cylindrical Projection for surround view  (Read 15424 times)

eisenopferd

  • Jr. Member
  • *
  • Posts: 38
  • newbie
Cylindrical Projection for surround view
« on: September 22, 2013, 01:56:58 pm »

Just one word for the cylindrical projection: Gorgeous stuff!
I just tested the projection with my eyefinity setup with 5 19" TFTs.

Its even working with the 179° FOV and the view has no distortions!!

Standing in the middle of the runway facing 90° I`m able too see both ends of the runway in my outer screens.
This is new for any simulation I know and is a revolution for surround views!!!

OK, its not working perfect yet.
In the lower left and right corners, there are some parts missing. It looks like the rendering in the wide corners is not going far enough. But it is even the same with lower FOW.

If I spawn into a car or plane I cant see anything, Its corrupted.

I will take screenshots later.

But great success so far!!

/Hendrik/
Logged
i5 2400 ; AMD 6950 Eyefinity6
i3 4160 ; intel 4400

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Re: Cylindrical Projection for surround view
« Reply #1 on: September 22, 2013, 02:32:51 pm »

Yeah.. Take a real picture of your setup with the 5 screens running OT!
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Cylindrical Projection for surround view
« Reply #2 on: September 22, 2013, 02:38:22 pm »

Great it's working for you :)

The bugs are known issues with the culling (the corners), and the cockpits are broken because the long polygons there can't handle the curvature without extra tesselation. That tesselation will be hopefully automatic so that nothing will be needed to be done with the models.
Logged

foxfiles

  • Full Member
  • ***
  • Posts: 215
  • Reality is merely an illusion
Re: Cylindrical Projection for surround view
« Reply #3 on: September 23, 2013, 02:28:05 am »

Humm, this is very good !
Logged
Reality is merely an illusion, albeit a very persistent one - A. Einstein

eisenopferd

  • Jr. Member
  • *
  • Posts: 38
  • newbie
Re: Cylindrical Projection for surround view
« Reply #4 on: September 23, 2013, 05:05:04 am »

Great it's working for you :)

The bugs are known issues with the culling (the corners), and the cockpits are broken because the long polygons there can't handle the curvature without extra tesselation. That tesselation will be hopefully automatic so that nothing will be needed to be done with the models.
Is it possible to build a Cockpit without these polygons? Perhaps only a panel with instruments, like a cabrio airplane? Would it be possible to fly with this model without these errors?
Logged
i5 2400 ; AMD 6950 Eyefinity6
i3 4160 ; intel 4400

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Cylindrical Projection for surround view
« Reply #5 on: September 23, 2013, 05:18:29 am »

Usually people who need it have hardware cockpits and only need the image of the outside world; this was done initially for these cases. If you want to have a 3D in-game cockpit rendered with the current version, you'd have to have it finely tesselated. The problem is that cylindrical/spherical projections are curved. When you project a triangle that's close to the camera, the triangle endpoints (vertices) are projected correctly, but the pixels inside are interpolated linearly, because hw rasterizers can't work otherwise. The error is progressively larger as the pixels are further away from the nearest vertex.

If you want to minimize the error, you must break all triangles that would end up covering larger parts of the screen into smaller ones. That can be done automatically (on modern GPUs), or manually by tesselating the cockpit finely, avoiding any long triangle edges.

The models we have got there aren't tesselated enough, there are some long triangles on the sides, and that completely breaks the projection. Once the auto-tesselation is implemented, it should handle these cases.
Logged

eisenopferd

  • Jr. Member
  • *
  • Posts: 38
  • newbie
Re: Cylindrical Projection for surround view
« Reply #6 on: September 23, 2013, 05:56:51 am »

Thanks Cameni for the explanation.
So for me it would be useful to display the panel in a new window, but we had this discussion befor :-)
Would it be possible for me to change the model of the cessna and deleting all parts around the panel? Or simply define a new cessna without any viewable model? I never tried the meddeling tools...
Is it possible to fly the cessna only with a HUD?
Logged
i5 2400 ; AMD 6950 Eyefinity6
i3 4160 ; intel 4400

eisenopferd

  • Jr. Member
  • *
  • Posts: 38
  • newbie
Re: Cylindrical Projection for surround view
« Reply #7 on: September 23, 2013, 07:06:18 am »

Here comes a video of my setup with the surround view with 5 screens setup in a half circle.




This kind of display is nessesary for having the overview when flying in a traffic pattern. In this case its important to turn the last 90° corner at the right moment, and for this correct turning its important to be able to look outside the side Window in a 90° angle.
With other simulators (MSFS, XPlane) this is not possible with only one window.

Perhaps this video makes it clearer. Its recorded wich FS2004 in the same hardware.


« Last Edit: September 23, 2013, 07:48:14 am by eisenopferd »
Logged
i5 2400 ; AMD 6950 Eyefinity6
i3 4160 ; intel 4400

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Re: Cylindrical Projection for surround view
« Reply #8 on: September 23, 2013, 12:08:10 pm »

Looks Great. Now I need to get five 12" monitors and wrap it around my head.

What Kind of framerate can you maintain?
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

eisenopferd

  • Jr. Member
  • *
  • Posts: 38
  • newbie
Re: Cylindrical Projection for surround view
« Reply #9 on: September 23, 2013, 12:37:52 pm »


What Kind of framerate can you maintain?
I have no detail. I guess its about 15-20fps. I didnt manage to switch on the FPS counter yet. Is it F12? I have a small size keyboard with a funktion key to be pressed for F11 and F12.
I had to reduce the details a little bit (I dont remember wich slider it was) and it seems to be that the details-redering is not so far in the distance when I switch to cylindrical. Perhaps you can see this in the video.
If I can find the FPS counter I will post a fiew details.
« Last Edit: September 23, 2013, 12:40:28 pm by eisenopferd »
Logged
i5 2400 ; AMD 6950 Eyefinity6
i3 4160 ; intel 4400

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Cylindrical Projection for surround view
« Reply #10 on: September 23, 2013, 12:49:03 pm »

Would it be possible for me to change the model of the cessna and deleting all parts around the panel? Or simply define a new cessna without any viewable model? I never tried the meddeling tools...
Is it possible to fly the cessna only with a HUD?
You can set sim_mode = true in eng.cfg, to hide the aircraft.
Logged

eisenopferd

  • Jr. Member
  • *
  • Posts: 38
  • newbie
Re: Cylindrical Projection for surround view
« Reply #11 on: September 23, 2013, 02:39:09 pm »


You can set sim_mode = true in eng.cfg, to hide the aircraft.
yes it works.
But How ca I setup the FPS counter???
Logged
i5 2400 ; AMD 6950 Eyefinity6
i3 4160 ; intel 4400

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Cylindrical Projection for surround view
« Reply #12 on: September 23, 2013, 02:48:33 pm »

ctrl+F12
Or you can remap it by editing iomap.cfg entry.
Logged

eisenopferd

  • Jr. Member
  • *
  • Posts: 38
  • newbie
Re: Cylindrical Projection for surround view
« Reply #13 on: September 23, 2013, 02:51:16 pm »

ctrl+F12 does nothing. I`ll try to remap or use another keyboard.
Logged
i5 2400 ; AMD 6950 Eyefinity6
i3 4160 ; intel 4400

eisenopferd

  • Jr. Member
  • *
  • Posts: 38
  • newbie
Re: Cylindrical Projection for surround view
« Reply #14 on: October 11, 2013, 04:06:14 pm »

Just managed to start the FPS counter.
The FPS is about 15-20 and it is the same with projection flat or cylindric.

/Hendrik/
Logged
i5 2400 ; AMD 6950 Eyefinity6
i3 4160 ; intel 4400