Author Topic: new revision for vp now with spot and point lighting  (Read 4241 times)

0 Members and 1 Guest are viewing this topic.

Offline faralos

  • Full Member
  • ***
  • Posts: 235
  • Karma: +1/-0
new revision for vp now with spot and point lighting
« on: April 23, 2013, 10:28:25 AM »
the newest revision is out now for vp (rev 544)
 and is for spot lighting and point lighting
 I have fooled around with it to some extent
 and it works really well!
now the first pic shows a spot light dead center in the table
the values are for the spot lighting
 the last pic is for a point light
 that while also looking like a spot shows up more ambient lighting than spots normally would
I am posting this here for those of you who don't/won't/can't go to vpf for it
these are the basic docs for lighting:
As an example: if you create a directional light with dir 0,0,-1
(pos is not needed for directional) then you have a light that is exactly over the table
and shining equally over the full table.

If you create a point light with pos 500, 1000, 400
(dir is not needed for point) then you have a light that is roughly in the middle of your table
and floating near the virtual playfield glass (depends on the table dimensions of course) shining in all directions.

If you create a spot with pos 500, 1000, 400 and dir 0,0,-1
 then you have a light similar to the point light, but only shining in a certain direction.
« Last Edit: April 23, 2013, 10:31:25 AM by faralos »
I am never wrong Once I thought I was
 but I was merely mistaken

Offline Itchigo

  • Victory is mine!!
  • Administrator
  • Pinball Wizard
  • *****
  • Posts: 1,423
  • Country: us
  • Karma: +10/-0
Re: new revision for vp now with spot and point lighting
« Reply #1 on: April 23, 2013, 08:13:33 PM »
Thanks Faralos. I didn't have the latest. I'll have to learn this one now! :banghead:
Tremble in fear! Behold my Bankai!


Offline Pintrepid

  • Silverball Maniac
  • Administrator
  • Sr. Wizard
  • *****
  • Posts: 281
  • Country: us
  • Karma: +3/-0
Re: new revision for vp now with spot and point lighting
« Reply #2 on: April 24, 2013, 12:06:50 AM »
Thanks Faralos. I didn't have the latest. I'll have to learn this one now! :banghead:

Me, too ...  :whistle:
-PeterMac