Jump to content



Photo
- - - - -

Primitive drop target models?


Best Answer unclewilly , 01 June 2014 - 08:00 PM

here you go.  i did this fast so you need to adjust the texture a bit to remove that one black line.

I can send you the uv layout if you need it.

 

you can see its normal in all views.

 

if you set all the scales x/y/z to 100 it should be the correct size.

 

just copy the model to your table

 


if you want to rotate it use the objrotz number

Go to the full post


  • Please log in to reply
35 replies to this topic

#1 ICPjuggla

ICPjuggla

    Early Retirement

  • VIP
  • 1,193 posts

  • Flag: United States of America

  • Favorite Pinball: Star Wars

Posted 31 May 2014 - 12:38 PM

I'm having a problem with the future pinball drop down target's models looking correct in VP.

I understand how to convert them and import them as I have many models already converted. Every time I try and do a drop down target I can't get it to look right. It's either backwords, upside down, sideways etc. What ever I try seems not to work, anyone have the magic conversion #'s or maybe a dummy table with T2 and T3 bullseye's looking correct.

Thx in advance.... :-)

cosmicgunfight-sig2.png breakshot-sig-small3.png atlantis-sig-small.png mousinaround-sig6.png hurricane-sig16.png sc-badge1.png lw-sig.png embryon-logo0.png icp-3.png apollo13_badge(1).png whirlwind_badge0.png playboy_badge0.png oxo1.png raven_logo.png rambo_logo4.png


#2 kiwi

kiwi

    Pinball Fan

  • VIP
  • 2,694 posts

  • Flag: Italy

  • Favorite Pinball: Star Trek 25th Anniversary



Posted 01 June 2014 - 06:02 AM

ICPjuggla can post your table or a dummy table?

 

Max


Edited by kiwi, 01 June 2014 - 10:53 AM.


#3 unclewilly

unclewilly

    sofa king.....

  • VIP
  • 5,204 posts
  • Location:Baltimore, Maryland

  • Flag: United States of America

  • Favorite Pinball: tz, tom, big hurt, who dunnit



Posted 01 June 2014 - 11:59 AM

If you are using a target straight from fp.
To have it right side up, rotx Should be 90.
Then you can rotate it's face with objrotz.
The z setting in the position. L will adjust it up and down

If you post a table with the target in it I can adjust the model so all you will need to do is the rotx 90 and it will be sitting on the table surface at z position 0

"it will all be ok in the end, if it's not ok, it's not the end"
 
Monster Bash VP10 WIP https://dl.dropboxus... (vpx)WIP15.vpx

uw2.gif


#4 ICPjuggla

ICPjuggla

    Early Retirement

  • VIP
  • 1,193 posts

  • Flag: United States of America

  • Favorite Pinball: Star Wars

Posted 01 June 2014 - 12:28 PM

Okay I'll post the dummy table in a little wile. It's been driving me nuts..

cosmicgunfight-sig2.png breakshot-sig-small3.png atlantis-sig-small.png mousinaround-sig6.png hurricane-sig16.png sc-badge1.png lw-sig.png embryon-logo0.png icp-3.png apollo13_badge(1).png whirlwind_badge0.png playboy_badge0.png oxo1.png raven_logo.png rambo_logo4.png


#5 unclewilly

unclewilly

    sofa king.....

  • VIP
  • 5,204 posts
  • Location:Baltimore, Maryland

  • Flag: United States of America

  • Favorite Pinball: tz, tom, big hurt, who dunnit



Posted 01 June 2014 - 12:33 PM

I remember the first primitive peg I imported. What a pita. I thought I would never use this crap. Now after messing with so many of them it has all kind of clicked into place for me.

I have to get a table object table together for people to use
I remember the first primitive peg I imported. What a pita. I thought I would never use this crap. Now after messing with so many of them it has all kind of clicked into place for me.

I have to get a table object table together for people to use
I remember the first primitive peg I imported. What a pita. I thought I would never use this crap. Now after messing with so many of them it has all kind of clicked into place for me.

I have to get a table object table together for people to use

"it will all be ok in the end, if it's not ok, it's not the end"
 
Monster Bash VP10 WIP https://dl.dropboxus... (vpx)WIP15.vpx

uw2.gif


#6 ICPjuggla

ICPjuggla

    Early Retirement

  • VIP
  • 1,193 posts

  • Flag: United States of America

  • Favorite Pinball: Star Wars

Posted 01 June 2014 - 12:46 PM

Yes I agree it's actually pretty easy converting the models from FP to VP, well most models. The drop targets are killing me!!!

Everything on this table so far is a primitive other than the side walls and metal guilds. I haven't figured out blender yet.. lol

Attached File  image.jpg   691.27KB   9 downloads

cosmicgunfight-sig2.png breakshot-sig-small3.png atlantis-sig-small.png mousinaround-sig6.png hurricane-sig16.png sc-badge1.png lw-sig.png embryon-logo0.png icp-3.png apollo13_badge(1).png whirlwind_badge0.png playboy_badge0.png oxo1.png raven_logo.png rambo_logo4.png


#7 ICPjuggla

ICPjuggla

    Early Retirement

  • VIP
  • 1,193 posts

  • Flag: United States of America

  • Favorite Pinball: Star Wars

Posted 01 June 2014 - 02:20 PM

okay here is the dummy table with the model imported and the texture.. As you will see it's not in the correct position and any settings I try don't seem to work..

 

Attached File  drop_target_test.zip   137.3KB   13 downloads


cosmicgunfight-sig2.png breakshot-sig-small3.png atlantis-sig-small.png mousinaround-sig6.png hurricane-sig16.png sc-badge1.png lw-sig.png embryon-logo0.png icp-3.png apollo13_badge(1).png whirlwind_badge0.png playboy_badge0.png oxo1.png raven_logo.png rambo_logo4.png


#8 kiwi

kiwi

    Pinball Fan

  • VIP
  • 2,694 posts

  • Flag: Italy

  • Favorite Pinball: Star Trek 25th Anniversary



Posted 01 June 2014 - 03:13 PM

I just scaled the object and moved the point of origin.
Export the object and open it with Blender to understand what I have done.
If you have any questions ask away.
In VP with TransZ, raise or lower the target.

 

Max

 

Attached File  drop_target_test.rar   134.52KB   12 downloads



#9 unclewilly

unclewilly

    sofa king.....

  • VIP
  • 5,204 posts
  • Location:Baltimore, Maryland

  • Flag: United States of America

  • Favorite Pinball: tz, tom, big hurt, who dunnit



Posted 01 June 2014 - 03:42 PM

Thanks kiwi. I'm not at home to help right now

"it will all be ok in the end, if it's not ok, it's not the end"
 
Monster Bash VP10 WIP https://dl.dropboxus... (vpx)WIP15.vpx

uw2.gif


#10 ICPjuggla

ICPjuggla

    Early Retirement

  • VIP
  • 1,193 posts

  • Flag: United States of America

  • Favorite Pinball: Star Wars

Posted 01 June 2014 - 05:17 PM

why when I rotate the primitive dose it act funny?

 

Attached File  rotate.png   155.01KB   6 downloads


cosmicgunfight-sig2.png breakshot-sig-small3.png atlantis-sig-small.png mousinaround-sig6.png hurricane-sig16.png sc-badge1.png lw-sig.png embryon-logo0.png icp-3.png apollo13_badge(1).png whirlwind_badge0.png playboy_badge0.png oxo1.png raven_logo.png rambo_logo4.png


#11 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,159 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 01 June 2014 - 05:55 PM

Because the target is lying flat on its back.  Try setting  Roty = -90.  Then use Rotx value to rotate it



#12 ICPjuggla

ICPjuggla

    Early Retirement

  • VIP
  • 1,193 posts

  • Flag: United States of America

  • Favorite Pinball: Star Wars

Posted 01 June 2014 - 06:23 PM

Because the target is lying flat on its back.  Try setting  Roty = -90.  Then use Rotx value to rotate it


Still didn't work. The face of the target disappeared now..

cosmicgunfight-sig2.png breakshot-sig-small3.png atlantis-sig-small.png mousinaround-sig6.png hurricane-sig16.png sc-badge1.png lw-sig.png embryon-logo0.png icp-3.png apollo13_badge(1).png whirlwind_badge0.png playboy_badge0.png oxo1.png raven_logo.png rambo_logo4.png


#13 unclewilly

unclewilly

    sofa king.....

  • VIP
  • 5,204 posts
  • Location:Baltimore, Maryland

  • Flag: United States of America

  • Favorite Pinball: tz, tom, big hurt, who dunnit



Posted 01 June 2014 - 06:29 PM

Is the texture power of 2, like 512x512

"it will all be ok in the end, if it's not ok, it's not the end"
 
Monster Bash VP10 WIP https://dl.dropboxus... (vpx)WIP15.vpx

uw2.gif


#14 kiwi

kiwi

    Pinball Fan

  • VIP
  • 2,694 posts

  • Flag: Italy

  • Favorite Pinball: Star Trek 25th Anniversary



Posted 01 June 2014 - 06:36 PM

Try this mesh, in the previous one there is something broken :D  .
Import it into VP without mirror it and without converting the textures coordinates
.

 

Max

 

Attached File  droptarget-t3.rar   850bytes   3 downloads



#15 ICPjuggla

ICPjuggla

    Early Retirement

  • VIP
  • 1,193 posts

  • Flag: United States of America

  • Favorite Pinball: Star Wars

Posted 01 June 2014 - 06:52 PM

it's still not working, when it is facing forward it looks correct but once rotated it starts to go funny.. 

 

hmmmmmmm...... this is really bugging me :-(


cosmicgunfight-sig2.png breakshot-sig-small3.png atlantis-sig-small.png mousinaround-sig6.png hurricane-sig16.png sc-badge1.png lw-sig.png embryon-logo0.png icp-3.png apollo13_badge(1).png whirlwind_badge0.png playboy_badge0.png oxo1.png raven_logo.png rambo_logo4.png


#16 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,159 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 01 June 2014 - 07:01 PM

Try using this code in the keydown subroutine.  Then push those 3 buttons to see how it rotates the primitive.  It should help you figure out the right thing to do or just confuse you more ;)

 

If keycode = PlungerKey Then
Plunger.PullBack
Primitive1.Rotx = Primitive1.Rotx + 10
End If
 
If keycode = LeftFlipperKey Then
LeftFlipper.RotateToEnd
PlaySound "FlipperUp",0,1,-0.1,0.25
Primitive1.Roty = Primitive1.Roty + 10
End If
    
If keycode = RightFlipperKey Then
RightFlipper.RotateToEnd
Primitive1.Rotz = Primitive1.Rotz + 10
PlaySound "FlipperUp",0,1,0.1,0.25
End If


#17 kiwi

kiwi

    Pinball Fan

  • VIP
  • 2,694 posts

  • Flag: Italy

  • Favorite Pinball: Star Trek 25th Anniversary



Posted 01 June 2014 - 07:20 PM

With the texture "droptarget-t3.bmp" flipped vertically, it works correctly.

 

Max



#18 mukuste

mukuste

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 854 posts

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

  • Favorite Pinball: Centaur

Posted 01 June 2014 - 07:47 PM

okay here is the dummy table with the model imported and the texture.. As you will see it's not in the correct position and any settings I try don't seem to work..

 

attachicon.gifdrop_target_test.zip

 

This mesh looks like it has its normals pointing in the wrong direction/wrong triangle winding order. You can actually fix this by changing the X scale from 2 to -2, although I don't recommend this, it's better to get the mesh right in the first place.

 

Did you choose to "Convert coordinate system" when importing the mesh into VP? I think that one should always answer Yes to this, unless perhaps FP outputs buggy mesh files.

 

A question to everyone who has experience using primitives: do you answer Yes or No to this prompt?


Edited by mukuste, 01 June 2014 - 07:47 PM.


#19 unclewilly

unclewilly

    sofa king.....

  • VIP
  • 5,204 posts
  • Location:Baltimore, Maryland

  • Flag: United States of America

  • Favorite Pinball: tz, tom, big hurt, who dunnit



Posted 01 June 2014 - 08:00 PM   Best Answer

here you go.  i did this fast so you need to adjust the texture a bit to remove that one black line.

I can send you the uv layout if you need it.

 

you can see its normal in all views.

 

if you set all the scales x/y/z to 100 it should be the correct size.

 

just copy the model to your table

 

Attached File  DTTable.png   223.09KB   4 downloads


if you want to rotate it use the objrotz number

Attached Files


"it will all be ok in the end, if it's not ok, it's not the end"
 
Monster Bash VP10 WIP https://dl.dropboxus... (vpx)WIP15.vpx

uw2.gif


#20 ICPjuggla

ICPjuggla

    Early Retirement

  • VIP
  • 1,193 posts

  • Flag: United States of America

  • Favorite Pinball: Star Wars

Posted 01 June 2014 - 09:43 PM

Thank you to all that have helped with this situation.. :-)

 

I'm sure at some point it would of come up eventually, the question is how the hell did you figure that out so fast UW.. :-) Awesome stuff man, thank you...

 

problem now is the texture is blurry once scaled and positioned... sigh... I'm sure it's just a VP thing though as I've noticed this type of thing in the past doing it the old way.. Check out the picture...

 

Attached File  playboy_wip_v3.png   1.8MB   6 downloads

 

again thank you all for helping with this.. :-)


cosmicgunfight-sig2.png breakshot-sig-small3.png atlantis-sig-small.png mousinaround-sig6.png hurricane-sig16.png sc-badge1.png lw-sig.png embryon-logo0.png icp-3.png apollo13_badge(1).png whirlwind_badge0.png playboy_badge0.png oxo1.png raven_logo.png rambo_logo4.png