Register    Login    Forum    FAQ    PinSimDB.org

Board index » Future Pinball » BAM corner




Post new topic Reply to topic  [ 157 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12, 13 ... 16  Next
Author Message
 Post subject: Re: BAM Lighting Setup
 Post Posted: Fri Jan 04, 2019 1:07 am 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2822
Location: Ontario, Canada
Thanks for trying it Terry ! all the VR stuff in my version can be turned off...but I loved testing out some vr ideas ...have you seen the animated shark head coming out of the front wall during multiball ?

It has various objects in
it's mouth..he he


Top 
 Profile  
 
 Post subject: Re: BAM Lighting Setup
 Post Posted: Fri Jan 04, 2019 1:15 am 
Offline
User avatar

Joined: Sun Sep 13, 2015 1:16 pm
Posts: 531
Gimli wrote:
Thanks for trying it Terry ! all the VR stuff in my version can be turned off...but I loved testing out some vr ideas ...have you seen the animated shark head coming out of the front wall during multiball ?

It has various objects in
it's mouth..he he


I caught it for a second, yes. :)

I have tried out a lot of tables in VR...so damn amazing. Now the lighting on FP is essential to get right. With low ambient lighting these tables can look amazing...but only if they have good playfield and hardware lights like on Jaws UPro.

Some tables like Knight Rider or MOTU won't look good like that since the inserts have no flares, and the GI isnt hardware lighting.


Top 
 Profile  
 
 Post subject: Re: BAM Lighting Setup
 Post Posted: Fri Jan 04, 2019 1:33 am 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2822
Location: Ontario, Canada
I'll look at Slams jaws lighting and playfield swapping tomorrow...cool stuff !!


Top 
 Profile  
 
 Post subject: Re: BAM Lighting Setup
 Post Posted: Fri Jan 04, 2019 4:44 am 
Offline

Joined: Thu Aug 16, 2012 11:12 pm
Posts: 2486
Location: Arkansas, USA
Gimli,

I was wandering if the problem with the 2 playfield textures is with the calculation of the shadow masks? Or is the "APFDark" surface interfering with being able to see the shadow masks because "APFDark" is set a bit higher than the playfield?

If the problem is the calc of the shadow masks, you might try moving the "APFDark" surface off the playfield during the calculation.

If it is the "APFDark" surface interfering with being able to see the shadow masks, you might try replacing the surface with an overlay. The overlay would have to be the exact same size as "APFDark" to make sure the light and dark playfield textures are aligned correctly. I am guessing this is it.

Just some ideas,

George


Top 
 Profile  
 
 Post subject: Re: BAM Lighting Setup
 Post Posted: Fri Jan 04, 2019 11:16 am 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2822
Location: Ontario, Canada
Just a quick check..but yep looks very encouraging
playfield texture swap is instantaneous and shadow maps are retained...

I do a more thorough look later with a video....


Top 
 Profile  
 
 Post subject: Re: BAM Lighting Setup
 Post Posted: Fri Jan 04, 2019 3:16 pm 
Offline

Joined: Thu Aug 16, 2012 11:12 pm
Posts: 2486
Location: Arkansas, USA
I had trouble with lights on the night version of CFTBL which has a surface like APFDark. I suspect any method that deletes it will probably work.

George


Top 
 Profile  
 
 Post subject: Re: BAM Lighting Setup
 Post Posted: Fri Jan 04, 2019 7:06 pm 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2822
Location: Ontario, Canada
GeorgeH wrote:
I had trouble with lights on the night version of CFTBL which has a surface like APFDark. I suspect any method that deletes it will probably work.

George


I think so...


Last edited by Gimli on Fri Jan 04, 2019 7:09 pm, edited 1 time in total.

Top 
 Profile  
 
 Post subject: Re: BAM Lighting Setup
 Post Posted: Fri Jan 04, 2019 7:08 pm 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2822
Location: Ontario, Canada
TerryRed wrote:
If the PF texture can be swapped out...i wonder how fast exactly. Ive seen SLAM and Steve Paradis do that using things like multi-layered surfaces for the PF...but if the PF can be one single layer that never needs to hidden,etc...then this can make for a pretty realistic PF images with some really cool lighting. If the TGA image for the shadowmaps is tied to the actual light in script...then that's great stuff.

A playfield HUD can't be used in this way because I think it is self luminous so it wont cast shadows....like the Translite.


Here's a video...the playfield textures can be swapped instantaneously and they all retain shadow maps
https://youtu.be/LsTxRU3iit0


Top 
 Profile  
 
 Post subject: Re: BAM Lighting Setup
 Post Posted: Fri Jan 04, 2019 8:05 pm 
Offline
User avatar

Joined: Sun Sep 13, 2015 1:16 pm
Posts: 531
Awesome stuff....I passed this idea to SLAM. The advantage of this is retaining reflections and other things while still having the shadowmaps.

As the video shows...designing a table with hardware lights as the GI allows for shadowmaps to be more effective and visible with lower ambient lighting in BAM. With the shadowmaps tied to each GI Flasher to only be visible when the Flasher is on...this allows for ANY playfield image to be used and changed at any time as the shadowmaps work separately!

What are the commands like for swapping the images. Can you just use any image, or can you use an Image List sequence?

I'm thinking in terms of a Looping Video for the playfield image. :)

If you can't use an Image sequence...you "could" cleverly name your movie "images" as Clip00,jpg, Clip01,jpg, Clip02.jpg and use a variable to change up the image sequence.

Then just use a Timer to start a VideoPlay sub routine and use Clip00 for your playfield image. Then on the next cycle of the Timer have it add 1 to variable name for your playfield image, and so on until it reaches the last image, and then start over.

I'd be really curious how well this would work with 4K images and at what speed,etc.


Top 
 Profile  
 
 Post subject: Re: BAM Lighting Setup
 Post Posted: Fri Jan 04, 2019 11:54 pm 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2822
Location: Ontario, Canada
TerryRed wrote:
Awesome stuff....I passed this idea to SLAM. The advantage of this is retaining reflections and other things while still having the shadowmaps.

As the video shows...designing a table with hardware lights as the GI allows for shadowmaps to be more effective and visible with lower ambient lighting in BAM. With the shadowmaps tied to each GI Flasher to only be visible when the Flasher is on...this allows for ANY playfield image to be used and changed at any time as the shadowmaps work separately!

What are the commands like for swapping the images. Can you just use any image, or can you use an Image List sequence?

I'm thinking in terms of a Looping Video for the playfield image. :)

If you can't use an Image sequence...you "could" cleverly name your movie "images" as Clip00,jpg, Clip01,jpg, Clip02.jpg and use a variable to change up the image sequence.

Then just use a Timer to start a VideoPlay sub routine and use Clip00 for your playfield image. Then on the next cycle of the Timer have it add 1 to variable name for your playfield image, and so on until it reaches the last image, and then start over.

I'd be really curious how well this would work with 4K images and at what speed,etc.


I am not sure what the resolution limit is on FP textures

The command is simple

Code:
xBAM.SetPlayfieldTexture "TextureName"


but first all textures must simply be assigned to a "surface" in table editor.

Each "surface " has 3 places to add textures ( top, side and enamel map) these mean nothing for our purposes and are merely place holders for adding textures ..

Once textures are assigned this way then use the code.

viewtopic.php?nomobile=f=55&t=6587&p=85592#p85592


This is the same process for all textures that Bam can swap... (All objects, cabinet , backglass and playfield)


Last edited by Gimli on Sat Jan 05, 2019 12:09 am, edited 1 time in total.

Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 157 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12, 13 ... 16  Next

Board index » Future Pinball » BAM corner


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to: