Post Topic: Re: how to add the joint for jointed breakables
Posted 11.06.2012, 20:00
Quote by angjminer:
does not go in depth about creating a jointed breakable object, only describes adding the joint, refer to the documentation for a more detailed description. oh yea add your custom properties via the menu, not the add custom properties button in the properties panel for the object.
Could you post the blend file you used for this video? (if you still have it)
I have some Questions, its not working when I try it. I watched your Tutorials on Youtube, but its very difficult for me to get everything you say, plus the movie is somehow displaced, it doesnt fit the sound (may be my fault).
I have Blender 2.63, thats what I did:
- Downloaded this: newspage.php?news=91281 - Moved the folder to Blender-directory and activated within Blender - Opened my model, merged it down to one object, named it "109" - Created a new Material, named it "Rumpf__1__mat__physDefault" - Created a new Texture, named it mat, set to Image and loaded my Picture(.dds), unwrapping stuff etc. - created a new CryExportNode, named it "109" - Export to Game, checked settings: CGF, do not merge, Compiler, run RC.. - I open the console and start exporting - The console says:
Code:
>>>> 109 vert loc took 1.5585 sec. normals took.... found uv texture uvs took.... polylist took....
C:\Users........ <-[Folder where the .dae is created in] Traceback (most recent call least): File "C:\Programm Files......Blender 2.63.....scripts\addons\io_export_cryblend\__init__.py", line 671, in execute return export.save(self, context,exe) File "C:\Programm Files......Blender 2.63.....scripts\addons\io_export_cryblend\export.py", line 2845, in save exp.execute(self, context,exe) .......some others, just like the two above...... WindowsError: [Error87] Wrong parameter location: (unknown location):-1 location: (unknown location):-1
In the end I have a dae file, but no cfg files. I also have no Folder called "Objects" in the "game" Folder of CryEngine, there is just a Objects.pak, do I have to extract it? Hope ypu can help me to get that working
I have some Questions, its not working when I try it. I watched your Tutorials on Youtube, but its very difficult for me to get everything you say, plus the movie is somehow displaced, it doesnt fit the sound (may be my fault).
I have Blender 2.63, thats what I did:
- Downloaded this: newspage.php?news=91281 - Moved the folder to Blender-directory and activated within Blender - Opened my model, merged it down to one object, named it "109" - Created a new Material, named it "Rumpf__1__mat__physDefault" - Created a new Texture, named it mat, set to Image and loaded my Picture(.dds), unwrapping stuff etc. - created a new CryExportNode, named it "109" - Export to Game, checked settings: CGF, do not merge, Compiler, run RC.. - I open the console and start exporting - The console says:
Code:
>>>> 109 vert loc took 1.5585 sec. normals took.... found uv texture uvs took.... polylist took....
C:\Users........ <-[Folder where the .dae is created in] Traceback (most recent call least): File "C:\Programm Files......Blender 2.63.....scripts\addons\io_export_cryblend\__init__.py", line 671, in execute return export.save(self, context,exe) File "C:\Programm Files......Blender 2.63.....scripts\addons\io_export_cryblend\export.py", line 2845, in save exp.execute(self, context,exe) .......some others, just like the two above...... WindowsError: [Error87] Wrong parameter location: (unknown location):-1 location: (unknown location):-1
In the end I have a dae file, but no cfg files. I also have no Folder called "Objects" in the "game" Folder of CryEngine, there is just a Objects.pak, do I have to extract it? Hope ypu can help me to get that working
It is most likely a geometry error. The rc.exe will not process your dae file, because of some geometry problem in Blender.
If you get something like the message, in rc.log:
Code:
E: 1> 0:00 Failed to compile geometry in node 'Cube' in file C:\BLENDER\house\cubes.dae - CalculateTangentSpace() failed, fix model. E: 1> 0:00 E: 1> 0:00 ErrorCode:3 E: 1> 0:00 E: 1> 0:00 Vertices 0,1,2 lie on the same line v0:(-1.000000 : -1.000000 : 1.000000) v1:(0.499999 : -1.000000 : 1.000000) v2:(0.999999 : -1.000000 : 1.000000) E: 1> 0:00 E: 1> 0:00 Reason: three vertices of a face are laying on the same line. Run the Select Degenerate Faces Script and fix any highlighted vertices. E: 1> 0:00 E: 1> 0:00 Failed to convert file C:\BLENDER\house\cubes.dae
Pay attention to Vertices 0,1,2 lie on the same line v0.
This is might be because of a bug triangulating ngons, that do not create the correct connections between polygons, and creates empty faces and coincident edges. As of 2.63 r46461:46487M.
If you use 2.62 for modeling you will not have these problems with geometry, but you need to use 2.63 to export. Or do not leave multiple vertices on a straight edge.
I am new the Cryblend so this helps alot thanks for making this. I have gone through the basic tutorails on the blender site but how do I put more than one texture on to the model, I can only apply one colour or texture so my guy looks like he is made out of cloth.
Thanks! I forgot to set the path to the resource compiler...now I have some other questions:
- How many vertices can be exported at once (in one object) - I have succesfully exported my object, but when I open it in the engine it looks like a sphere.
- How many vertices can be exported at once (in one object)
Some 67000 or something, do not remember the exact number.
Quote by CrunchGFX:
- I have succesfully exported my object, but when I open it in the engine it looks like a sphere.
Then there is a problem with the geometry, you cgf file has been created, but with errors, so you cannot use it. Could you post your blend file? (rar or zip it), or post your rc.log
Thanks for the vertices, the original object had way to many vertices, so I had to split the object in diferent parts. Do I have to build the model in the engine part by part, or can I group them that they stick together? This is from my log:
Code:
ResourceCompiler 32-bit Version 3.4.0.3696 Apr 13 2012 14:32:06
Copyright (c) 2001-2011 Crytek GmbH. All rights reserved.
Platforms specified in rc.ini: pc (little-endian) x360 (big-endian) ps3 (big-endian)
Started at: Wed Jun 13 22:53:09 2012 0:00 Memory: working set 4.6Mb (peak 4.6Mb), pagefile 3.0Mb (peak 3.0Mb) 0:00 Registering sub compilers (ResourceCompiler*.dll) 0:00 Searching for C:\Users\Hannes\Desktop\CryENGINE_PC_v3_4_0_3696_freeSDK\Bin32\rc\ResourceCompiler*.dll 0:00 Loading "C:\Users\Hannes\Desktop\CryENGINE_PC_v3_4_0_3696_freeSDK\Bin32\rc\ResourceCompilerImage.dll" 0:00 Loading "C:\Users\Hannes\Desktop\CryENGINE_PC_v3_4_0_3696_freeSDK\Bin32\rc\ResourceCompilerImage.dll" 0:00 Loaded "ResourceCompilerImage.dll" 0:00 Registered convertor for tif 0:00 Registered convertor for srf 0:00 Registered convertor for dds 0:00 Loading "C:\Users\Hannes\Desktop\CryENGINE_PC_v3_4_0_3696_freeSDK\Bin32\rc\ResourceCompilerPC.dll" 0:00 Loaded "ResourceCompilerPC.dll" 0:00 Registered convertor for cga, cgf 0:00 Registered convertor for chunk 0:00 Registered convertor for chr 0:00 Registered convertor for caf, cba 0:00 Registered convertor for dae, dae.zip 0:00 Loading "C:\Users\Hannes\Desktop\CryENGINE_PC_v3_4_0_3696_freeSDK\Bin32\rc\ResourceCompilerXML.dll" 0:00 Registered convertor for dds 0:00 Loading "C:\Users\Hannes\Desktop\CryENGINE_PC_v3_4_0_3696_freeSDK\Bin32\rc\ResourceCompilerPC.dll" 0:00 Registered convertor for xml 0:00 0:00 Loaded "ResourceCompilerPC.dll" 0:00 Registered convertor for cga, cgf 0:00 Registered convertor for chunk 0:00 0:00 CPU cores: 4 available (4 in system). 0:00 Logical processors: 4 available (4 in system). 0:00 /processes was not specified. Not spawning processes. 0:00 /threads was not specified. Using up to 1 thread. 0:00 0:00 Memory: working set 8.3Mb (peak 8.3Mb), pagefile 5.9Mb (peak 6.0Mb) 0:00 Loaded "ResourceCompilerXML.dll" 0:00 Registered convertor for xml 0:00 1> 0:00 File='109.dae' 1> 0:00 Loading XML... 0:00 CryCompressorRC.dll loaded 0:00 Registered convertor for pak, zip 0:00 Memory: working set 8.3Mb (peak 8.3Mb), pagefile 5.9Mb (peak 6.0Mb) 0:00 0:00 CPU cores: 4 available (4 in system). 0:00 Logical processors: 4 available (4 in system). 0:00 /processes was not specified. Not spawning processes. 0:00 /threads was not specified. Using up to 1 thread. 0:00 0:00 Memory: working set 8.4Mb (peak 8.4Mb), pagefile 5.9Mb (peak 6.0Mb) 0:00 Spawning 1 thread 0:00 1> 0:00 ------------------------------------------------------- 1> 0:00 File='109.dae' 1> 0:00 Loading XML... 1> 0:00 Finished loading XML. 1> 0:00 1> 0:00 Finished loading XML. 1> 0:00 1> 0:00 1> 0:00 1> 0:00 Processing 'CryExportNode_Rumpf' 1> 0:00 1> 0:00 1> 0:00 Processing 'CryExportNode_Rumpf' 1> 0:00 1> 0:00 Finished loading 'C:\Users\Hannes\Desktop\spiel\Modelle\109fertig\109.dae' 1> 0:00 1> 0:00 1> 0:00 Finished loading 'C:\Users\Hannes\Desktop\spiel\Modelle\109fertig\109.dae' 1> 0:00 1> 0:12 862 artifacts in physicalised render geometry (Me109), one or more meshes are not manifold, try converting the physicalised render geometry to a manifold physics proxy if you experience problems in game. 1> 0:12 862 artifacts in physicalised render geometry (Me109), one or more meshes are not manifold, try converting the physicalised render geometry to a manifold physics proxy if you experience problems in game.
1 file processed in 11.9 sec. 1 file processed in 11.9 sec.
Memory: working set 14.4Mb (peak 88.8Mb), pagefile 12.0Mb (peak 407.3Mb)
the original object had way to many vertices, so I had to split the object in diferent parts. Do I have to build the model in the engine part by part, or can I group them that they stick together? This is from my log:
Code:
1> 0:00 Processing 'CryExportNode_Rumpf' 1> 0:00 1> 0:00 1> 0:00 Processing 'CryExportNode_Rumpf' 1> 0:00 1> 0:00 Finished loading 'C:\Users\Hannes\Desktop\spiel\Modelle\109fertig\109.dae' 1> 0:00 1> 0:00 1> 0:00 Finished loading 'C:\Users\Hannes\Desktop\spiel\Modelle\109fertig\109.dae' 1> 0:00 1> 0:12 862 artifacts in physicalised render geometry (Me109), one or more meshes are not manifold, try converting the physicalised render geometry to a manifold physics proxy if you experience problems in game. 1> 0:12 862 artifacts in physicalised render geometry (Me109), one or more meshes are not manifold, try converting the physicalised render geometry to a manifold physics proxy if you experience problems in game.
As of now you cannot group several cgfs together, you have to do that in the editor, but I hope that we will have that function after Angjminer gets bones working.
About your file, so from what I understand you are splitting your model into multiple parts, then these parts have to become separate cgf files after exporting, I only see one CryExportNode in your log "CryExportNode_Rumpf". Have you assigned a separate node for every part?
And as you can see you have an error message in the log
Code:
1> 0:12 862 artifacts in physicalised render geometry (Me109), one or more meshes are not manifold, try converting the physicalised render geometry to a manifold physics proxy if you experience problems in game.
So technical question is then, having holes in objects. How does the engine react? Terrible Idea? can i live with it? or definitely need to patch up all the holes?
Also has anyone experienced strange face shading issues? I can literally see the quads/triangles. instead of one solid face with openings.
So technical question is then, having holes in objects. How does the engine react? Terrible Idea? can i live with it? or definitely need to patch up all the holes?
for physics it is bad, if need the holes use a physics proxy.