Jump to content

How To: Create Your Own Art Using Pgi's Mechs

Art Misc

2251 replies to this topic

#1081 Cimarb

    Member

  • PipPipPipPipPipPipPipPipPip
  • Caladbolg
  • Caladbolg
  • 3,912 posts
  • Twitter: Link
  • Twitch: Link
  • LocationA hop, skip and jump from Terra

Posted 25 October 2014 - 03:56 PM

Not to interrupt the thread, but thank you Heffay for continuing to support it and help everyone trying to catch up.

#1082 Heffay

    Rum Runner

  • PipPipPipPipPipPipPipPipPipPip
  • The Referee
  • The Referee
  • 6,458 posts
  • LocationPHX

Posted 25 October 2014 - 04:34 PM

View PostCimarb, on 25 October 2014 - 03:56 PM, said:

Not to interrupt the thread, but thank you Heffay for continuing to support it and help everyone trying to catch up.


Hehe, I'm working on a new music parody video, and need to animate about 5 or 6 mechs. Just rewatched my third one again so I can figure out wtf to do. This stuff takes time and practice, and even then, it requires constant use to keep your skills fresh.

#1083 Iqfish

    Member

  • PipPipPipPipPipPipPipPipPip
  • 3,488 posts
  • Google+: Link
  • LocationGermany, CGN

Posted 25 October 2014 - 04:37 PM

View PostHeffay, on 25 October 2014 - 04:34 PM, said:


Hehe, I'm working on a new music parody video, and need to animate about 5 or 6 mechs. Just rewatched my third one again so I can figure out wtf to do. This stuff takes time and practice, and even then, it requires constant use to keep your skills fresh.


Im sorry we couldnt help out with that one, we're just too busy and we have only one 3D artist..

#1084 Heffay

    Rum Runner

  • PipPipPipPipPipPipPipPipPipPip
  • The Referee
  • The Referee
  • 6,458 posts
  • LocationPHX

Posted 25 October 2014 - 04:38 PM

View PostIqfish, on 25 October 2014 - 04:37 PM, said:


Im sorry we couldnt help out with that one, we're just too busy and we have only one 3D artist..


No worries. Worst case scenario is you're making more videos, and EVERYBODY WINS!! :D

#1085 Iqfish

    Member

  • PipPipPipPipPipPipPipPipPip
  • 3,488 posts
  • Google+: Link
  • LocationGermany, CGN

Posted 25 October 2014 - 04:41 PM

View PostHeffay, on 25 October 2014 - 04:38 PM, said:


No worries. Worst case scenario is you're making more videos, and EVERYBODY WINS!! :D


No, our CPUs don't. Especially this time :ph34r:

#1086 Heffay

    Rum Runner

  • PipPipPipPipPipPipPipPipPipPip
  • The Referee
  • The Referee
  • 6,458 posts
  • LocationPHX

Posted 26 October 2014 - 07:49 AM

View PostIqfish, on 25 October 2014 - 04:41 PM, said:


No, our CPUs don't. Especially this time :ph34r:


Rebus farms!

Or roll your own:

http://cgcookie.com/...-a-render-farm/

#1087 Iqfish

    Member

  • PipPipPipPipPipPipPipPipPip
  • 3,488 posts
  • Google+: Link
  • LocationGermany, CGN

Posted 26 October 2014 - 07:52 AM

View PostHeffay, on 26 October 2014 - 07:49 AM, said:


Rebus farms!

Or roll your own:

http://cgcookie.com/...-a-render-farm/


We linked our 6 PCs together the last time via SheepIT! but this time we are going to rent a 32 core rendering server for 3 days...

#1088 HlynkaCG

    Member

  • PipPipPipPipPipPipPipPip
  • Civil Servant
  • Civil Servant
  • 1,263 posts
  • LocationSitting on a 12x multiplier and voting for Terra Therma

Posted 26 October 2014 - 01:28 PM

View PostHeffay, on 25 October 2014 - 03:52 PM, said:


Does this file actually exist?

Posted Image


Yes, but I've figured out the problem, by default neosis attaches an output tag to any file you convert, blender does not like this, and you must disable this option in preferences or in the batch tool or blender will not load the file.

The internal structure of the pak files has also changed, a bunch of the shared meshes and textures are not where your script thinks they are, with the null inputs causing the script to hang and time out, import the cockpit and weapons manually allows you to work around this.

Edited by HlynkaCG, 26 October 2014 - 01:30 PM.


#1089 Heffay

    Rum Runner

  • PipPipPipPipPipPipPipPipPipPip
  • The Referee
  • The Referee
  • 6,458 posts
  • LocationPHX

Posted 26 October 2014 - 04:01 PM

View PostHlynkaCG, on 26 October 2014 - 01:28 PM, said:


Yes, but I've figured out the problem, by default neosis attaches an output tag to any file you convert, blender does not like this, and you must disable this option in preferences or in the batch tool or blender will not load the file.

The internal structure of the pak files has also changed, a bunch of the shared meshes and textures are not where your script thinks they are, with the null inputs causing the script to hang and time out, import the cockpit and weapons manually allows you to work around this.


I'll have to take a look at this. The Locust used to import just fine, but it's possible things have changed. Thanks for the heads up!



:D

#1090 HlynkaCG

    Member

  • PipPipPipPipPipPipPipPip
  • Civil Servant
  • Civil Servant
  • 1,263 posts
  • LocationSitting on a 12x multiplier and voting for Terra Therma

Posted 27 October 2014 - 10:09 AM

No worries, the issue could also be different versions of neosis and blender interacting in odd ways.

In regards to changes my pak files taken from the most recent game build has no monitor textures and the cockpit files (shared panels and the like) are seperated by Clan vs IS.

Other than that good work, and thanks you for the script and the support.

#1091 HlynkaCG

    Member

  • PipPipPipPipPipPipPipPip
  • Civil Servant
  • Civil Servant
  • 1,263 posts
  • LocationSitting on a 12x multiplier and voting for Terra Therma

Posted 27 October 2014 - 12:13 PM

As an aspiring engineer and designer, I've been inspired by Haruko's work on MWO's cockpit scaling to investigate the ergonomic and anthropometric aspects of battlemech design. (pilot comfort and "usability" for the uninitiated).This is pure curiosity, not because I'm planning to build a giant robot any time soon :rolleyes:

Anyway, thanks to Heffay and this thread I am able to start taking apart the models and see how they fit together. One interesting thing that I've noticed off the bat is that a lot of the newer mechs, clan mechs in particular appear to make use of forced perspective in their cockpits. Simply put, many of the screens that look tiny are in fact full 24in monitors and there is no way for the cockpit to fit inside the mech. The locust's cockpit is particularly gregarious, being a full meter longer than the mech itself.

That said the exterior meshes don't seem too bad.

Posted Image

Posted Image

Posted Image


ETA:
For those who are curious, the "pilot" is a 5' 10" 80 kg male mesh that I routinely use as my "baseline" human when doing CAD work. as you can see he fits in the mech quite comfortably even though the cockpit does not.

The mech is an Uller A

Edited by HlynkaCG, 27 October 2014 - 12:15 PM.


#1092 HlynkaCG

    Member

  • PipPipPipPipPipPipPipPip
  • Civil Servant
  • Civil Servant
  • 1,263 posts
  • LocationSitting on a 12x multiplier and voting for Terra Therma

Posted 27 October 2014 - 01:00 PM

Ever notice that odd "seam" around the Kitfox's CT and wonder what the deal with it was? I'm pretty sure that it's the pilot's canopy and that the round bits on either side contain the hinge.

Posted Image

Posted Image

#1093 Heffay

    Rum Runner

  • PipPipPipPipPipPipPipPipPipPip
  • The Referee
  • The Referee
  • 6,458 posts
  • LocationPHX

Posted 27 October 2014 - 01:17 PM

View PostHlynkaCG, on 27 October 2014 - 12:13 PM, said:

the "pilot" is a 5' 10" 80 kg male mesh that I routinely use as my "baseline" human when doing CAD work. as you can see he fits in the mech quite comfortably even though the cockpit does not.[/size] The mech is an Uller A


Haruka did a full series of posts on cockpit sizes:

http://mwomercs.com/...line-asset-art/

It's interesting reading, but yes, the cockpits are larger than what the mech would support. I tend to wave it off with explanations like " the average pilot height was 4'9" in 3050". ;) Although they still say they are normal sized people, the Houses tend to use NBA height scaling when discussing how tall someone is (hey, never hurts to add a few inches to the player reports, eh?).

#1094 HlynkaCG

    Member

  • PipPipPipPipPipPipPipPip
  • Civil Servant
  • Civil Servant
  • 1,263 posts
  • LocationSitting on a 12x multiplier and voting for Terra Therma

Posted 27 October 2014 - 02:36 PM

View PostHeffay, on 27 October 2014 - 01:17 PM, said:


Haruka did a full series of posts on cockpit sizes:

http://mwomercs.com/...line-asset-art/

It's interesting reading, but yes, the cockpits are larger than what the mech would support. I tend to wave it off with explanations like " the average pilot height was 4'9" in 3050". ;) Although they still say they are normal sized people, the Houses tend to use NBA height scaling when discussing how tall someone is (hey, never hurts to add a few inches to the player reports, eh?).


If you look I linked to that thread in my reply, and what I'm talking about goes a bit beyond a few inches in hieght. The chair in the kitfox's cockpit mesh is scaled for someone who's legs are 2 meters long, but has a normal (baseline) sized torso. :huh:

That's what I was referring to when I mentioned forced-perspective.

#1095 MrEdweird

    Member

  • PipPipPipPipPipPip
  • The 1 Percent
  • The 1 Percent
  • 273 posts

Posted 27 October 2014 - 04:12 PM

I have an issue I was hoping I could get some help with - my apologies for hijacking the thread, I absolutely adore Heffay for making the tutorials.
I'm working on a custom Jagermech model and I used multiples of the same type of weapons to make new ones - barrels etc.
I can't get those weapons to stick to the armature for some reason. At first I thought it was because they were mixed L/R and Heffay's script wanted them to be correct because some of them would move.

So I redid the weapons with the correct sides and now none of them would move. i renamed all the objects so they don't have .001s etc and have left/right in them but still nothing. Any ideas as to why even though parented to the armature these still won't budge? (I did also rename the vertex groups for those objects to the originals but nada. I basically made several copies of the mech using the script to use as "parts".)

EDIT: Something that I noticed in the spawning of the objects is that the ballistic weapons, namely the AC2s and AC5s come in as a pair of objects tied together by some force different than parenting or anything else I've ever encountered. I found out how to separate them by doing Edit Mode > P to separate them by selection/texture etc. but this won't work because you can't select ALL the vertices for either object (base and barrel) in order to separate them. So...there's actually 5 useless pieces flying around in space in this image, about a billion kilometers away. Just a heads up, Heffay. i think it's because of the recoiling barrels function that they did it this way.

Posted Image

Edited by Edweird, 27 October 2014 - 04:33 PM.


#1096 Heffay

    Rum Runner

  • PipPipPipPipPipPipPipPipPipPip
  • The Referee
  • The Referee
  • 6,458 posts
  • LocationPHX

Posted 27 October 2014 - 05:32 PM

Ok, the pairing of vertices to bones is a pretty lengthy topic, but let me see if I can take a stab. I'm hoping Andreas will jump in here, because when it comes to Blender he's the best around. But, a couple of possible options.

The original pairing of the mech object with a particular bone comes from one of the config files. Each object has a bone name associated with it, and the script will assign those vertices in that object to that bone name. Like this:

    # Create a vertex group with the bone name.  This makes parenting to armature super easy!
    $parsedline += "bpy.ops.object.vertex_group_add()"
    $parsedline += "bpy.context.object.vertex_groups.active.name = `"$bonename`""
    $parsedline += "bpy.ops.mesh.select_all(action=`'SELECT`')"
    $parsedline += "bpy.ops.object.vertex_group_assign()"
    $parsedline += "bpy.ops.mesh.select_all(action=`'TOGGLE`')"


What you can do is in edit mode, select the vertices you want to assign to that bone into the vertex group. Vertex groups are under the... umm.. here:
Posted Image

In edit mode, you'll be able to assign and deassign as necessary. Add them to the vertex group that is controlled by the bone you want to move them with.

Now, this will probably not be enough. I think. I'm theorycrafting here, but you'll need to parent those vertices with the bone as well. Go check out the weight paint function. It's under the mode menu, where you switch between object, edit, pose, etc. If you have the object selected, one of the functions is weight paint. When you select a bone, you should see which vertices are affected by it by color. For robots it's super easy (usually 100% or 0%), but with humanoids (because flesh stretches) it can vary. If the vertices you want to move are blue when you select the bone, then you have to paint them until they turn red.

The exploding geometry object is a known issue with the Noesis plug-in. I have a test version that kinda-sorta helps fix it, but it's still not perfect. You can find it here: (keep in mind there may be other bugs, but... it may help out)

https://dl.dropboxus...ne_cgf.dll.test

Take off the .test extension, place it in your Noesis plugin folders, and see if that helps.

#1097 MrEdweird

    Member

  • PipPipPipPipPipPip
  • The 1 Percent
  • The 1 Percent
  • 273 posts

Posted 28 October 2014 - 02:56 AM

View PostHeffay, on 27 October 2014 - 05:32 PM, said:

*snip*


Apparently ALL the objects had ALL the vertices assigned. O.o
But that wasn't the issue.
Yup, you were right, it was the weight, those objects had no weight with the armature.
Thanks! I'm gonna try your fix for the object explosions now. Setting the origin of the object on one of the pieces goes around the issue but...it is kind of annoying to have a spare part hanging in mid-air a mile away and I imagine it bugs the hell out of you. (Yes, I see that the barrel is hanging in mid-air too lol)

Posted Image

Edited by Edweird, 28 October 2014 - 03:33 AM.


#1098 LadyKayBee

    Member

  • PipPip
  • Ace Of Spades
  • Ace Of Spades
  • 25 posts

Posted 28 October 2014 - 06:36 AM

Hello! A friend of mine just got a 3d printer and has offered to 3d print whatever I'd like, so I got the idea to have him 3d print a mech for me and another friend, but I'd have to supply him the .obj file. But I've been having issues getting that far in converting. I'm probably just dumb, though. So far I've got the mechs I want extracted from the files, but having issues with the batch script assembling the cgf from all the cga's. I'm probably just making a silly mistake, but it's a pain in the butt.

#1099 Heffay

    Rum Runner

  • PipPipPipPipPipPipPipPipPipPip
  • The Referee
  • The Referee
  • 6,458 posts
  • LocationPHX

Posted 28 October 2014 - 07:08 AM

View PostCaptainKBX, on 28 October 2014 - 06:36 AM, said:

Hello! A friend of mine just got a 3d printer and has offered to 3d print whatever I'd like, so I got the idea to have him 3d print a mech for me and another friend, but I'd have to supply him the .obj file. But I've been having issues getting that far in converting. I'm probably just dumb, though. So far I've got the mechs I want extracted from the files, but having issues with the batch script assembling the cgf from all the cga's. I'm probably just making a silly mistake, but it's a pain in the butt.


Can you post some screenshots of what you're seeing? The more specific info you provide, the easier it is to find out what went wrong. Thanks!

#1100 LadyKayBee

    Member

  • PipPip
  • Ace Of Spades
  • Ace Of Spades
  • 25 posts

Posted 28 October 2014 - 07:15 AM

http://i.imgur.com/V4rd0rM.png That's pretty much it. I'm a noob when it comes to figuring out scripts most of the time, and I didn't even know Powershell existed until now, honestly.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users