Register    Login    Forum    FAQ    PinSimDB.org

Board index » Resources » FP Addons




Post new topic Reply to topic  [ 63 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject: [TOOLS] FPT -> Blender Importer - WIP
 Post Posted: Mon Mar 04, 2013 1:09 pm 
Offline
User avatar

Joined: Sun Jun 05, 2011 3:20 pm
Posts: 261
Location: orion-cygnus arm, local solar system, earth, europe, germany, ..., here
hello,
i will inform you about the progress of my next add-on that will import the full geometry of a Future Pinball table to blender (a 3D modeller) in one pass.

the future pinball file specification based on an implementation of LvR - :ugeek: thank you very much for sharing your code - without your code, this add-on were not be possible.

the intention for doing that add-on was to help:
- to pre-render pre-lit textures.
- to give table devs a better feeling of dimensions on creating & place toys or other stuff like rams or so.

here a first test rendering of a well known table.
Image
many things are missing in the rendering, but it looks already great.
(i am an idiot in using the Cycles Render Engine of blender - so the rendering took very long time and it still looks very noisy)

to get the add-on and additional information, visit this wiki page:
http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/FuturePinball_FPx

i will update the wiki page and add-on from time to time. but it is growing very slowly.

you will need:
- blender > 2.68a http://www.blender.org/download/get-blender
- download the io_scene_fpx add-on.
- open blender and go to "File->User Preferences->Add-Ons"
- first enable the MilkShape 3D add-on (type in "ms3d" in the search field and enable it)
- than install the io_scene_fpx.zip file (via button on the bottom of the Add-ons panel)
- (optional) save as default to make that settings persistent
- now you can import the table.


Last edited by beta-tester on Thu Aug 29, 2013 2:20 pm, edited 2 times in total.

Top 
 Profile  
 
 Post subject: Re: [TOOL] FPT -> Blender Importer - WIP
 Post Posted: Mon Mar 04, 2013 6:51 pm 
Offline
User avatar

Joined: Mon Aug 15, 2011 10:02 am
Posts: 1706
Location: Argentina
Totally amazing.


Top 
 Profile  
 
 Post subject: Re: [TOOL] FPT -> Blender Importer - WIP
 Post Posted: Fri Mar 08, 2013 2:00 pm 
Offline
User avatar

Joined: Mon Aug 15, 2011 10:02 am
Posts: 1706
Location: Argentina
I could do it with some tables, the most simple ones, but with others I have this error message:

Code:
Traceback (most recent call last):
  File "C:\Users\Fra\AppData\Roaming\Blender Foundation\Blender\2.66\scripts\addons\io_scene_fpx\fpx_ui.py", line 257, in execute
    return FptImporter(self).read(blender_context)
  File "C:\Users\Fra\AppData\Roaming\Blender Foundation\Blender\2.66\scripts\addons\io_scene_fpx\fpx_import.py", line 106, in read
    fpx_reader.read_table()
  File "C:\Users\Fra\AppData\Roaming\Blender Foundation\Blender\2.66\scripts\addons\io_scene_fpx\fpx_spec.py", line 2381, in read_table
    self.read_component(stream)
  File "C:\Users\Fra\AppData\Roaming\Blender Foundation\Blender\2.66\scripts\addons\io_scene_fpx\fpx_spec.py", line 2422, in read_component
    reader.read(stream)
  File "C:\Users\Fra\AppData\Roaming\Blender Foundation\Blender\2.66\scripts\addons\io_scene_fpx\fpx_spec.py", line 238, in read
    self.read_chunk_data(stream, owner, stream_pos, chunk_size, descriptor)
  File "C:\Users\Fra\AppData\Roaming\Blender Foundation\Blender\2.66\scripts\addons\io_scene_fpx\fpx_spec.py", line 263, in read_chunk_data
    value = buffer.decode('utf_8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 5: invalid continuation byte

location: <unknown location>:-1


Top 
 Profile  
 
 Post subject: Re: [TOOL] FPT -> Blender Importer - WIP
 Post Posted: Wed Mar 13, 2013 7:21 am 
Offline
User avatar

Joined: Sun Jun 05, 2011 3:20 pm
Posts: 261
Location: orion-cygnus arm, local solar system, earth, europe, germany, ..., here
francisco666 wrote:
I could do it with some tables, the most simple ones, but with others I have this error message:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 5: invalid continuation byte

location: <unknown location>:-1


thank you for testing.
can you please provide the table names, with that you have the problems?

this issue is not related to the complexity of the table, it is related to the chars that are included in the file.

i changed the decoding to ASCII, as a try to bypass that issue.
all un-decodable characters become to an underline '_' now.

current state (2013-03-13):
- improved the wires (the caps/poles look better than before)
- walls have thickness
(i know, these are very tiny steps...)


Top 
 Profile  
 
 Post subject: Re: [TOOL] FPT -> Blender Importer - WIP
 Post Posted: Wed Mar 13, 2013 9:02 am 
Offline
User avatar

Joined: Mon Aug 15, 2011 10:02 am
Posts: 1706
Location: Argentina
Sure, PM send


Top 
 Profile  
 
 Post subject: Re: [TOOL] FPT -> Blender Importer - WIP
 Post Posted: Wed Mar 13, 2013 11:48 pm 
Offline
User avatar

Joined: Mon Aug 15, 2011 10:02 am
Posts: 1706
Location: Argentina
New Addon-Fpx-File-io_scene_fpx.zip version import without problems. Thanks.


Top 
 Profile  
 
 Post subject: Re: [TOOL] FPT -> Blender Importer - WIP
 Post Posted: Thu Mar 14, 2013 5:56 am 
Offline
User avatar

Joined: Fri Oct 22, 2010 6:41 pm
Posts: 874
Location: France
this addon is very promising! after having installed everything, I tried with TOTAN, it works well! awesome!
I have great difficulty with the interface of blender, but it easy to export them to my favorite software.
I start dreaming that pegs and wall as visible in the futur release, which allows for better repere ... to rebuild, more simply, lampeTOTAN in the right format, for example ...
really very promising, congratulation!

_________________
Recreated Pinball: Whirlwind ; Taxi ; Funhouse ; Jokerz ; POTO.
Original Pinball: Wipeout ; Monster-Hunter
Wip: ...


Top 
 Profile  
 
 Post subject: Re: [TOOL] FPT -> Blender Importer - WIP
 Post Posted: Fri Mar 15, 2013 7:37 pm 
Offline
User avatar

Joined: Sun Jun 05, 2011 3:20 pm
Posts: 261
Location: orion-cygnus arm, local solar system, earth, europe, germany, ..., here
next tiny step is done...
now you can import FPM models in one pass, without extracting to MS3D file by hand.
- primary model
- secondary model (optional)
- reflection model (optional)
- mask model (optional)

i hope the next big step of importing the models to a table in one pass is also done soon.

PS.: the option of "Adjust Model Position" is currently not implemented.


Top 
 Profile  
 
 Post subject: Re: [TOOL] FPT -> Blender Importer - WIP
 Post Posted: Sun Mar 17, 2013 5:19 pm 
Offline
User avatar

Joined: Sun Jun 05, 2011 3:20 pm
Posts: 261
Location: orion-cygnus arm, local solar system, earth, europe, germany, ..., here
with the version from 2013-03-17, the table importer can assign models that were imported in a previously step (see updated video/wiki).
Attachment:
WIP 2013-03-17a_.jpg
there are many known glitches, but i will show up this version with a new video, because this is already a bigger step forward.

PS.: what a mess, i didn't know, that models in future pinball are placed on different height levels, depending of the model type... i have to spent lot of time to figure out the correct values.


You do not have the required permissions to view the files attached to this post.


Top 
 Profile  
 
 Post subject: Re: [TOOL] FPT -> Blender Importer - WIP
 Post Posted: Mon Mar 18, 2013 3:24 am 
Offline
User avatar

Joined: Fri Jul 02, 2010 4:49 am
Posts: 525
Location: Lyon, France
It's really impressive !

_________________
PinSimDB.org projects : PinSimDB.org - FPM Editor - FPWine - Speed Devils table


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 63 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

Board index » Resources » FP Addons


Who is online

Users browsing this forum: No registered users and 4 guests

 
 

 
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: