Jump to content



Photo
- - - - -

Do FS tables need more Height Illusion?


  • Please log in to reply
19 replies to this topic

#1 pinballjoe

pinballjoe

    Hobbyist

  • Members
  • PipPip
  • 24 posts

  • Flag: Canada

  • Favorite Pinball: Pioneer

Posted 22 February 2010 - 07:36 PM

Wondering what others think...

I find the 4:3 tables played on a vertical monitor
give a nice illusion of width, height and depth, a 3D look.

FS tables on a horizontal monitor look nice
but I find often the height illusion is lost for tables with levels , ramps, etc,
when just the playfield fills the monitor from side to side.

Wondering if the height illusion could be improved if developers
showed the table sides and back similar to 4:3 tables in the render?

Edited by pinballjoe, 22 February 2010 - 07:43 PM.


#2 Rawd

Rawd

    Pinball Wizard

  • VIP
  • 4,313 posts
  • Location:Edmonton, Canada

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 22 February 2010 - 07:44 PM

They are totally different renders. On 4:3 tables, the authors create the illusion of a 3D space by building the table on an angle 'into' the monitor in 3D. This is impossible to do in FS. In FS, the authors are trying to create the appearance of a flat pinball table (looking down at it..not 'into it'), with 3D models coming 'up and out' of the monitor. I think that the tables look great with what they have to work with (2D monitors on a 2D engine). It is hard for me to believe sometimes that it is a 2D engine

FP looks a little bit more realistic in its 3D appearance. I assume this is due to the lighting on actual 3D models, rather than flat pictures.


 


#3 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,148 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 22 February 2010 - 11:29 PM

PinballJoe.... you are right on the money with your thinking and its something we discussed last year over at the defunct FP forums (damn shame all those great post are in neverneverland now).

Here's an example of what I came up with for an alternate render method for FP (Black never acknowledged the suggestion unfortunately but I do think that he took it onboard as there is video of the newer unreleased engine on youtube and it does appear to have variable perspective from front to back).

You can see in the image below that objects at the front of the table have much less front side view angle than towards the back of the table where the objects appear to stretch (this is countered by real world perspective when viewed at the correct playing angle). Objects towards the sides also appear to lean outwards as they would in reality from a viewpoint at the front of the machine.

Using this method the ball would have a round shape at the front of the table and as it rolled towards the back it would appear to be more egg shaped when viewed directly top down, but when viewed at playing angle the real world perspective would again counter the stretching and it would appear to be correctly shaped no matter where it was on the table.

You need to load the image onto your cab and I think it works best on 16:9 screens around 37-42 inches (laid on its back), Rawd did some testing of it for me and said I got the perspective just about right. If you view it straight on then the effect doesnt work of course.

Your thoughts about showing the sides and back of the table can also be seen in this example (provided you meant internal sides and back?). The next step in the evolution of this idea was to implement head tracking so that perpective changed depending on the position of your eyes, basically creating a 3d box that you look into and see around and behind objects by moving your head in space, the 4 corners of the virtual "glass" would still be locked to the 4 corners of the screen during this headtracking though as it would in reality. Further expansion on this idea would involve the use of a 3d TV so you would get real depth.


By the way, it is possible to currently achieve this effect in realtime NOW, at least for proof of concept purposes anyway... to do this your videocard must support keystone adjustment and preferably be hardware accelerated during this video mode (my card runs very slow in keystone mode with no HW support, 7600GT, although Im sure that a much older Nvidia driver used to support hardware keystone a few years ago but I think they crippled the function in newer drivers).

To do this:

1) Load an angled 4:3 table into either VP or FP. Make sure its a very high quality texture table as its going to get stretched.

2) Rotate the screen with your videocard settings.

3) Adjust keystone setting on your video card until the upper 2 corners of the table touch the upper left and right corners of your screen, you will also need to adjust the lower 2 corners as well. Eventually you should have a stretched out table that fills the screen similar to arcade render viewpoint. However the perspective should be varying from bottom to the top of the screen similar to the image below.

4) If your video card is better than mine you may actually be able to play it ok, otherwise enjoy the slideshow and proof of concept only.


Edited by Gravy, 22 February 2010 - 11:50 PM.

Pinball Addict


#4 scapino

scapino

    Enthusiast

  • VIP
  • 331 posts
  • Location:Portland, Oregon

  • Flag: United States of America

  • Favorite Pinball: Cirqus Voltaire



Posted 23 February 2010 - 12:34 AM

Both of my FS tables (Mata Hari and Flash Gordon) were done this way, with a 3d angle keystoned flat to preserve the "from the front of the table" look.

Kurt
My re-creations are...

Visual Pinball: RoundUp, Swinger.

Visual PinMAME: Mata Hari, Star Trek, Close Encounters, CountDown, Fireball Classic, CFTBL, Eight Ball, Twilight Zone, Xenon, Cirqus Voltaire, Playboy,Operation Thunder, Fathom, Strikes & Spares, Evel Knievel, Flash Gordon, Future Spa, SuperSonic and Eight Ball Champ.

Future Pinball: Close Encounters, Eight Ball Champ.

Get them at...
Posted Image
http://www.scapinosvpins.com

#5 pinballjoe

pinballjoe

    Hobbyist

  • Members
  • PipPip
  • 24 posts

  • Flag: Canada

  • Favorite Pinball: Pioneer

Posted 23 February 2010 - 12:56 AM

Thanks for replies, I'll have look...



#6 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,148 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 23 February 2010 - 01:19 AM

QUOTE (scapino @ Feb 23 2010, 11:34 AM) <{POST_SNAPBACK}>
Both of my FS tables (Mata Hari and Flash Gordon) were done this way, with a 3d angle keystoned flat to preserve the "from the front of the table" look.

Kurt


yeah I just remembered that Kurt, though the effect is not quite as prominent in your tables, very nicely done though.

Pinball Addict


#7 Rawd

Rawd

    Pinball Wizard

  • VIP
  • 4,313 posts
  • Location:Edmonton, Canada

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 23 February 2010 - 04:24 AM

Ya. Gravy.. as discussed in our lost FP thread, I really like that render. I wish I still had that animated GIF that shows the difference between yours and the FP render (I don't suppose you have that?).

Until we get real 3D or headtracking, there is only so much that can be done with what is available.


 


#8 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,148 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 23 February 2010 - 04:43 AM

yeah, I dont think I have that gif anywhere, you made the gif eh? I cant remember now but did you actually have the real machine to take a photo of and compare it to?

Edited by Gravy, 23 February 2010 - 04:48 AM.

Pinball Addict


#9 lettuce

lettuce

    Pinball Fan

  • Silver Supporter
  • 929 posts

  • Flag: England

  • Favorite Pinball: Monster Bash

Posted 23 February 2010 - 11:03 AM

So for FP table that you want displayed in a cab (and if ure gfx card is up to it) you should use the method gravy stated above rather than the arcaderender mode??

#10 Rawd

Rawd

    Pinball Wizard

  • VIP
  • 4,313 posts
  • Location:Edmonton, Canada

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 23 February 2010 - 11:50 AM

Ok, I found it.

This is an animated gif, showing the difference between FP render, and gravy's prototype render...



Here is a gif I made showing FP compared to a real machine (at proper angle)




You can see how Gravy's prototype closer represents a real viewing angle. (Look particularily at the outlane bumpers)

Edit: I guess I should do one now, showing a comparison of FP and VP renders on the same table.


 


#11 Rawd

Rawd

    Pinball Wizard

  • VIP
  • 4,313 posts
  • Location:Edmonton, Canada

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 23 February 2010 - 03:19 PM

For anyone interested, this shows the difference between FP's arcade render mode and VP's FS tables...



(The darker table is the VP FS version)


 


#12 settingsons

settingsons

    Pinball Fan

  • VIP
  • 959 posts
  • Location:Switzerland

  • Flag: Switzerland

  • Favorite Pinball: Terminator 2 and many EM machines



Posted 23 February 2010 - 08:13 PM

QUOTE (Gravy @ Feb 22 2010, 11:29 PM) <{POST_SNAPBACK}>
.......Black never acknowledged the suggestion unfortunately but I do think that he took it onboard as there is video of the newer unreleased engine on youtube and it does appear to have variable perspective from front to back....



Very interesting thread and description from Gravy. I took a look on Youtube for the video of the new FP engine but couldn't track it down - does anyone have the URL? Thanks

#13 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,148 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 24 February 2010 - 12:06 AM

Have a look at the new engine at

Pay particular attention to the frame at 30 secs. You can see that the angle of view on the flippers is almost directly top down (in fact it is perhaps even slightly north of the flippers so you can almost see their back face in the video). This is not something that is possible with the current arcaderender mode that is available to us so something has certainly changed in the unreleased version.

Im not 100% sure however that the multipin table varies its perspective from top to bottom as was my suggestion so perhaps black wasnt able to figure out how to do this in opengl or didnt want to for whatever reason, the objects at the top of the playfield dont really appear to be stretched much at all and are also almost viewed from directly above. Keep in mind that the screen size on these machines is only 32 inch I think so perhaps thats what David and Black deduced worked best at that screen size. 37 inch and over I feel my suggestion would work a lot better as Rawd has shown with his animated GIFs (thanks for finding them Rawd).

Lettuce, if your graphics card can support the keystone effect whilst still running smoothly then by all means give it a try however you will certainly lose a lot of resolution towards the top end of the screen due to the keystone stretch. This might not be quite as noticable on a 40 inch screen viewed from a players perspective as the top end of the screen will be physically further away from you. Its really only a proof of concept so likely not ideal for playing permanently.

As Simplyus pointed out when we were discussing this at FP, the projection method that needs to be used is called "anamorphosis" or "anomorphic" I think. Its basically the same method that 3d Pavement artists use to make those awesome 3d chalk drawings on the sidewalk. Viewed at the wrong angle they look distorted and weird, viewed from the correct position and they look totally 3d and appear to have depth, the same goes for pinball.

Rawds comparison gif also shows a good example of how the current FP render method makes objects at the edges of the screen appear to unnaturally lean in towards the middle of the table, this would be countered by my method.

I remember scapino telling me a while back how he was able to render a similar view in truespace by setting the camera waaaaay back from the table and moving it slightly away from directly above it or rotating the table vertically slightly but he would have to describe that method again as Im a little hazey as to what he said. I dont think Scapino took it quite far enough though and not sure if its possible to do this correctly in truespace.

Whether this will ever be possible render method in either FP or VP Im not sure, perhaps Brian can shed some light on this for us for the VP side of things.

I did a quick search for doing something similar in opengl and came up with the following interesting link from a few years ago:

http://www.opengl.or...b...8518&page=1

Edited by Gravy, 24 February 2010 - 12:21 AM.

Pinball Addict


#14 scapino

scapino

    Enthusiast

  • VIP
  • 331 posts
  • Location:Portland, Oregon

  • Flag: United States of America

  • Favorite Pinball: Cirqus Voltaire



Posted 24 February 2010 - 12:45 AM

Yeah, I did the anomorphic view on the my tables that I updated for ultra-pin, using the method you described...sort of a virtual far away ultra-telephoto lens, to give a flat but dimensional angle to the table, resulting with the top and bottom of the table having equal "3d" ness.

I changed my method for Mata Hari and Flash Gordon, puting the camera at the normal head position, and rendering at a very high res, so that when I keystone flattened the table, I wouldnt loose anything at the top. The result is these two tables have an almost top down view near the flippers, that stretches out more and more towards the top of the table. When viewed on a flat screen, in the same position as the real pinball playfield, with your head in the same positon, the distortion looks correct (of course, only from this one angle), any other angle it seems wierd... smile.gif

Kurt
My re-creations are...

Visual Pinball: RoundUp, Swinger.

Visual PinMAME: Mata Hari, Star Trek, Close Encounters, CountDown, Fireball Classic, CFTBL, Eight Ball, Twilight Zone, Xenon, Cirqus Voltaire, Playboy,Operation Thunder, Fathom, Strikes & Spares, Evel Knievel, Flash Gordon, Future Spa, SuperSonic and Eight Ball Champ.

Future Pinball: Close Encounters, Eight Ball Champ.

Get them at...
Posted Image
http://www.scapinosvpins.com

#15 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,148 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 24 February 2010 - 01:13 AM

QUOTE (scapino @ Feb 24 2010, 11:45 AM) <{POST_SNAPBACK}>
Yeah, I did the anomorphic view on the my tables that I updated for ultra-pin, using the method you described...sort of a virtual far away ultra-telephoto lens, to give a flat but dimensional angle to the table, resulting with the top and bottom of the table having equal "3d" ness.

I changed my method for Mata Hari and Flash Gordon, puting the camera at the normal head position, and rendering at a very high res, so that when I keystone flattened the table, I wouldnt loose anything at the top. The result is these two tables have an almost top down view near the flippers, that stretches out more and more towards the top of the table. When viewed on a flat screen, in the same position as the real pinball playfield, with your head in the same positon, the distortion looks correct (of course, only from this one angle), any other angle it seems wierd... smile.gif

Kurt


Thanks again for the description Kurt, what size screen were you viewing your renders on when viewing from a players viewpoint? (Ie, do you have an ultrapin cab with a 32 inch screen? Or something larger?

The larger the screen size, the more elongated the image will have to appear at the top end of the playfield/screen in order for it to be corrected by real world perspective when laid flat in portait orienation (you should also see more of the front face of objects that are towards the back). That is why I was thinking that perhaps your renders dont quite take the effect far enough for those using 37 - 42 inch screens or thereabouts. I guess you have to work for the average joe though.

Edited by Gravy, 24 February 2010 - 01:28 AM.

Pinball Addict


#16 scapino

scapino

    Enthusiast

  • VIP
  • 331 posts
  • Location:Portland, Oregon

  • Flag: United States of America

  • Favorite Pinball: Cirqus Voltaire



Posted 24 February 2010 - 02:39 AM

In some ways I think the stretching at the top almost goes too far! smile.gif

I'm rendering my master images at 4000 x 3000 pixels at the moment, so that when I do the keystoning I'm still left with a hi-res enough image to cut my reels from.

The virtual "head height" that I use in my rendering is that of a 5'6" person standing just in front of the machine, with thier head just over the lockdown bar. Theoretically, If you are 5'6" and your cab is built just like a pin table, and you play standing just in front, with your head just slightly over where the lockdown bar would be on a real table, the perspective of the flat image should look just right. Your milage may very if you have a smaller screen (where you naturally stand further back then you would on a real table).

Kurt
My re-creations are...

Visual Pinball: RoundUp, Swinger.

Visual PinMAME: Mata Hari, Star Trek, Close Encounters, CountDown, Fireball Classic, CFTBL, Eight Ball, Twilight Zone, Xenon, Cirqus Voltaire, Playboy,Operation Thunder, Fathom, Strikes & Spares, Evel Knievel, Flash Gordon, Future Spa, SuperSonic and Eight Ball Champ.

Future Pinball: Close Encounters, Eight Ball Champ.

Get them at...
Posted Image
http://www.scapinosvpins.com

#17 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,148 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 24 February 2010 - 03:20 AM

yeah, its a combination of 3 variables, player height, position and screen size. Thats why ideally if Black were ever to release a new version with this render feature then it should be user customisable.

I havent got a cab myself, Im still on an old 19inch CRT monitor so Rawd helped out a lot with the testing. I was actually doing my own testing here by printing out onto A4 sheets of paper and then viewing the sheet from various angles/distances to see what worked. smile.gif

Rawd, I've forgotten what size screen you have in your cab?

Pinball Addict


#18 scapino

scapino

    Enthusiast

  • VIP
  • 331 posts
  • Location:Portland, Oregon

  • Flag: United States of America

  • Favorite Pinball: Cirqus Voltaire



Posted 24 February 2010 - 04:06 AM

Funny you should say that! I dont have a cab set up either, and printing out on A4 paper (and laying it on a table and viewing it from the right angle) is how I determined that what I was doing would work.... smile.gif

Kurt
My re-creations are...

Visual Pinball: RoundUp, Swinger.

Visual PinMAME: Mata Hari, Star Trek, Close Encounters, CountDown, Fireball Classic, CFTBL, Eight Ball, Twilight Zone, Xenon, Cirqus Voltaire, Playboy,Operation Thunder, Fathom, Strikes & Spares, Evel Knievel, Flash Gordon, Future Spa, SuperSonic and Eight Ball Champ.

Future Pinball: Close Encounters, Eight Ball Champ.

Get them at...
Posted Image
http://www.scapinosvpins.com

#19 Rawd

Rawd

    Pinball Wizard

  • VIP
  • 4,313 posts
  • Location:Edmonton, Canada

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 24 February 2010 - 06:00 AM

QUOTE (Gravy @ Feb 23 2010, 08:20 PM) <{POST_SNAPBACK}>
Rawd, I've forgotten what size screen you have in your cab?


40" screen. I am 5"11" tall and those pictures were taken from above my lockbar.



 


#20 Gravy

Gravy

    Pinball Fan

  • VIP
  • 1,148 posts

  • Flag: Australia

  • Favorite Pinball: Simpsons pinball party



Posted 24 February 2010 - 06:17 AM

QUOTE (scapino @ Feb 24 2010, 03:06 PM) <{POST_SNAPBACK}>
Funny you should say that! I dont have a cab set up either, and printing out on A4 paper (and laying it on a table and viewing it from the right angle) is how I determined that what I was doing would work.... smile.gif

Kurt



Great minds eh... although I think yours might be a little greater than mine. smile.gif


Rawd... lucky man, thanks for the confirmation smile.gif

Pinball Addict