|
Author
|
Message
|
but0fc0ursee
|
but0fc0ursee
Posted 8 Years Ago
|
|
Group: Banned Members
Last Active: 8 Years Ago
Posts: 595,
Visits: 1.7K
|
4u2ges (7/15/2017) ...you have no idea what you are talking about :) You are a big expert in 3D but please try to read carefully and understand before posting something. How can I have a delta if the program crashes before it has a chance to create it..I'd never use that... I use the following plugins... "Wrap-it and Morph-it." These plugins (Change) the source to match the object. (Simular objects... can't morph a pig into a caterpillar.) ...problem solved. But... I know one thing for sure... Lord Ashes made it work and provided the code. I know how picky scripts can be. One or more of the vital parameters are not met.
|
|
|
|
|
Lord Ashes
|
Lord Ashes
Posted 8 Years Ago
|
|
Group: Forum Members
Last Active: Last Year
Posts: 1.3K,
Visits: 1.6K
|
4u2ges (7/15/2017) I must be doing something wrong. I apologize that it does not seem to be working for you. I definitely tested it and it should work. However, I may know the issue (although error messages does not seem related): The Morph Builder creates files called Morph.??.Source.obj but you are using these for input which may be causing the problem. Try renaming you OBJ files to something other than Morph.??.Source.obj or Morph.??.Delta.obj because the MorphBuilder will create these. For example (as shown in the Tutorial): MorphBuilder.exe Source.obj Morph01.obj Morph02.obj Morph03.obj (I will try this with your files and see if it works for me)
"We often compare ourselves to the U.S. and often they come out the best, but they only have the right to bear arms while we have the right to bare breasts" Bowser and Blue, Busting The Breast
|
|
|
|
|
Lord Ashes
|
Lord Ashes
Posted 8 Years Ago
|
|
Group: Forum Members
Last Active: Last Year
Posts: 1.3K,
Visits: 1.6K
|
but0fc0urseeI'd never use that... I use the following plugins... "Wrap-it and Morph-it." These plugins (Change) the source to match the object. (Simular objects... can't morph a pig into a caterpillar.) Are these Blender plugins for plugins for something else? I have a feeling that my tool and these plugins do slightly different things but it sounds like the plugins you are referring to might be something that I was looking for earlier. Correct me if I am wrong, the plugin that you are suggesting will take two meshes and try to morph one into the other. Probably compensating for differences in vertices and faces. If so, that is great and it was something I was looking for a while back but my tool is for something different. My tool is for the specific case when you are making multi stage transitional morphs. This is basically the process of applying one morph after another (with the previous morphs stay applied). An example of this is the ring in the video Tutorial. As such morph is applied, the ring opens more and more. However, because the previous morphs stay applied, the next morph needs to be a Delta morph in order to work correctly (a Delta morph is basically a morph with the previous morphs subtracted out). If you are trying to create a simple single stage morph then you don't need this tool at all. Please note that an object with multiple morphs does not necessarily mean that the object is a multi stage morph object. For example, all the CC character morphs (as far as I know) are single stage morphs. A character can have many of these but the morphs are independent. Sure, you can apply more than one at the same time but none of them rely on a previous morph being applied. A practical example of multi stage morphs (beyond that of the abstract ring tutorial) is my Skydiver content ( https://city.reallusion.com/ContentPreview.aspx?i=JICf938acb93e362c6b9). The parachute is a multi stage morph because it can transition from packed to pilot chute deployed, to deployed to deployed with limp pilot chute. Obviously something like the Deployed with Limp Pilot Chute morph is dependent on the previous Deployed morph. But as the Deployed with Limp Pilot Chute it is not practical to remove the Deployed morph, so Delta Morphs needs to be used in construction of the morphs otherwise the deploy, for example, will be double applied.
"We often compare ourselves to the U.S. and often they come out the best, but they only have the right to bear arms while we have the right to bare breasts" Bowser and Blue, Busting The Breast
|
|
|
|
|
Lord Ashes
|
Lord Ashes
Posted 8 Years Ago
|
|
Group: Forum Members
Last Active: Last Year
Posts: 1.3K,
Visits: 1.6K
|
OK. It seems that I made an assumption which does not seem to be always true. My software that generates OBJ files always creates a "g" (group) entry. However, the provided sample files do not have such this entry (I guess it is optional within the OBJ file format) and thus when the vertecies were to be added to the last group, it generated the error (because there was not group to add the vertecies to). I have modified the source code and binaries to automatically create a default group if one is not provided. If one is provided, it still uses that group name instead. I ran the new version against the provided files and it had not errors. Found the error. New version at: (Source Code): http://www.mediafire.com/?e76zykp98im7y(Windows Binaries) http://www.mediafire.com/?e76zykp98im7yOnce again, my apologies for the assumption. EDIT: Updated link to binaries. I accidentally repacked the old binary so this is the update the points to the new binary. File version is 1.0.1.0
"We often compare ourselves to the U.S. and often they come out the best, but they only have the right to bear arms while we have the right to bare breasts" Bowser and Blue, Busting The Breast
|
|
|
|
|
Lord Ashes
|
Lord Ashes
Posted 8 Years Ago
|
|
Group: Forum Members
Last Active: Last Year
Posts: 1.3K,
Visits: 1.6K
|
but0fc0ursee (7/15/2017)Is the source and delta a "slightly reformatted" version of the source? The source files that are generated (i.e. Morph.??.Source.OBJ) should be the same as your original input files but slightly reformatted. No V, VT, VN and F changes, just the file is written in a specific order and each section's count is summarized by a comment. The Delta Morphs are created by subtracting out the previous morphs. This is why it does not matter if you use Morph.00.Source.OBJ or Morph.00.Delta.OBJ as the base because they are identical (i.e. since the base has no previous morphs there are no morphs subtracted out and thus the Source and Delta are the same). Yes, I could have added some code to delete one of the Morph.00 files (since they are both the same) but I didn't bother. Each successive morph file is first re-arranged and written out as Morph.??.Source.OBJ and then the previous morphs are subtracted and the result is saved as Morph.??.Delta.OBJ.
After running the MorphBuilder you will want to use either the Morph.00.Source.OBJ or Morph.00.Delta.OBJ as the base (in 3DXChange or Morph Creator) and then add each of the Morph.??.Delta.OBj files (except the Morph.00 base file obviously). I can not explain it but when I used my original source file with the Delta Morphs, it did not want to work in 3DXChange (didn't get a chance to try with Morph Creator) but when I use the Morph.00.Source.OBJ file as the base in 3DXchange, it works fine (even though the content should have the same V, VT, VN and F data).The Morph.??.Source.OBJ files can be deleted. I generate them only for troubleshooting purposes. For example, if the morphs don't seem to work, you can open each one to see the V, VT, VN and F count. All files (the base and morphs) should have the same V, VT, VN and F count. If not, the morph source is not a proper morph file for the given base.
but0fc0ursee (7/15/2017)What about the smoothing groups? As far as I know, OBJ file format does not have support for smoothing groups or at least it does not have support for smoothing parameters. The OBJ file does have a "g" (group) entry (which software may use for the basis of smoothing groups) which the MorphBuilder preserves. Similarly the VT, VN and F data remains the same. Most software (iClone/3DXChange included) don't load VT and VN data when applying morphs. The original VT and VN data is used.
"We often compare ourselves to the U.S. and often they come out the best, but they only have the right to bear arms while we have the right to bare breasts" Bowser and Blue, Busting The Breast
|
|
|
|
|
4u2ges
|
4u2ges
Posted 8 Years Ago
|
|
Group: Forum Members
Last Active: Last Month
Posts: 5.3K,
Visits: 16.8K
|
Please see my PM Lord Ashes.
|
|
|
|
|
4u2ges
|
4u2ges
Posted 8 Years Ago
|
|
Group: Forum Members
Last Active: Last Month
Posts: 5.3K,
Visits: 16.8K
|
This is awesome! I finally did compile your project (have not done that for a while) and it works as expected. It is now properly computing consecutive morphing. Thanks a lot! PS do not forget to change binary download as it is still an old version :)
|
|
|
|
|
Lord Ashes
|
Lord Ashes
Posted 8 Years Ago
|
|
Group: Forum Members
Last Active: Last Year
Posts: 1.3K,
Visits: 1.6K
|
I am glad we got it working. If other people experience trouble with the tool, do not hesitate to PM me. There may be additional directives that I have not supported (which are not generated by my OBJ writing software). In such a case, you can PM me and provide me with a sample mesh file and I will see if I can update the builder to support additional directives.
I'm thinking of adding a generic fallback for any data that the builder, it would just collect it and then write it out the same way in the exported files. Maybe I'll do that if other missing directives are found.
"We often compare ourselves to the U.S. and often they come out the best, but they only have the right to bear arms while we have the right to bare breasts" Bowser and Blue, Busting The Breast
|
|
|
|
|
4u2ges
|
4u2ges
Posted 8 Years Ago
|
|
Group: Forum Members
Last Active: Last Month
Posts: 5.3K,
Visits: 16.8K
|
Thanks again Lord for your efforts!
|
|
|
|
|
Lord Ashes
|
Lord Ashes
Posted 7 Years Ago
|
|
Group: Forum Members
Last Active: Last Year
Posts: 1.3K,
Visits: 1.6K
|
It seems that the link have expired for free access. If anyone is interested (before I get the software hosted somewhere else), just PM me and I can e-mail it to you.
"We often compare ourselves to the U.S. and often they come out the best, but they only have the right to bear arms while we have the right to bare breasts" Bowser and Blue, Busting The Breast
|
|
|
|