Jump to content



Photo
- - - - -

The De-Alphalizer


  • Please log in to reply
23 replies to this topic

#1 TheMcD

TheMcD

    Pinball Wizard

  • VPF Staff
  • 2,461 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Frankenstein, Safecracker, Big Hurt, Four Horsemen, Tommy, X-Files

Contributor

Posted 01 April 2011 - 06:31 PM

Here's a suggestion. Could it be possible to add an option in the video options that, when activated, automatically changes all ramps from Alpha to, say, Acrylic?

Might help out with the FPS.

The McD

VPF's resident pinball music fanatic.

The McD's Pinball Music Emporium: YouTube /// MediaFire (old tracks) /// Mega (new tracks)


#2 TheMcD

TheMcD

    Pinball Wizard

  • VPF Staff
  • 2,461 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Frankenstein, Safecracker, Big Hurt, Four Horsemen, Tommy, X-Files

Contributor

Posted 14 April 2011 - 03:58 PM

Bump.

The McD

VPF's resident pinball music fanatic.

The McD's Pinball Music Emporium: YouTube /// MediaFire (old tracks) /// Mega (new tracks)


#3 Bob5453

Bob5453

    I'm taking a nap

  • VIP
  • 3,896 posts
  • Location:Near Dayton, Ohio USA

  • Flag: United States of America

  • Favorite Pinball: Any table I can play while sitting in a rocking chair




  • Trophies:

Posted 14 April 2011 - 04:21 PM

It's a good suggestion, the slider doesn't really work for me, so I have to change the ramps to acrylic on some tables. I also had the slider make a ball get stuck in a ramp, since it removes control points and can change the shape of the ramp.

Posted Image

You have discovered an Easter egg. Pat yourself on the back.


#4 faralos

faralos

    VPF Veteran

  • Members
  • PipPipPipPipPipPip
  • 7,838 posts
  • Location:Eastern Pa,USA

  • Flag: United States of America

  • Favorite Pinball: Flash (Williams) 1979, Flash2 Updated




  • Trophies:

Posted 14 April 2011 - 07:07 PM

how does moving the slider change the ramp shape? i thought all it did was to add points or subtract them to make the ramp more or less visible... good to know for the future...
"Don’t let the noise of others’ opinions drown out your own inner voice.
And most important, have the courage to follow your heart and intuition.”
----Steve Jobs


#5 Bob5453

Bob5453

    I'm taking a nap

  • VIP
  • 3,896 posts
  • Location:Near Dayton, Ohio USA

  • Flag: United States of America

  • Favorite Pinball: Any table I can play while sitting in a rocking chair




  • Trophies:

Posted 14 April 2011 - 07:29 PM

QUOTE (faralos @ Apr 14 2011, 03:07 PM) <{POST_SNAPBACK}>
how does moving the slider change the ramp shape? i thought all it did was to add points or subtract them to make the ramp more or less visible... good to know for the future...


You answered your own question.... It removes control points. Control points shape the ramps.

Posted Image

You have discovered an Easter egg. Pat yourself on the back.


#6 faralos

faralos

    VPF Veteran

  • Members
  • PipPipPipPipPipPip
  • 7,838 posts
  • Location:Eastern Pa,USA

  • Flag: United States of America

  • Favorite Pinball: Flash (Williams) 1979, Flash2 Updated




  • Trophies:

Posted 14 April 2011 - 11:30 PM

I realized that once I actually posted it but how do you know which points it erases? just trial and error then until the ramp works? so then what we should do for each table that has to get changes there should be a post on the changes that have to be made for the ramp to function correctly
"Don’t let the noise of others’ opinions drown out your own inner voice.
And most important, have the courage to follow your heart and intuition.”
----Steve Jobs


#7 BigBoss

BigBoss

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 750 posts

  • Flag: ---------

  • Favorite Pinball: Attack From Mars, Metallica, Theatre Of Magic, Shadow, Star Trek

Posted 14 April 2011 - 11:46 PM

QUOTE (Bob5453 @ Apr 14 2011, 09:21 AM) <{POST_SNAPBACK}>
It's a good suggestion, the slider doesn't really work for me, so I have to change the ramps to acrylic on some tables. I also had the slider make a ball get stuck in a ramp, since it removes control points and can change the shape of the ramp.

On which table(s) does the slider make the ball get stuck? And how weak does a PC need to be to have a performance problem here?

Edited by BigBoss, 14 April 2011 - 11:47 PM.


#8 Bob5453

Bob5453

    I'm taking a nap

  • VIP
  • 3,896 posts
  • Location:Near Dayton, Ohio USA

  • Flag: United States of America

  • Favorite Pinball: Any table I can play while sitting in a rocking chair




  • Trophies:

Posted 15 April 2011 - 12:29 AM

QUOTE (BigBoss @ Apr 14 2011, 07:46 PM) <{POST_SNAPBACK}>
QUOTE (Bob5453 @ Apr 14 2011, 09:21 AM) <{POST_SNAPBACK}>
It's a good suggestion, the slider doesn't really work for me, so I have to change the ramps to acrylic on some tables. I also had the slider make a ball get stuck in a ramp, since it removes control points and can change the shape of the ramp.

On which table(s) does the slider make the ball get stuck? And how weak does a PC need to be to have a performance problem here?


There was an Original table released recently called "Initial D Pinball Stage" It has a long alpha ramps in the middle of the table, my ball got stuck there unless I moved my slider to the right or changed alpha to acrylic (try it.) It didn't have many control points in the curve, so it then became a corner.

Many PC's that can run just about all software out there, can't run this simple pinball program. Read the HELP ME threads and you'll read all about it. My pc specs are at the bottom of my sig and if you click on it, you will know more about my pc than I do. smile.gif

Posted Image

You have discovered an Easter egg. Pat yourself on the back.


#9 rcadefrk

rcadefrk

    Pinball Fan

  • Members
  • PipPipPipPip
  • 742 posts
  • Location:Cincy, OH

  • Flag: United States of America

  • Favorite Pinball: Gorgar Hellfire/T2 Ultra & Chrome, TFTC/BBB & JP, Rosve's Starship Troopers, Real Pinball: SW Trilogy & Krull

Posted 15 April 2011 - 10:55 AM

Thanks Bob you fixed my problem i was having with Initial D & VP9, it was the slider that was causing the balls to get stuck on the ramps....thanks for the post!

#10 TheMcD

TheMcD

    Pinball Wizard

  • VPF Staff
  • 2,461 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Frankenstein, Safecracker, Big Hurt, Four Horsemen, Tommy, X-Files

Contributor

Posted 16 April 2011 - 11:18 AM

Can I get a dev's opinion on this? Might we see this in the next version or will I have to mod all of JP's updates to make them playable?

The McD

VPF's resident pinball music fanatic.

The McD's Pinball Music Emporium: YouTube /// MediaFire (old tracks) /// Mega (new tracks)


#11 cupid

cupid

    Enthusiast

  • VP Dev Team
  • PipPipPip
  • 496 posts

  • Flag: Germany

  • Favorite Pinball: Dr Who

Posted 16 April 2011 - 01:19 PM

QUOTE (TheMcD @ Apr 16 2011, 01:18 PM) <{POST_SNAPBACK}>
Can I get a dev's opinion on this? Might we see this in the next version or will I have to mod all of JP's updates to make them playable?

The McD

Yes you can. But it's a personal opinion. Just mine!

There is a problem with the deAlphalizer. I thought long about this. The problem is, that there is need for a ramp.isVisible feature, which i already checked in and which is working. The Ramp.Isvisible Feature would us get rid of some hacks that are made with gates. The Ramp.Isvisible feature only work with alpha ramps -> low chanche to get it working with acrylics, no chance on solids.

Now if i program the deAlphalizer (which would be no problem), the new feature would not work anymore, but the Authors would rely on this. Meaning: you cannot play the new Tables, if you put the dealphalizer to on. So alone for this: there would be no Alphalizer, if I can't get ramp.IsvIsible to work with acrylics.

Now the second: OK, for this version a DeAlphalizer would be OK, but in the next version there will be probably a new feature (that i'm working on right now), which uses the same technique wich I already used at Alphas. So Beside of Alphas, you would have problems with the new feature, which can never be "Solidized" ever.

Now the thrid (and I may polarize here.): I have several Computers, from Laptop, to Virtual Computers, to a high end machine. I mostly play and develop on my Laptop (with a 1080p Monitor) and it plays all tables. My Laptop is 4 to 5 Years old (Macbook Pro). It's running ALL tables (i have) great. If I play on my IMac, i play via a Virtual Machine, since i did not install Windows directly. I can play most of the Tables great, but ALL tables are at least good playable and make fun (The Virtual Machine should be comparable with a P4 with onboard graphics (performance wise)). Now my Opinion... And flame me here: Have a very old Computer, play Old Pinballs - Have a new Computer, play new pinballs.

If VP should take very old PCs into consideration, then VP would never get more features until a completely new Player will be written (see my VPP2k11 Project, which has no eta and may not be playable this year.). I'd like to get the most out of VP and that means: realtime 3d Graphics (which alpha ramps are). If you want features liek .X import in the future with compatibility to all old VP9 Pins, we have to go this way, loosing some people with very old hardware. I would be sorry about loosing them, but i think we have to improve VP to the best we can. Maybe one can improve performance (of alphas) as well. I have an idea here, but i don't know if it works. I asked the other devs and they don't know either. So i will test it some time and maybe you can play with alphas then, but i really don'T know when it will come out and if this will be so much of a performance boost for you.

But if you flame me about my Statement "old computer=old pins", please also anwer to the first two things, to the future capabilities of VP and don't redurce my argumentation only to this third point.

Cupid

QUOTE (Bob5453 @ Apr 15 2011, 02:29 AM) <{POST_SNAPBACK}>
QUOTE (BigBoss @ Apr 14 2011, 07:46 PM) <{POST_SNAPBACK}>
QUOTE (Bob5453 @ Apr 14 2011, 09:21 AM) <{POST_SNAPBACK}>
It's a good suggestion, the slider doesn't really work for me, so I have to change the ramps to acrylic on some tables. I also had the slider make a ball get stuck in a ramp, since it removes control points and can change the shape of the ramp.

On which table(s) does the slider make the ball get stuck? And how weak does a PC need to be to have a performance problem here?


There was an Original table released recently called "Initial D Pinball Stage" It has a long alpha ramps in the middle of the table, my ball got stuck there unless I moved my slider to the right or changed alpha to acrylic (try it.) It didn't have many control points in the curve, so it then became a corner.

Many PC's that can run just about all software out there, can't run this simple pinball program. Read the HELP ME threads and you'll read all about it. My pc specs are at the bottom of my sig and if you click on it, you will know more about my pc than I do. smile.gif

I'll check this for the next release.

Edited by cupid, 16 April 2011 - 02:23 PM.

The world is devided into people who think they are right.

#12 TheMcD

TheMcD

    Pinball Wizard

  • VPF Staff
  • 2,461 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Frankenstein, Safecracker, Big Hurt, Four Horsemen, Tommy, X-Files

Contributor

Posted 16 April 2011 - 03:03 PM

I have a 2.1 GHZ Dual Core with 512 MB ATI graphics - that should at least blow your virtual machine out of the water - and yet I'm incapable of playing JP's new tables because of the alpha ramps. I get stutters that last for about a second, screwing my aim up beyond belief and making me lose at least one ball.

If a two year old laptop will be incapable of keeping up with Visual Pinball, then I suppose I will have to put it in the same category as Future Pinball. Looks great, but just doesn't play fluidly. I keep hearing about the progress that VP is making, but I have yet to see the greatness that alpha ramps brought us. They look just like acrylic ones on my computer, and they both look nothing like they should.

http://www.vpforums....-1302635976.jpg

This is how they should look, but check the attached images on how they look on my computer. One of the images is an alpha ramp, the other is acrylic. Can you tell the difference? I sure can't. Is this new feature going to look just as odd? Are invisible ramps just going to be a mishmash of checkerboard pixels like the alpha ramps? Am I going to find tables looking really weird because of unknown reasons?

I already have to make several adjustments just to be able to play tables. If progress is going to leave me in the dust unless I shell out hundreds of Euros for a new computer, then I guess I won't be following. There's still some graphical glitches going on here with the alphas, and if these new features will be based on the alpha system, then that can't mean anything good for me.

Just saying - I seem to have more and more problems as time goes on.

The McD

EDIT: I don't get it anymore. I'm dead friggin' serious. I thought I knew how VP worked. But apparently, I don't know jack. I got a decent sized framerate boost by disabling "Reorder Playfield Objects". Now stop me if I'm talking crazy again - God knows I could have put some crazy pills in my milk today - but wasn't that an option specifically for ATI cards? However, it does absolutely jack on my system except giving me framerate problems!

I guess you could just dismiss this post and the request entirely. I seriously need to reanalyze the situation here as I don't know anything anymore.

Attached Files


Edited by TheMcD, 16 April 2011 - 03:30 PM.

VPF's resident pinball music fanatic.

The McD's Pinball Music Emporium: YouTube /// MediaFire (old tracks) /// Mega (new tracks)


#13 cupid

cupid

    Enthusiast

  • VP Dev Team
  • PipPipPip
  • 496 posts

  • Flag: Germany

  • Favorite Pinball: Dr Who

Posted 16 April 2011 - 03:37 PM

QUOTE (TheMcD @ Apr 16 2011, 05:03 PM) <{POST_SNAPBACK}>
I have a 2.1 GHZ Dual Core with 512 MB ATI graphics - that should at least blow your virtual machine out of the water - and yet I'm incapable of playing JP's new tables because of the alpha ramps. I get stutters that last for about a second, screwing my aim up beyond belief and making me lose at least one ball.


The McD


I have a 2.25 GHz Dual Core with 256 MB graphics Mem. Plays every table fine. Running windows XP...

I miss your answering to the first two points!

Cupid

Edited by cupid, 16 April 2011 - 03:40 PM.

The world is devided into people who think they are right.

#14 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,443 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 16 April 2011 - 03:47 PM

I use to have Nvidia cards, then for a while I used ATi cards, but when VP9 came out, and I saw it needed an Nvidia card then I bought a cheap Nvidia card (a GTS 250 with 1Gb ram) and the tables play very well. And no more problems with any VP9 version. If you are serious about VP9 then just get a cheap Nvidia with 1Gb, that's my advice smile.gif

This Ati/Nvidia is similar to the Mac/PC discussions: just buy the one your software needs smile.gif

Just a Note: I have a small and old HP portable, named Compaq nc6220. This computer is about 5 or 6 years old, with an Intel graphics chip, and lo it runs VP9 better then my desktop computer, of course with HR disabled. But it runs so fast that I had to add a line to the script to make sync to the screen. the line Const UseSync = 1 (which normally is Const UseSync = 0 to do not limit vpm). I know this line is for the vpm window, but it makes VP to run in sync with the monitor. Then the tables are very playable. I'll turn it on and I'll post a picture (it will take a few minutes).

JP


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

 


#15 cupid

cupid

    Enthusiast

  • VP Dev Team
  • PipPipPip
  • 496 posts

  • Flag: Germany

  • Favorite Pinball: Dr Who

Posted 16 April 2011 - 03:47 PM

QUOTE (TheMcD @ Apr 16 2011, 05:03 PM) <{POST_SNAPBACK}>
EDIT: I don't get it anymore. I'm dead friggin' serious. I thought I knew how VP worked. But apparently, I don't know jack. I got a decent sized framerate boost by disabling "Reorder Playfield Objects". Now stop me if I'm talking crazy again - God knows I could have put some crazy pills in my milk today - but wasn't that an option specifically for ATI cards? However, it does absolutely jack on my system except giving me framerate problems!

I guess you could just dismiss this post and the request entirely. I seriously need to reanalyze the situation here as I don't know anything anymore.

Troubleshooting options are only for when you get into troubles. Don't use them if you have no problems.
The world is devided into people who think they are right.

#16 TheMcD

TheMcD

    Pinball Wizard

  • VPF Staff
  • 2,461 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Frankenstein, Safecracker, Big Hurt, Four Horsemen, Tommy, X-Files

Contributor

Posted 16 April 2011 - 03:48 PM

What "points"? All I see is basically "this will screw with the further development or will not work at all".

Let's look again. Point 1: "We need ramp.IsVisible, it will probably only work with alphas. You will not be able to play newer tables." Congrats, what am I supposed to say to that? I'm not a dev, I have no clue how to solve that dilemma.

Point 2: "There is another new feature that would not work". Same thing. I have no insight into the development process at all and have no idea what this new feature is.

So yeah, all you're saying is that with this feature, I would be impeding progress - progress I can't even see, but that's beside the point right now. So why didn't you just bloody say that it won't work at all? Obviously you have your plans for VP and my request went fully against those plans. Just flat out say that it won't work and I'll be happy with that.

And also, saying that you can run all tables fine doesn't really help, because I still can't, even with double the graphics memory. Anecdotal evidence versus anecdotal evidence, congratulations, we're stuck at an impasse.

I guess I should just delete the topic, since this is obviously going nowhere. All the talking will solve absolutely jack, since the planned features make this request completely impossible.

The McD

VPF's resident pinball music fanatic.

The McD's Pinball Music Emporium: YouTube /// MediaFire (old tracks) /// Mega (new tracks)


#17 cupid

cupid

    Enthusiast

  • VP Dev Team
  • PipPipPip
  • 496 posts

  • Flag: Germany

  • Favorite Pinball: Dr Who

Posted 16 April 2011 - 03:55 PM

QUOTE (jpsalas @ Apr 16 2011, 05:47 PM) <{POST_SNAPBACK}>
I use to have Nvidia cards, then for a while I used ATi cards, but when VP9 came out, and I saw it needed an Nvidia card then I bought a cheap Nvidia card (a GTS 250 with 1Gb ram) and the tables play very well. And no more problems with any VP9 version. If you are serious about VP9 then just get a cheap Nvidia with 1Gb, that's my advice smile.gif

This Ati/Nvidia is similar to the Mac/PC discussions: just buy the one your software needs smile.gif

Just a Note: I have a small and old HP portable, named Compaq nc6220. This computer is about 5 or 6 years old, with an Intel graphics chip, and lo it runs VP9 better then my desktop computer, of course with HR disabled. But it runs so fast that I had to add a line to the script to make sync to the screen. the line Const UseSync = 1 (which normally is Const UseSync = 0 to do not limit vpm). I know this line is for the vpm window, but it makes VP to run in sync with the monitor. Then the tables are very playable. I'll turn it on and I'll post a picture (it will take a few minutes).

JP

That's because old techniques for drawing things on the screen are used. Older graphic cars may be faster in this as newer. (Huge and many Blittings for those who want to know.)

QUOTE (TheMcD @ Apr 16 2011, 05:48 PM) <{POST_SNAPBACK}>
What "points"? All I see is basically "this will screw with the further development or will not work at all".

Let's look again. Point 1: "We need ramp.IsVisible, it will probably only work with alphas. You will not be able to play newer tables." Congrats, what am I supposed to say to that? I'm not a dev, I have no clue how to solve that dilemma.

Point 2: "There is another new feature that would not work". Same thing. I have no insight into the development process at all and have no idea what this new feature is.

So yeah, all you're saying is that with this feature, I would be impeding progress - progress I can't even see, but that's beside the point right now. So why didn't you just bloody say that it won't work at all? Obviously you have your plans for VP and my request went fully against those plans. Just flat out say that it won't work and I'll be happy with that.

And also, saying that you can run all tables fine doesn't really help, because I still can't, even with double the graphics memory. Anecdotal evidence versus anecdotal evidence, congratulations, we're stuck at an impasse.

I guess I should just delete the topic, since this is obviously going nowhere. All the talking will solve absolutely jack, since the planned features make this request completely impossible.

The McD

Slow down... I just wanted to say that something seems to be wrong with your sys... and maybe it was the ATI reorder thing, different drivers or whatever.

If i would have said "Yes it would be easily possible, but i don't want to add this since it collides with the roadmap", you would have been fine? I can't believe this. Sorry.

Cupid
The world is devided into people who think they are right.

#18 TheMcD

TheMcD

    Pinball Wizard

  • VPF Staff
  • 2,461 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Frankenstein, Safecracker, Big Hurt, Four Horsemen, Tommy, X-Files

Contributor

Posted 16 April 2011 - 04:00 PM

The thing isn't that it would be easily be addable, but that it won't happen because it interferes with progress.

All you would have had to say was this: "That will not be possible, since the alpha mechanism that would be deactivated plays heavily into future features, breaking pretty much all future tables." And I would have been happy.

I guess I just get riled up easily over performance issues.

The McD

VPF's resident pinball music fanatic.

The McD's Pinball Music Emporium: YouTube /// MediaFire (old tracks) /// Mega (new tracks)


#19 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,443 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 16 April 2011 - 04:02 PM

Yes, I know, cupid. I know about the changes in the graphics card from the directx7 to the 8 and 9 versions. Many calls were changed from being hardware calls to just software calls which must be done in the cpu. But it is amazing how this small computer runs VP912 smile.gif



As you can see in the picture everything looks nice but the alpha ramps. But the good thing is that it run at full speed smile.gif (I run XP Sp3 in this computer).

So the question I have is (which I never have been able to get an answer): is it possible to change those calls with similar calls from the VP9 directx? Or a better question should be: is there any similar calls in dx9 which could be used instead of the dx7 calls?


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

 


#20 cupid

cupid

    Enthusiast

  • VP Dev Team
  • PipPipPip
  • 496 posts

  • Flag: Germany

  • Favorite Pinball: Dr Who

Posted 16 April 2011 - 04:12 PM

QUOTE (jpsalas @ Apr 16 2011, 06:02 PM) <{POST_SNAPBACK}>
Yes, I know, cupid. I know about the changes in the graphics card from the directx7 to the 8 and 9 versions. Many calls were changed from being hardware calls to just software calls which must be done in the cpu. But it is amazing how this small computer runs VP912 smile.gif



As you can see in the picture everything looks nice but the alpha ramps. But the good thing is that it run at full speed smile.gif (I run XP Sp3 in this computer).

So the question I have is (which I never have been able to get an answer): is it possible to change those calls with similar calls from the VP9 directx? Or a better question should be: is there any similar calls in dx9 which could be used instead of the dx7 calls?

That's because it's software rendering. Alphas can only be rendered in HW-Device-rendering. Acrylics are used instead of alphas if HW-Dev-Rendering is disabled... (And that's another thing why isvisible won't work reliably... Hmm...)

About DX:

You can only change the whole project to DX9, but many things were done using direct draw in VP. And Direct draw was given up since DirectX 8. There are some calls that are similar to old directdraw calls, but similar is not the same. It is easier to rewrite the whole engine instead of upgrading to newer DirectX in my opinion.
The world is devided into people who think they are right.