Jump to content

digman

Members
  • Posts

    93
  • Joined

  • Last visited

Everything posted by digman

  1. Yes, Custom bone shapes are used all the time, I would not want to animate without them other than a more simple animation plus bones can be hidden on other layers and how you can have extra bones to drive the IK and FK through the use of constraints. I mentioned all the above facts several times. My rig as stated was a rig just to work through the first problems encountered of getting the correct bones to export and the correct orientation of the rigged model for animation. In my last several post, I stated there could be some more problems to work through and suggested downloading and testing a few rig types... There is even the rigify rig that can be tested as well. No problem finding a number of Blender rigs to test. Of course when a new version of the exporter is released, I will test it out but unfortunately at the moment I do not have much time for deep testing... Having the feature not to export the control bone shapes would be great as the rig I tested the control bone shapes were exported and material mat files created plus for some reason the control bones were exported as well. The control bones do not get exported in my basic rig.
  2. Ah yes, one should never assume concerning the centering of the objects for the exported as I did. The problem just could have been simply that the creator of the model had not set the transformations as I explained earlier whether it is was set for world center or set somewhere off world center. Rigs can get complicated for sure but I have no new information to give you at this time per my previous suggestions.
  3. The disappearing of my model was happening on my end as well just did not mention it as I do like to mention problems till I can give you complete information. Also the disappearing just could be a Leadwerks bug. I figured out that the static model from BlendSwap problem I was having was based on the creator of the model. I will explain. I tested this model the other day... The blendswap model was not importing into Leadwerks with the correct Z forward orientation plus they were sometimes facing incorrect as well. In Blender when you are in Object mode(not edit mode) and you transform an object you must use CTRL plus the A key to set the transforms for rotation, scale and location. Even though the model appears to be transformed in the viewport, it is a virtual transform till you set it as explained above. Many newer Blender users to not know this. The exporter expects the model to be Centered in the world on the X Y and Z plus the object facing forward in Front view. This is how all my testing models have been set up. This is the default Blender axis orientation and model facing. I thought it best to give you the default blender setup when you were scripting for exporter. Once I had set transformations Rotation, Location (scale not needed) for the horse model to 0,0,0 on all axis, then the horse was correctly imported using the exporter. Now to rigs... I kept my rig at a basic level, just deformation bones and control bones that had no control bone shapes applied to them. The exporter works correctly on this type of rig. Another rig I tested the other day had control bone shapes. Control bone shapes are real geometry. The exporter exported these out and created material mat files for them plus the control bones appeared in the editor as well. There are number of ways to set up rigs in blender and for the exporter to work on them all without breaking one method over the other is a hard question to answer. I would suggest for you to download a few rigs from Blendswap, just make a simple animation and use the exporter to see any problems. Sorry, I simply do not have time to do so. The other way is release the exporter once importing the normals is fixed and then go on a case by case bases for any rig or static model problems as users report them. This of course is entirely up to you and Josh.
  4. In the above post, I found one area to correct if possible. The below is just my final thoughts on the exporter. First, alrusdi creating an exporter is not easy job with all the variables in Blender. I would hope that after the general release that Josh will retain you for further development of the exporter. Now for the reason of the above statement. With all the available rigs and static models for blender with various users creating them plus users importing models into blender, I know there will be more problems encountered. I have tested a few rigs and static models, some have problems exporting out. It is beyond the scope of this post to inform you about them as it take hours to make a good bug report test. You have to test whether it was a possible user error in creating the model or animation or a problem in the exporter. That will just have to come when there is the general release of the exporter and more users are exporting from Blender into Leadwerks and posting here. My time now is very limited for testing.
  5. I am getting too busy to test much more. I did notice now though that the imported models both static and animated need their normals recalulated in the model editor for them to recieve the scene lighting correctly. Recalculating for the static models is not a problem but can cause some problems with animated models. Shown in my uploaded picture. Now the male model was imported into Blender, so I do not know if it is the reason for the mesh tearing after recalculation or not. You would have to test some animations with models created inside blender. Blendswap is a great place to get blender models both for static and animated. The recalculation method of " Average normal" will not tear the mesh but the recalculation is not good. If possible can you make it so that the models do not need their normals recalculated after importing. The FBX exporter imports models with no need of recalculating the normals once they are imported. I do not have to recalculate the animated model's normals and I get no tearing of the mesh. You can download the two new blend files to test with from my other post, One has the animation man and the other is just the Blender monkey. I will post my final thoughts on the exporter in my next post...
  6. Z Forward axis direction of the model's facing is fixed on my animated model per your last post. Ok, other than this last one static model axis direction facing problem, I think your are pretty much ready for release. I do need though to remind everyone I am only one tester and have reported most of the problems here in this thread. I of course could keep testing but like any software you could test till the cows come home and still when a large number of users use the exporter, there could be a few bugs found but hopefully very, very few. Airusdi, you have done a very good job here and worked hard. Thanks. OK, on the last problem. A static model for some reason imports into leadwerks with the correct Z Forward axis orientation but the model is facing along the X axis in Leadwerks. Just like the animated model it needs the model facing to face Z Forward ... I have no idea why static models do not come in Facing Z Forward when the animated models correctly import. They are both setup the same in Blender. Shown in picture "Facing" is the Blender monkey facing the x axis but with the correct Z Forward axis orientation. Also one last picture which is not a problem but just shows that the FPS arms and weapon face the Z Forward as well. This is the same as the default player in Leadwerks... I believe no will have problems with their animations as long as this reminds true when they export from Blender. All my models in blender are setup in the Front view (Ortho) in Blender. I uploaded a new hero blend. Corrected a small problem and the monkey blend... I am done thrashing as Josh would say.. Again thanks for this great addition to Leadwerks... Blends.zip
  7. Busy over the weekend but will test as soon as possible... thanks for the update... Edit : I did a quick test, The model now plays correctly in the model editor. It appears no control bones are imported. The axis is now correct but the animated model is facing -Z forward instead of Z forward. I am not a programmer so I will have to learn how to attached a camera to the head bone in a lua script to test if the animated player model walks backwards. This is the problem we had when I was working on the Phobia game which I had to leave because of health reasons. We had to export the animated player's model's axis Z forward so you the player would walk forward in the game engine. If you just can add a choice of which Z direction to choose from in the Blender leadwerks exporter then that would solve any problems on the Z direction you would need per model... Give the user the choice of which Z axis direction to choose from either Z forward or -Z forward This was not a in-depth test but I thought you deserved some feedback to let you know you are getting real close to the finish line... P.S. If you have or know of a tutorial on attaching a camera to the head bone, that would help... EDIT2: I noticed that the Model's Z forward axis is facing the correct direction but the player model is not in the 3D viewport. The model is still facing -Z forward which is opposite of the Leadwerks default player. I do know if this is a problem or not. I will not know till, I can test in the animation in the game engine. You might have already tested attaching a camera to the head bone of the player model. Please inform me if you have... When you export a model through the FBX exporter It also changes the z direction of the model as well. This is shown in one of my uploaded pictures.The player model animation might now play correctly in the game engine because even though the model is facing -z forward the direction of the Z axis is Z forward. Though to keep things as simple as possible it would be better to have the model facing the same Z forward direction. This gets back to the choice of Z axis direction to choose for the user in the exporter... All the above is for your consideration of course and what is possible in scripting the exporter. I will keep posting my edits here in this post...
  8. A heads up for the Admin... When you click on the store in the top headers, you are taken to the forums page.
  9. digman

    Imagination

    Imagination... The brain's greatest asset... Whether creating a game engine as Josh has done, programming or creating a game plus artwork in general, imagination is the most basic nature of a human being.. This 3D WIP humanoid concept started out as a 3D sphere and evolved into what it is now at it's present stage... Artistic direction is what we need in a game or piece of art to keep us on track but it is always first from our imagination... What you see, you can create!
  10. Lets not jump to conculsions so quickly... The store could be offline for any number of reasons, The services that collects the money, has problems or updating this section of the website with a new collection service. I think Josh would give a heads up if everything was going to steam as is it would effect us here who have the standalone version. Josh is pushing steam of course with his current vision of creating a community of users sharing resources through the workshop. It's not a bad idea, he has to make money and steam can be a big revenue generator. I just rather take a wait and see approach till there is an official word on the future of standalone versions which there has been no word from Josh that he was abandoning the standalone version,.
  11. Yep, first the beta has to be tested by the steam beta testers, then it is given to the regular steam leadwerks users to see if a larger group of users encounter any bugs and last of all us Standalone user gets the final compiled new version. So far I seen Josh give at the most a couple days notice on a possible release for the standalone updated version barring any unexpected bugs appearing. I consider this normal behaviour for a developer...
  12. It appears that 1-4 are all solved now... I will test some more but so far so good. --------------------------------------------------------------------------------------------------------------- Now moving on to a more complex rig animation and the problems encountered there... Problem 1: The exporter exports the control bones just not the deformation bones attached to the mesh vertices. These control bones are not needed in the exported file as no mesh vertex information is written for them. They are just control bones and it's normal to have these in a rig for animating purposes. Most of the time in Blender you do not see the control bones as they have been replaced by control bone shapes but the bones are still there. In my blend file the control bones have yet to be replaced by control bone shapes. -------------------------------------------------------------- The FBX exporter so far on my rigs only exports the deformation bones attached to the mesh vertices. It also has a selection to only select the deformation bones in it's exporter options. The problem for the Leadwerks exporter is shown in the image "exporter man,". The top 8 bones which are control bones. The FBX exporter exports the bones as shown in "FBX man" and only the deforming bones attached to the mesh vertices are exported. ------------------------------------------------------------- Side Note: This is a simple rig, a complex blender rig would have deformation bones plus separate FK and IK bones driving the deforming bones by constraints. For sure you would not want all these bones to be included in the export. The separate FK and IK bones are not attached to any mesh vertices but simply drive the deformation bones. The generated Rigify rig is set up this way. Not the Meta rig which is adjusted to first conform to your humanoid model. After you conform and attach the rigify meta rig to your mesh then you generate (under the armature tab) the real rig with all it's control bones shapes and FK and IK bones. The purpose of this is so you can blend FK and IK animation using the same rig. I am adding this information here just to be safe as you might know this information already. --------------------------------------------------------------- Problem 2: Since the exporter is exporting the control bones as well, it might be screwing up the mesh. That is a possible cause of the stretching of the mesh shown in the model editor window. (image "exporter man" If that is not the problem then it would be problem 3... ---------------------------------------------------------------- Problem 3: You can not adjust the axis orientation of your model in the Blender exporter settings. You can do this in the FBX exporter settings. In the Model editor the animation plays the opposite direction as it is played in Blender. The man instead of squatting, rises instead... ----------------------------------------------------------------- Problem 4: This relates to problem 3: Since you can not adjust the axis orientation this creates the problems describe. Examine the model on the far right of the image "axis" this is how the current Blender exporter for Leadwerks exports the axis orientation in the model from Blender. The middle image is how the FBX exporter exports the model axis orientation after adjusting the axis in the FBX exporter settings. The FBX exporter axis settings are shown on the far left of the same image. Y is up and Z is forward. which is the default for Leadwerks, shown in the picture "Leadwerks axis". This is true not just for the default Leadwerks player model but the CSG brushes as well. ------------------------------------------------------------------ Problem 5: This also relates to the above. When creating your own player model with a camera attached to the head bone you need the correct axis, otherwise your player walks backwards. I would imagine it would affect the NPC players as well. I think it would be best for all models static and animated to be exported with the correct leadwerks axis orientation. ------------------------------------------------------------------ I have no problems with the FBX animation exporting on this more complex rig and animation. The animation is correct, exported bones are correct and the adjusted axis orientation is also correct. This is for your information. ----------------------------------------------------------------- I have included the blend file and fbx file used for testing. As always let me know if the zip files appear incorrect or missing parts. Note : Hover your cursor over a uploaded image to see the image file name in my post here. Note2: Again sorry for the Linux model editor errors on animated meshes. Nothing I can do about that but the animations do play as stated before. Note3: In my rig, I have off turned the IK modifier for the arms but not for the the legs . The purpose of this rig is to have FK on the top of the model and IK for the legs. Only the control bones and FK bones that are needed appear, the rest are hidden on other bone layers. Note4: I noticed that the bone hierarchy is setup different from the FBX export. The difference is shown in the two images "exporter man and FBX man". Note5: I need to make you aware that when you get the correct axis orientation the male model will appear in the model editor facing away from you. I think the possible reason for this is most of the default models included in Leadwerks do not have the default Leadwerks axis orientation. It might be possible that Josh just adjusted the model editor to reflect the models axis orientation so they would be facing you in the model editor. You would have to ask him as I am only making a quess here. This is only a model editor axis facing deal. It does not effect the animation in the model editor or the main scene as the model has the correct axis orientation in the main 3D viewport scene. --------------------------------------------------------------------- Male model not shown for texture or normal map quality but just for testing animated model exporting. --------------------------------------------------------------------- Sorry for the long winded post, lots to cover and got to love screen sharing when available over typing in a number of cases... man2.zip
  13. This will go with my other posted report a few hours ago. I went ahead and did a complete clean install of Leadwerks. Same problems. I am still running Ubuntu 12.04 LTS and not 14.04 as I waiting on the official release update for 14.04 through the update manager. As stated in other posting I could do it through the terminal but rather wait. Maybe the cause of some problems. An update: If I select "all actions" in the exporter options then the animation is exported. Now this could be because I opened the action editor and it creates a default action which now needs to be exported. Next, I will test exporting an animation without opening the action editor using the same simple model but a new Blender scene so I have a clean slate. Update2: I created an animation without opening the action editor. The animation was not exported when not selecting "all actions" in the exporter options Update3: I opened the action editor and selected ArmatureAction, the default action that Blender creates. Now I can export the animation without selecting "all actions" in the exporter options. Go figure... ----------------------------------------------------------------------------------------------------------------------------------- Now to the other problem which could be Leadwerks related only. When I get the Blender exported animated model into Leadwerks using the exporter, the model has no scene lighting on it either in the model editor or the main scene. I have to reapply the material in the model editor choosing Surface 0. Upon saving in the model editor the the scene lighting on the model is seen in the editor but the icon in the asset window goes blank. When I reopen the model editor it is blank. The model is there, I imagine but is invisible. If I place the model in the scene the wireframe is seen but the model itself is invisible in the 3D viewport. I have none of these problems with using the FBX format for exporting animations just to let you know. My head is starting to spin around with all this stuff happening so I hope it is some help to you even if it is confusing.
  14. Linux Blender 64 bit, 2.70A First, I got the animations working correctly but then at times exporting the same animation to a different folder the animation is not exported. Also I have to reapply the material mat before the model picks up on the scene lighting. I can not though make this an official bug report as Linux Leadwerks has a a few possible bugs that have been reported. When the new Linux update is ready I will retest to see if is a leadwerks problem or a exporter problem. I think by that time the addon will be released but testing can still happen of course. FBX animation works perfectly everytime just to give you a heads up. I will include the blend file and FBX file if you care to test. The FBX file needs it textures to be set up manually in the material editor. In the blend file I forgot to set the step to "step=1" it is set on 5. Be sure to change it back before exporting the animation. I was just testing and forgot to make the change before saving the blend file. Also you can open up the action editor to see the animation line with keyframes. Very simple 4 bone animation for testing purposes, 24 frames and only 2 keyframes. I like to keep things simple first, solve problems there and then move on to more complex testing. I found most times that a simple test can help solve a problem without having all the overhead of a complex test first. If your testing has no problems then I would think that is possible that my Leadwerks is not functioning properly. I will do a complete clean install when the new update is released. --------------------------------------------------------------------------------------------------------------------- Last topic... Since Keyframes are set on extremes, passing positions and inbetweens, Those are your major keyframes that are the underlying base of your animations. Other keyframes are added of course. Question... Does the Steppng ignore set keyframes and only interpolate the frames between the keyframes of your animation. This is important to know. Desktop.zip
  15. Linux Blender version 2.70A. I am aware as you stated that real keyframes are not being written. I am going by the animated sequence numbers in the model editor. When I use step=1 the sequence numbers are the same as my animation keyframes. When I use step=2 the sequence numbers are halve. Question... Does that mean that every other keyframe in my animation is not being written to the bone matrix info or is it just an internal optimizing of the keyframes for the full matrix info for each bone or in other words a form of interpolation to reduce overhead. What do you consider a long animation. A walk cycle can be about 24 frames but you will have lots of character animations in the same Leadwerks model file. You will call each animation sequence range as needed from the script. I am not a programmer but I know you call for the sequence number range in a script. ------------------------------------------------------------ I am having a few problems exporting some animations out of Blender but will make sure It is not user error before posting here tomorrow. Also right now with the Leadwerks linux model editor not rendering the entire model but only part of the animated model depending upon which sequence number is being playing, it's hard to see what is really going on. I really do hope that is fixed in the next update. By the way, a big thanks for the implementing the specular Intensity channel in the exporter without having to select the color channel as well in the influence tab.
  16. First, thanks for replying to these reports... About texture placement This was a user error on my part. My user created files appear when I navigate to the Documents / Leadwerks / MyGame / Models folder. I was by mistake navigating to the install folder of Leadwerks instead. Leadwerks writes to the Documents folder your user created folders and not the install folder. Your relpy made cause me to think ok what is going on here, I knew about the documents folder but had a memory lapse... "About Specularmap" I am not quite sure what you are asking here... I uploaded an image to show you that the specular map is correctly set in Blender under the influence tab. The color and normal map are correctly checked as well under the influence tab (not shown in the picture). Check the 3 textures yourself under the influence tab in my blend file and you will see all three textures are correctly set. Edit: Ok, I think I understand now and will check color as well as intensity for the specular map under the influence tab and then report back here... Edit 2: If I also check color for the specular texture under the influence tab then the specular is put in texture slot 2 in the material mat file. This is correct. By default Blender adds the intensity check mark for imported models that have a specular texture. The creature model was imported from 3DCoat with a diffuse, normal and specular map. I had assumed the exporter would recognize the intensity channel as well for a specular map... The color channel under the influence tab affects the influence of specular color on glossy surfaces by the scene lamps (lights). This I do not think would have any effect in leadwerks as you are just trying to export the specular map as is. As long as the the specular map is correctly exported either by the specular intensity or color channel, then I do not think it matters but the user would need to know that he has to check the color channel and the intensity channel would be the incorrect choice as far as the exporter is concerned. This though would cause you to have to check the color channel on all imported models that have a specular texture map. If the exporter can also just recognize the intensity channel that would be helpful and save time for the Blender user.
  17. Test 2: I noticed in the exported material file when using the Blender exporter, that the exporter puts the specular map in Texture slot 4 after the displacement slot instead of slot 2 which is the specular texture slot in Leadwerks. In order to test this I renamed the texture files to Color \ Normal \ Specular in Blender. In Blender the files are setup correctly. Blender sees them as color, normal and specular maps respectively. Image included of the material mat file created by the exporter. I also included the blend file with the textures packed into the blend file. Let me know if they are not. Very simple model from 3DCoat used to test. I created a normal map but did not add any details but it still a normal map. EDIT::: Ah I found the problem the material mat file uses just the "diffuse+normal shader instead of the diffuse+normal+ specular shader. I had seen that but just did not connect the dots... So it appears for now the exporter does not recognize the specular map in Blender as being a spec map and add the correct shader in the exported material mat file. creature.blend.zip
  18. 2.70A Blender Linux version, 64 bit. Default Blender Render (not Cycles) Everthing appears to be working correctly in the exporter as far as exporting the model and texture files. I included a image of the files that are exported (bottom image). I left the texture names at Blender's default. What appears not to be work correctly is that the exporter only sees the default model folders under "My Game\Models" Any added user model folders do not appear. You can not export directly to a user created model folder created under Leadwerks. This could be working in Windows but does not seem to be working in the Linux version. I included a image showing only the default "My Game" folders, my user created model folders do not appear in the list when using the Blender exporter. Also I included a image of my user created My Game\ Models\ Creature folder after importing the model and textures by copying and pasting the said exported files into my Leadwerks Creature folder. All the necessary files are created. Another small test>>> Choosing " Export only Selected Objects " in the Exporter options works correctly. It was an overall simple test...
  19. No problems in the Linux version of Blender 2.70A. I add the folder titled "io_scene_leadwerks" under Blender's Scripts / Addon folder. The Leadwerks exporter is there in the export options. Test tommorrow on how it works...
  20. Yes, I posted about the bug in this dual bug report which included the refresh problem. It effects the Linux standalone 3.1 version as well. http://www.leadwerks.com/werkspace/topic/9869-linux-31-standalone-newest-update-auto-material-creation-not-working/ "Second bug: The asset new folder I created is not refresh anymore as well. I have to select another model folder and then return to the folder I created to see the model and texture files in the asset new folder's window. This was not the case before update."
  21. A Linux milestone for Leadwerks! Hard development work got you there...
  22. Today after installing a complete clean install of Leadwerks 3.1 Standalone Linux, I downloaded the Phobia project. Ran the Project and was getting the solid vertical sync 60 FPS. I changed one light color and reduced the bump extrusion on one normal map under the normal map texture editor window. After saving the map locally on my hard drive then running the project, (not debug) FPS was cut in half again. It was 30 FPS. I followed the same workflow as stated in my first post. It appears that saving a map for some reason causes the FPS to drop. This is all the current information I have on what could be at least causing some of the problems with the FPS drop.
  23. digman

    Blender Character Rig

    The problem with rigify is the amount of bones it has after you generate the true rig from the meta rig. The WGT bones, you are advised to delete after generating the rig. Unity advises this course of action. Tearing apart a pre made complex rig can be done but seems like it would lead to headaches. Blender's rigging is not bad and I tried a few. Person opinion here, Rigify is great for regular animations for which is was created for.
  24. The animation pipeline continues to established. This time using Blender's animation tools and the rig I created to make a walk cycle. We needed to start testing some animations in Leadwerks. Rick will test soon and according to his information we can find tune and figure out any problems. The rig has only the control bones now showing. Next is to create the control shapes and those will hide the control bones. I am glad the old days of just having paper manuals is history. Manuals are good but Youtube with tons of Blender tutorials really helps. Yes you have to hunt and peck through a lot tutorials but you find some real nuggets. I also have an CG Cookie account... I was thinking about how much it cost to make a game from just the artistic software and game engine software. Leadwerks $200 or $99 Blender-- Free Wings3D--Free XNormal Free Gimp or Krita Free 3DCoat professional version $360 DDO Indie version $250 Total $810. add another $190 for loose ends and you get a total of $1000. Now of course I can be missing stuff, like for coding so pipe in and give a price for coding software. Also you could spend tons more on software as there is ZBrush, Maria, Substance Painter, 3DMAX and a slew of others. Software cost money but a great team is priceless!
  25. The models I tested have single materials... It is just a bug or drivers, it appears to be.
×
×
  • Create New...