Author Topic: SpooX Walkmesh exporter alias ShinraTool  (Read 37500 times)

SpooX

  • ah nothing really...
  • Moderator
  • *
  • Posts: 344
  • Used to be errr...
    • View Profile
SpooX Walkmesh exporter alias ShinraTool
« on: 2012-11-24 16:20:54 »
For those who want to (re)create field files for TA....
I uploaded SpooX Walkmesh exporter alias ShinraTool in the repo.
so it is accessable only for the people who have the appropriate access.

notes V01A: (2012-11-24)
runs on windows
works with psx version of FFVII
delivers only maxscript with walkmesh and camera.

I included a pdf with all walkmeshes and their names in the same folder.

any bugs, suggestions or anything else, just let me know in this thread.


How to use it:

 - insert your psx cd, and select a dat file from the field directory.
 - the maxscript will appear in the export folder.
 - in max open the maxscript editor, load or copy paste the script inside, and press [ctrl]-E (or use tools, evaluate all)
 - set 1 viewport to the camera.
 - load the background image as a background ([Alt-B] and set the display to match bitmap or render settings)
 - set the rendersize in the rendersettings to the size of the background image, and press [shift]-F in the viewport to display the
   saveframe accordingly.
 - slightly adjust the fov to match the walkmesh on the background, and if needed adjust the roll of the camera to match.


notes V01B: (2012-11-28)
Blender exporter included.
    - note that in the script all objects in the current scene will be deleted....

notes V01C: (2012-11-28)
    For all people with different modeling packages, I decided to include a Wavefront object exporter, for the walkmesh and camera.
    The catch here is that you can't export a camera in this format, so The camera is created as a simple line,
    starting from the camera position, towards the target. At least you can easily set the camera on the exact position,
    but just have to play with the fov or focal length of your modeler.
    Another negative issue with this format is that it can not handle animation, or keyframes.
    Could do a camera track as a spline also, but that will take a lot of time to set up I think

enjoy, and post your results. Especially when you have some nice shiny hardware to show off...... :-D
 8-)
« Last Edit: 2012-11-28 21:50:44 by SpooX »

Mayo Master

  • Moderator
  • *
  • Posts: 650
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #1 on: 2012-11-24 20:59:12 »
Thanks for sharing  :)
By the way, probably I'll ask you for the background ad walkmesh in Blender for a new scene pretty soon, given that I'm done with eals (or at least, my most advanced version is so heavy that I cannot work more on it with my current hardware.

SpooX

  • ah nothing really...
  • Moderator
  • *
  • Posts: 344
  • Used to be errr...
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #2 on: 2012-11-25 00:03:20 »
Hi Mayo, I'm glad your still alive, hope your laptop can still manage :-)

I don't know if blender can use layers, where you can hide and unhide objects, that's how I work with max. (imagine Junon with 7 streets containing 10 detailed houses per street...that definately slows my laptop down, just by working on that, or a detailed plate of Midgar, with tables and candles inside Les Marroniers....) :-o

The next stage of the tool will be to include the blender exporter.
 8)

Mayo Master

  • Moderator
  • *
  • Posts: 650
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #3 on: 2012-11-25 17:54:36 »
Hi,

Well, actually my laptop problems are probably due to a failing display cable. After some troubleshooting, I connected my laptop to my HDTV and I've been able to use it  :-P  I'll have to get that fixed one of these days, though.
As for my blender scene, between the smoke simulation to make the waterfall and the particle system to make the flower field, my computer cannot handle everything at once. Thankfully, hellbringer616 is currently helping me out with the render, what took me more than 2 hours took him about 10 mins  :o
I did try to rely on separate layers which do not interact with one another (make the flower fields on two distinct layers for two distinct renders, and then combine them in paintshop), but my computer could not handle even that!
Oh, and as a very lame anecdote: I realized that the first PSX disk of my FF7 game is missing (probably lost during one of my 15 moving in and out in the past 15 years  :cry: ), does that mean that I won't be able to extract the field screens corresponding to the first disk? (I actually don't know what's on each disk, data-wise - I assume the necessity for several disks stemmed from the weight of the FMVs). Otherwise I have the downloaded version of FF7 to play it on PSP/PS3, though I don't know what can work with that. Anyways, thanks in advance for the blender exporter  :)

SpooX

  • ah nothing really...
  • Moderator
  • *
  • Posts: 344
  • Used to be errr...
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #4 on: 2012-11-25 20:22:50 »
Thankfully, hellbringer616 is currently helping me out with the render, what took me more than 2 hours took him about 10 mins  :o
That's a huge difference...makes me wonder what kind of hardware you guys are using..... :-o

I did try to rely on separate layers which do not interact with one another (make the flower fields on two distinct layers for two distinct renders, and then combine them in paintshop), but my computer could not handle even that!
...makes me wonder what kind of hardware you are using...... :)
though if you have a HDMI connection, it can't be that old...

Oh, and as a very lame anecdote: I realized that the first PSX disk of my FF7 game is missing (probably lost during one of my 15 moving in and out in the past 15 years  :cry: ), does that mean that I won't be able to extract the field screens corresponding to the first disk? (I actually don't know what's on each disk, data-wise - I assume the necessity for several disks stemmed from the weight of the FMVs).

If I'm correct, you don't have to worry about that, since all field files are on all the discs for the psx.
The only difference is the fmv's.
 8-)

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #5 on: 2012-11-26 13:13:53 »
That's a huge difference...makes me wonder what kind of hardware you guys are using..... :-o

i5-3570k @4.6ghz
MSI Hawk GTX560 ti (basically factory overclocked to be close to a 570)
Doubt anything else matters much really. I use both my CPU and GPU for rendering the scenes.

Mayo Master

  • Moderator
  • *
  • Posts: 650
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #6 on: 2012-11-27 15:06:53 »
That's a huge difference...makes me wonder what kind of hardware you guys are using..... :-o
...makes me wonder what kind of hardware you are using...... :)
though if you have a HDMI connection, it can't be that old...
For comparison, my laptop has a core2 Duo processor at 1.8 GHz, and 2 Go of RAM, with a nVidia GeForce 7300 card. And I don't have a HDMI cable to plug it to the TV, I just did that with a good old VGA cable  :P   My laptop is 5 years and a half old, now. By the way, I'm bringing the laptop to a repair store today.

If I'm correct, you don't have to worry about that, since all field files are on all the discs for the psx.
The only difference is the fmv's.
If I can have access to all the field screens, that's pretty cool. Anyway, I'll be into some down time before I can get back to business.

SpooX

  • ah nothing really...
  • Moderator
  • *
  • Posts: 344
  • Used to be errr...
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #7 on: 2012-11-27 16:58:18 »
For comparison, my laptop has a core2 Duo processor at 1.8 GHz, and 2 Go of RAM, with a nVidia GeForce 7300 card. And I don't have a HDMI cable to plug it to the TV, I just did that with a good old VGA cable  :P   My laptop is 5 years and a half old, now. By the way, I'm bringing the laptop to a repair store today.
ah, that's more 'real-world' for me :)
I'm at a T7200 (Core 2 @2GHz) with a whopping 4Gb (3,25 Gb usable grrmble >:()
for a GPU I have an nVidia QuadroFX 2500M (home cooked...... never thought I'd put computer parts in the oven...lol ;D)
Right now it's at the age of 6.5 and still running.
But at least it's running, and (somewhat) portable.
 8-)

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #8 on: 2012-11-27 19:19:41 »
Well SpooX i offer my computer as a render farm for you as well. Case you run into something you can't do. But your Quatro is designed for that. So hell, it might be better then my desktop card haha

Timu Sumisu

  • *
  • Posts: 1850
  • The Master
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #9 on: 2012-11-27 19:29:04 »
I should get this working to make blender scripts!

SpooX

  • ah nothing really...
  • Moderator
  • *
  • Posts: 344
  • Used to be errr...
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #10 on: 2012-11-27 23:23:11 »
Well SpooX i offer my computer as a render farm for you as well. Case you run into something you can't do. But your Quatro is designed for that. So hell, it might be better then my desktop card haha
thanx for the offer, but I use my laptop mostly for modeling....

I should get this working to make blender scripts!

try this as a test:
Code: [Select]
# -------------------------------------------------------------------
# EALS_1 walkmesh (and cam) Blender Python script generated by SpooX
# -------------------------------------------------------------------
import bpy
import math


def clearScene():
    #clear scene of all objects
    bpy.ops.object.select_all(action='SELECT')
    bpy.ops.object.delete() 
def createMesh(name, verts, edges, faces):
    me = bpy.data.meshes.new(name+'Mesh')
    ob = bpy.data.objects.new(name, me)
    ob.show_name = True
    bpy.context.scene.objects.link(ob)
    me.from_pydata(verts, edges, faces)
    me.update(calc_edges=True)
    return ob

def putCamTarget():
    # Create Empty as target
    bpy.ops.object.add(type='EMPTY', location=(859.9117,335.7209,155.5186))
    bpy.context.active_object.name = 'CamTarget'
def putCam():
    # Create a camera and get the shape name.
    data = bpy.data.cameras.new('EALS_1Cam')
    vcam = bpy.data.objects.new('EALS_1Cam', data)
    vcam.location = (937.4153,-3487.447,1835.102)
    vcam.scale = (1.0, 1.0, 1.0)
    #data.angle_x = 30.0336
    data.lens = 65.2343812616088
    data.draw_size = 100
    data.clip_end = 10000.0
    data.sensor_width = 35.0
    bpy.context.scene.objects.link(vcam)

def addTrackToConstraint(cam, name, target):
    cns = cam.constraints.new('TRACK_TO')
    print(dir(cns))
    cns.name = name
    cns.target = target
    cns.track_axis = 'TRACK_NEGATIVE_Z'
    cns.up_axis = 'UP_Y'
    cns.owner_space = 'LOCAL'
    cns.target_space = 'LOCAL'
def run():
    verts1 = (
    (825.0,-276.0,116.0),
    (791.0,-369.0,116.0),
    (707.0,-302.0,116.0),
    (651.0,-138.0,116.0),
    (596.0,-221.0,116.0),
    (593.0,-130.0,116.0),
    (803.0,-192.0,116.0),
    (772.0,-110.0,116.0),
    (807.0,-60.0,116.0),
    (924.0,-151.0,116.0),
    (944.0,-50.0,116.0),
    (1061.0,-188.0,116.0),
    (1155.0,27.0,116.0),
    (997.0,10.0,116.0),
    (1074.0,95.0,116.0),
    (1196.0,-50.0,116.0),
    (1073.0,-217.0,116.0),
    (1251.0,-88.0,116.0),
    (1206.0,-243.0,116.0),
    (1154.0,-264.0,116.0),
    (1102.0,-259.0,116.0),
    (1297.0,-88.0,116.0),
    (1231.0,-293.0,116.0),
    (1364.0,-200.0,116.0),
    (1337.0,-238.0,116.0),
    (1373.0,-77.0,116.0),
    (1399.0,-183.0,116.0),
    (1438.0,-48.0,116.0),
    (1479.0,-165.0,116.0),
    (1539.0,-109.0,116.0),
    (1495.0,23.0,116.0),
    (1601.0,-38.0,116.0),
    (1624.0,87.0,116.0),
    (1462.0,93.0,116.0),
    (1584.0,157.0,116.0),
    (1460.0,246.0,116.0),
    (1392.0,252.0,116.0),
    (1313.0,143.0,116.0),
    (1344.0,314.0,116.0),
    (1294.0,350.0,116.0),
    (1201.0,109.0,116.0),
    (1139.0,333.0,116.0),
    (1114.0,171.0,116.0),
    (977.0,279.0,116.0),
    (1027.0,326.0,130.0),
    (1147.0,486.0,204.0),
    (-392.0,-301.0,0.0),
    (-306.0,26.0,0.0),
    (-7.0,-22.0,0.0),
    (1046.0,501.0,204.0),
    (1178.0,538.0,204.0),
    (1043.0,630.0,204.0),
    (1228.0,537.0,204.0),
    (1218.0,618.0,204.0),
    (1074.0,704.0,204.0),
    (1021.0,656.0,204.0),
    (1234.0,693.0,204.0),
    (1077.0,740.0,204.0),
    (1360.0,779.0,204.0),
    (1039.0,830.0,204.0),
    (1163.0,1115.0,204.0),
    (1460.0,857.0,204.0),
    (1238.0,1145.0,204.0),
    (1501.0,925.0,204.0),
    (1556.0,993.0,204.0),
    (1556.0,1069.0,204.0),
    (1523.0,1147.0,204.0),
    (1261.0,1243.0,204.0),
    (1540.0,1207.0,204.0),
    (1296.0,1289.0,204.0),
    (1542.0,1267.0,204.0),
    (1426.0,1330.0,204.0),
    (914.0,943.0,204.0),
    (903.0,1038.0,204.0),
    (909.0,1135.0,204.0),
    (1094.0,1182.0,204.0),
    (997.0,1278.0,204.0),
    (1103.0,1228.0,204.0),
    (941.0,1322.0,204.0),
    (865.0,1289.0,204.0),
    (764.0,1252.0,204.0),
    (652.0,1185.0,204.0),
    (711.0,1110.0,204.0),
    (583.0,1080.0,204.0),
    (906.0,834.0,204.0),
    (785.0,735.0,204.0),
    (763.0,843.0,204.0),
    (650.0,794.0,204.0),
    (586.0,844.0,204.0),
    (634.0,688.0,204.0),
    (754.0,611.0,204.0),
    (809.0,654.0,204.0),
    (-76.0,-268.0,0.0),
    (563.0,795.0,188.0),
    (591.0,691.0,191.0),
    (521.0,750.0,193.0),
    (474.0,697.0,0.0),
    (544.0,638.0,0.0),
    (457.0,678.0,0.0),
    (524.0,619.0,0.0),
    (346.0,414.0,0.0),
    (440.0,689.0,0.0),
    (27.0,705.0,0.0),
    (162.0,499.0,0.0),
    (330.0,864.0,0.0),
    (473.0,730.0,0.0),
    (85.0,996.0,0.0),
    (204.0,973.0,0.0),
    (401.0,399.0,0.0),
    (492.0,432.0,0.0),
    (541.0,607.0,0.0),
    (639.0,533.0,0.0),
    (557.0,621.0,0.0),
    (652.0,492.0,0.0),
    (530.0,380.0,0.0),
    (650.0,402.0,0.0),
    (623.0,277.0,0.0),
    (503.0,337.0,0.0),
    (461.0,323.0,0.0),
    (592.0,203.0,0.0),
    (426.0,316.0,0.0),
    (407.0,293.0,0.0),
    (526.0,68.0,0.0),
    (389.0,264.0,0.0),
    (370.0,124.0,0.0),
    (313.0,231.0,0.0),
    (469.0,7.0,0.0),
    (356.0,-17.0,0.0),
    (394.0,-61.0,0.0),
    (353.0,-96.0,0.0),
    (334.0,-25.0,0.0),
    (305.0,-39.0,0.0),
    (309.0,-142.0,0.0),
    (273.0,-48.0,0.0),
    (244.0,-62.0,0.0),
    (272.0,-173.0,0.0),
    (194.0,-97.0,0.0),
    (234.0,-238.0,0.0),
    (201.0,-282.0,0.0),
    (124.0,-115.0,0.0),
    (145.0,-304.0,0.0),
    (36.0,-285.0,0.0),
    (310.0,-6.0,23.0),
    (320.0,41.0,0.0),
    (259.0,73.0,0.0),
    (288.0,40.0,0.0),
    (279.0,-2.0,35.0),
    (241.0,11.0,0.0),
    (16.0,-94.0,0.0),
    (102.0,-53.0,0.0),
    (247.0,-18.0,35.0),
    (232.0,-47.0,34.0),
    (162.0,-79.0,13.0),
    (76.0,-18.0,0.0),
    (-30.0,152.0,0.0),
    (188.0,44.0,0.0),
    (200.0,81.0,0.0),
    (38.0,155.0,0.0),
    (220.0,-28.0,30.0),
    (181.0,-45.0,10.0),
    (162.0,-13.0,0.0))

    faces1 = (
    (2,1,0),
    (2,0,3),
    (2,3,4),
    (3,5,4),
    (0,6,3),
    (3,6,7),
    (6,8,7),
    (6,9,8),
    (8,9,10),
    (9,11,10),
    (10,11,12),
    (10,12,13),
    (12,14,13),
    (11,15,12),
    (11,16,15),
    (15,16,17),
    (16,18,17),
    (16,19,18),
    (16,20,19),
    (17,18,21),
    (18,22,21),
    (21,22,23),
    (22,24,23),
    (21,23,25),
    (23,26,25),
    (25,26,27),
    (26,28,27),
    (27,28,29),
    (27,29,30),
    (29,31,30),
    (30,31,32),
    (30,32,33),
    (32,34,33),
    (33,34,35),
    (33,35,36),
    (33,36,37),
    (36,38,37),
    (37,38,39),
    (37,39,40),
    (39,41,40),
    (40,41,42),
    (40,42,14),
    (40,14,12),
    (41,43,42),
    (41,44,43),
    (41,45,44),
    (48,47,46),
    (45,49,44),
    (45,50,49),
    (49,50,51),
    (50,52,51),
    (51,52,53),
    (51,53,54),
    (51,54,55),
    (53,56,54),
    (54,56,57),
    (56,58,57),
    (57,58,59),
    (58,60,59),
    (58,61,60),
    (60,61,62),
    (61,63,62),
    (62,63,64),
    (62,64,65),
    (62,65,66),
    (62,66,67),
    (66,68,67),
    (67,68,69),
    (68,70,69),
    (69,70,71),
    (59,60,72),
    (60,73,72),
    (74,73,60),
    (74,60,75),
    (74,75,76),
    (75,77,76),
    (74,76,78),
    (74,78,79),
    (74,79,80),
    (74,80,81),
    (74,81,82),
    (81,83,82),
    (59,72,84),
    (72,85,84),
    (72,86,85),
    (85,86,87),
    (86,88,87),
    (85,87,89),
    (85,89,90),
    (85,90,91),
    (48,46,92),
    (95,94,93),
    (87,88,93),
    (93,94,89),
    (93,89,87),
    (95,96,94),
    (94,96,97),
    (96,98,97),
    (97,98,99),
    (99,98,100),
    (98,101,100),
    (100,101,102),
    (100,102,103),
    (101,104,102),
    (101,105,104),
    (102,104,106),
    (104,107,106),
    (100,108,99),
    (109,99,108),
    (110,99,109),
    (111,110,109),
    (112,110,111),
    (109,113,111),
    (109,114,113),
    (113,114,115),
    (114,116,115),
    (114,117,116),
    (118,116,117),
    (118,119,116),
    (118,120,119),
    (121,119,120),
    (121,122,119),
    (123,122,121),
    (122,123,124),
    (123,125,124),
    (122,124,126),
    (126,124,127),
    (126,127,128),
    (127,129,128),
    (130,129,127),
    (131,129,130),
    (129,131,132),
    (131,133,132),
    (132,133,134),
    (132,134,135),
    (134,136,135),
    (135,136,137),
    (136,138,137),
    (136,139,138),
    (138,139,140),
    (139,141,140),
    (127,142,130),
    (124,144,143),
    (143,144,145),
    (145,144,146),
    (144,147,146),
    (141,139,148),
    (139,149,148),
    (133,150,134),
    (150,151,134),
    (134,151,136),
    (151,152,136),
    (136,152,139),
    (127,124,143),
    (148,149,153),
    (148,153,48),
    (153,154,48),
    (144,156,155),
    (153,157,154),
    (148,48,92),
    (148,92,141),
    (143,142,127),
    (143,145,142),
    (142,145,146),
    (155,158,147),
    (155,147,144),
    (151,158,159),
    (151,159,152),
    (159,149,152),
    (152,149,139),
    (153,149,160),
    (160,158,155),
    (142,131,130),
    (131,142,146),
    (158,150,147),
    (158,151,150),
    (150,146,147),
    (150,133,146),
    (146,133,131),
    (158,160,159),
    (160,149,159))

    clearScene()
    ob1 = createMesh('EALS_1WalkMesh',  verts1, [], faces1)
    putCam()
    putCamTarget()
    cam = bpy.data.objects['EALS_1Cam']
    target = bpy.data.objects['CamTarget']
    addTrackToConstraint(cam,"myTrackTo",target)
    return
if __name__ == "__main__":
    run()

and let me know what you think (it's EALS_1).
 8)

<edit:removed import mathutils line from the code >
« Last Edit: 2012-11-28 10:57:31 by SpooX »

Timu Sumisu

  • *
  • Posts: 1850
  • The Master
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #11 on: 2012-11-28 03:44:32 »
Just tested all my new computer parts tonight, will have it built in the next few days and can get testing/tweaking on this. At a quicdk go on my laptop, it said mathutils didnt exist >.>

Will have to update my python stuffz.

Note: Said computer is notably awesome, and sweet pics are sure to come!
« Last Edit: 2012-11-28 03:47:41 by Timu Sumisu »

SpooX

  • ah nothing really...
  • Moderator
  • *
  • Posts: 344
  • Used to be errr...
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #12 on: 2012-11-28 10:56:25 »
Just tested all my new computer parts tonight, will have it built in the next few days and can get testing/tweaking on this. At a quicdk go on my laptop, it said mathutils didnt exist >.>

Will have to update my python stuffz.

Note: Said computer is notably awesome, and sweet pics are sure to come!
oh you can remove the mathutils line, it's just a line which comes from some experimenting with calculations in the script, it runs perfectly without it. In fact the calculations have moved into the exporter.

PS I test these scripts on Blender 2.6 and above.
 8-)

SpooX

  • ah nothing really...
  • Moderator
  • *
  • Posts: 344
  • Used to be errr...
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #13 on: 2012-11-28 21:51:44 »
Just a small message to notify that some new export features are added, for details see first post.
 8)

Mayo Master

  • Moderator
  • *
  • Posts: 650
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #14 on: 2012-11-29 00:22:05 »
I tested your Blender exporter for mds5_i...
It's brilliant! Very easy to use, and great results (and by the way, I accessed the file through disk 2, worked perfectly).
Note for newbie Blender users like me: be mindful about adjusting the camera front and end clipping distances, not only for having the scene viewable at all, but for avoiding z-fighting issues.
Anyway, that sure will make everyone's job so much easier.  ;D  Worth being sticky-ed, in my opinion.
Again, thank you so much!
« Last Edit: 2012-11-29 00:36:31 by Mayo Master »

Timu Sumisu

  • *
  • Posts: 1850
  • The Master
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #15 on: 2012-11-29 02:31:35 »
Worth being sticky-ed, in my opinion.

Done aaaaaand... Done!

anaho

  • *
  • Posts: 143
  • King Of Slowdown
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #16 on: 2013-01-05 13:11:32 »
Hi,
have I been excluded from the repo due to my low activity?
I only have visited it once or twice, but wasn´t the login data the same as here?

Mayo Master

  • Moderator
  • *
  • Posts: 650
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #17 on: 2013-01-05 15:52:38 »
Access to repo is granted after specific request made to the moderators, it's not the same as a login here. Given your contributions (and if we want your work to get in the repo), I am pretty sure the moderators will agree if you ask. I don't know if you need to maintain a specific activity to keep your access though. I suggest you PM Timu or sl1982 on this.
« Last Edit: 2013-01-05 15:54:34 by Mayo Master »

sl1982

  • Administrator
  • *
  • Posts: 3764
  • GUI Master :P
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #18 on: 2013-01-05 16:30:04 »
PM me your info and i will make sure you have access. I have not removed any access to the repo, are you sure you had it?

SpooX

  • ah nothing really...
  • Moderator
  • *
  • Posts: 344
  • Used to be errr...
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #19 on: 2013-01-05 17:49:56 »
Hi Anaho,

welcome back :)
I've upladed MDS7PB2 as a blender file into the Repo.
Since you already did:

You might as well play around with this one:


if you want. (or anyone else for that matter)
 8-)

anaho

  • *
  • Posts: 143
  • King Of Slowdown
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #20 on: 2013-01-07 11:28:28 »
Just realised that the pword was indepedent from this account- my bad.
On that MDS7PB1 blender file:
I would like to do that since 99% of the modelling seems to done already.
However the conversion from 3DS totally ruined the whole geometry ( bad normals everywhere, scrambled UVs, everything is in tris...).
Maybe you should just post the 3DS file in the repo and I will do the conversion to blender myself and extract the camera data. Been doing that for every scene file anyway XD

Mayo Master

  • Moderator
  • *
  • Posts: 650
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #21 on: 2013-08-10 18:23:24 »
I would like to add a side note for Blender users:
After running the script given by SpooX's ShinraTools, I strongly recommend you scale everything in the scene (with respect to the central 0,0,0 coordinates) by 0.01.
Everything should look the same, but downscaling everything in this manner appears necessary whenever you want to run a smoke or a fluid simulation in the scene. My works on eals_1 and colne_be3 had me facing these issues.

anaho

  • *
  • Posts: 143
  • King Of Slowdown
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #22 on: 2016-11-12 18:40:57 »
How so I align the camera in Blender to the file I recreate? Is there a script for it? I used to do it manually SKetchup-> 3DSMax-> Blender but the exporter from 3DSMAX to Blender is long lost and no one seems to have backup.

SpooX

  • ah nothing really...
  • Moderator
  • *
  • Posts: 344
  • Used to be errr...
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #23 on: 2016-11-13 10:13:12 »
How so I align the camera in Blender to the file I recreate? Is there a script for it? I used to do it manually SKetchup-> 3DSMax-> Blender but the exporter from 3DSMAX to Blender is long lost and no one seems to have backup.
Hi Anaho
if you use the tool, you get the alignment of the camera in the script already.

as an example:
Code: [Select]
...
def putCamTarget():
    # Create Empty as target
    bpy.ops.object.add(type='EMPTY', location=(-29,-221.4932,977.2385))
    bpy.context.active_object.name = 'CamTarget'
def putCam():
    # Create a camera and get the shape name.
    data = bpy.data.cameras.new('ANFRST_2Cam')
    vcam = bpy.data.objects.new('ANFRST_2Cam', data)
    vcam.location = (-29,-9015,977.2385)
    vcam.scale = (1.0, 1.0, 1.0)
    #data.angle_x = 9.320189
    data.lens = 214.687522024547
    data.draw_size = 100
    data.clip_end = 10000.0
    data.sensor_width = 35.0
    bpy.context.scene.objects.link(vcam)
...

So you don't need to do the whole sketchup-->3ds-max-->blender workflow, but can start directly using blender or 3dsmax...

I hope this helps.
 8-)

anaho

  • *
  • Posts: 143
  • King Of Slowdown
    • View Profile
Re: SpooX Walkmesh exporter alias ShinraTool
« Reply #24 on: 2016-11-13 14:25:22 »
This will help very much. Thank you for your great help as always :)