AshuraDX Posted August 7, 2014 Posted August 7, 2014 @@Archangel35757 - I might just do that , didn't really spend a lot of time on the frosty version
Grab Posted August 7, 2014 Posted August 7, 2014 Holy Mother of God! That's awesome :OOOOOCan we see screenshot how does it look like in game?
eezstreet Posted August 7, 2014 Posted August 7, 2014 NOTE: The JK2 AT-ST is different from the JKA AT-ST. In JK2, the "head" of the AT-ST can pivot independent of the legs on a specific bone. I can't remember the name of the bone, but it's apparently one which is near the waist of the player skeleton. I tried applying the ATST pivot code to the player and it sorta worked, there was just some minor animation issues.
AshuraDX Posted August 7, 2014 Posted August 7, 2014 Holy Mother of God! That's awesome :OOOOOCan we see screenshot how does it look like in game?I could get a static version of the mesh ingame , but you'll have to wait for mini to see the actual animated model ingame
minilogoguy18 Posted August 7, 2014 Author Posted August 7, 2014 NOTE: The JK2 AT-ST is different from the JKA AT-ST. In JK2, the "head" of the AT-ST can pivot independent of the legs on a specific bone. I can't remember the name of the bone, but it's apparently one which is near the waist of the player skeleton. I tried applying the ATST pivot code to the player and it sorta worked, there was just some minor animation issues. @@eezstreet I didn't know this, thought they were the same. Are the skeletons different or is it just game code that is different because I built my skeleton identical to the base one from the source files but with my own shadow rig controlling it much like the _humanoid rig I released. @@Grab, I have it at the point where it is ready to be animated, made a full rig (look a few pages back) so animations will be new so it's not even in game yet. I'm about to start animating it which is hard to say how long that will take since I'll probably post clips of it in Softimage for feedback on the animations snice the base ones weren't the best IMO. Tempust85 likes this
eezstreet Posted August 7, 2014 Posted August 7, 2014 I think their skeletons are different. You might want to inspect in ModView to be sure. JK2 and JKA have a completely different model for ATSTs though (the JK2 model is lol)
minilogoguy18 Posted August 7, 2014 Author Posted August 7, 2014 Anyone with both games installed wanna post ModView pics of both AT-ST's skeletons to check? My folder structure is already set up to let this version overwrite the base one so extracting them out would kinda bork what I've got going on.
Circa Posted August 7, 2014 Posted August 7, 2014 Anyone with both games installed wanna post ModView pics of both AT-ST's skeletons to check? My folder structure is already set up to let this version overwrite the base one so extracting them out would kinda bork what I've got going on. I'm assuming this is what you mean. JK2: JKA: minilogoguy18 likes this
minilogoguy18 Posted August 7, 2014 Author Posted August 7, 2014 Yep, thanks! Both skeletons appear to be identical, guess it's a code difference that allowed the AT-ST to behave differently between the games. I imported the root.xsi file from the source and copied it's skeleton so I should be good as far as making it behave the same. Archangel35757 and Tempust85 like this
Tempust85 Posted August 8, 2014 Posted August 8, 2014 Damn those run & walk anims are so jittery. @@minilogoguy18 You probably know this, but you'll need to make sure the new bones have the exact same axis as the original due to the code.
eezstreet Posted August 8, 2014 Posted August 8, 2014 The thoracic bone is the one I'm referring to as the pivot point, thanks. Weird, I thought I remember the models looking really different though...I know that the pivot behavior doesn't exist in JKA though.
minilogoguy18 Posted August 8, 2014 Author Posted August 8, 2014 I'll have to double check, it should only be the bones for the head pivoting needing to match since they aren't animated but rather use player input to move, pretty sure I matched them all up though. eezstreet likes this
Tempust85 Posted August 8, 2014 Posted August 8, 2014 Would be really great to have a better 3rd person camera for AT-STs, I always find it so hard to see lol. Boothand likes this
AshuraDX Posted August 8, 2014 Posted August 8, 2014 shoutout to some people who might be able to help here : @@eezstreet @@Xycaleth @@DT85 Rend2 is giving me some funky results : textures/models/atst/st_m { q3map_nolightmap { map textures/models/atst/gray rgbGen vertexLit } { stage normalparallaxmap map textures/models/atst/st_n } { stage specularMap map textures/models/atst/st_s specularReflectance 0.25 gloss 0.1 } } Ingame : This second shader , appears to work as it should ingame but sadly it looks like the model is allways lit from the same side , as If I baked a lightmap and put that on the model textures/models/atst/st_c { q3map_nolightmap { stage diffuseMap map textures/models/atst/gray blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { stage normalparallaxmap map textures/models/atst/st_n } { stage specularMap map textures/models/atst/st_s specularReflectance 0.25 gloss 0.1 } } As you can see it's allways only the back side of the model that is lit , I tried r_forcesun 2 and it had absolutely no effect on the model EDIT : the lighting issue also appears with the vanilla renderer - no clue what's going wrong here
Xycaleth Posted August 8, 2014 Posted August 8, 2014 For the diffuse stage, use lightingDiffuseEntity (in both shaders). And I can't remember off the top of my head if reflectance and gloss refer to the same thing. I think they do, so I would get rid of the reflectance lines.
Tempust85 Posted August 8, 2014 Posted August 8, 2014 Try this: models/players/<blah>/<blah> { { map models/players/<blah>/<blah>.jpg rgbGen lightingdiffuseEntity } { stage normalmap map models/players/<blah>/<blah>.jpg } { stage specularmap map models/players/<blah>/<blah>.jpg specularReflectance 0.5 specularExponent 16 } } It's different for Ghoul2 models.
AshuraDX Posted August 8, 2014 Posted August 8, 2014 @@DT85 @@Xycaleth Thanks but sadly the Lighting problems still persists :-normal maps don't react to dynamic lightsources (could also just not have been implemented yet)-the model is only lit from one side , it's probably some wierd exporter issue again though but I don't know what could cause something like this Any ideas @@Psyk0Sith ?
Tempust85 Posted August 8, 2014 Posted August 8, 2014 Only thing I can suggest is upload the model + textures + shader and see if we also have the same issues.
AshuraDX Posted August 8, 2014 Posted August 8, 2014 Some more testing revealed that my static model is shaded correctly in base JA SP while the wierd "lit from back only" issue appears in base JA MP aswellreally strange
Xycaleth Posted August 8, 2014 Posted August 8, 2014 You've probably checked already, but are all normals pointing outwards from the model?
AshuraDX Posted August 8, 2014 Posted August 8, 2014 @@Xycaleth yep, otherwise it wouldn't render correctly in Substance and jasp
Psyk0Sith Posted August 9, 2014 Posted August 9, 2014 When normal maps display correctly in one package and are broken in another it's usually a shader issue or flipped channels. 3D studio max can't even display its own maps correctly because it has a "broken" or poorly written shader.If you have an asset that displays correctly in JA, compare all the channels with your normal map and make sure they're matching the orientation (red and blue channels can also be inverted depending on bake settings). Also, JA's player models have a tendency to be lit from the back more than in the front, not sure why that is, but it could be a contributing factor. What happens if you rotate the AT-ST around before exporting? does the new back (the front) look correct? If so, then your normals are fine and the shader or the engine is breaking something.
Archangel35757 Posted August 9, 2014 Posted August 9, 2014 You can use the DirectX Shader in 3dsMax to see the results of your normal map.
Xycaleth Posted August 9, 2014 Posted August 9, 2014 @@Xycaleth yep, otherwise it wouldn't render correctly in Substance and jaspDid you check in ModView as well?
Psyk0Sith Posted August 9, 2014 Posted August 9, 2014 You can use the DirectX Shader in 3dsMax to see the results of your normal map.Yes you can, if you want broken and limited options to display your normal maps. What you need to use is a 3rd party shader that isnt broken and offers greater control such as "3 point shader" or "XoliulShader 2" Tempust85 and Archangel35757 like this
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now