Forums Gallery Downloads LOGIN |REGISTER

cryblend 3.1 and up tutorials

Topics about 3DS Max, Maya, Photoshop, and various other software packages.


 

User avatar
martin.hedin
Developer
Developer
 
Posts: 321
Member since: 05.11.2011, 11:11
Location: Las Palmas, Spain / Stockholm, Sweden
Likes: 5

Re: how to add the joint for jointed breakables

Postby martin.hedin » 11.06.2012, 20:00

angjminer wrote: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)
CrunchGFX
Just getting started
Just getting started
 
Posts: 3
Member since: 08.06.2012, 16:04
Likes: 0

Re: cryblend 3.1 and up tutorials

Postby CrunchGFX » 11.06.2012, 22:43

Hi,

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: Select all
>>>> 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
User avatar
angjminer
Not my first Rodeo
Not my first Rodeo
 
Posts: 509
Member since: 02.11.2011, 01:48
Likes: 9

Re: cryblend 3.1 and up tutorials

Postby angjminer » 11.06.2012, 23:17

CrunchGFX wrote:Hi,

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: Select all
>>>> 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


follow the instructions on this page:
http://www.crydev.net/viewtopic.php?f=328&t=89611
and you have to create the folders, they can be named whatever you like.
hope this helps,
angjminer
User avatar
martin.hedin
Developer
Developer
 
Posts: 321
Member since: 05.11.2011, 11:11
Location: Las Palmas, Spain / Stockholm, Sweden
Likes: 5

Re: cryblend 3.1 and up tutorials

Postby martin.hedin » 13.06.2012, 00:39

To people who have trouble exporting.

If you get the following files

*.dae
*.dae.rcdone
*.mtl


but no *.cgf file.

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: Select all
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.

The bug is here: http://projects.blender.org/tracker/index.php?func=detail&aid=31807&group_id=9&atid=498

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.

To reproduce the bug, only in 2.63:
ngon1.jpg
Last edited by martin.hedin on 14.06.2012, 00:34, edited 1 time in total.
User avatar
martin.hedin
Developer
Developer
 
Posts: 321
Member since: 05.11.2011, 11:11
Location: Las Palmas, Spain / Stockholm, Sweden
Likes: 5

Re: cryblend 3.1 and up tutorials

Postby martin.hedin » 13.06.2012, 01:44

These tutorials are very important:

http://www.crydev.net/newspage.php?news=89611
User avatar
Support-Marine
Just getting started
Just getting started
 
Posts: 46
Member since: 11.04.2012, 12:25
Location: South Africa
Likes: 1

Re: cryblend 3.1 and up tutorials

Postby Support-Marine » 13.06.2012, 16:13

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.
User avatar
martin.hedin
Developer
Developer
 
Posts: 321
Member since: 05.11.2011, 11:11
Location: Las Palmas, Spain / Stockholm, Sweden
Likes: 5

Re: cryblend 3.1 and up tutorials

Postby martin.hedin » 13.06.2012, 22:30

About you question:
Just select a face, and apply material.

Or work with two separate meshes, with different materials, and join them CTRL+J, and you will get a single mesh with different materials.

For UV mapping
Google Blender UV Tutorials, and you should get something like this video:
[url]
http://www.youtube.com/watch?v=l-Zkt3uA ... re=related[/url]

If you are not sure what to search for you should go through these really:

http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro
CrunchGFX
Just getting started
Just getting started
 
Posts: 3
Member since: 08.06.2012, 16:04
Likes: 0

Re: cryblend 3.1 and up tutorials

Postby CrunchGFX » 13.06.2012, 23:14

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.
User avatar
martin.hedin
Developer
Developer
 
Posts: 321
Member since: 05.11.2011, 11:11
Location: Las Palmas, Spain / Stockholm, Sweden
Likes: 5

Re: cryblend 3.1 and up tutorials

Postby martin.hedin » 14.06.2012, 00:28

CrunchGFX wrote:- How many vertices can be exported at once (in one object)


Some 67000 or something, do not remember the exact number.

CrunchGFX wrote:- 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
CrunchGFX
Just getting started
Just getting started
 
Posts: 3
Member since: 08.06.2012, 16:04
Likes: 0

Re: cryblend 3.1 and up tutorials

Postby CrunchGFX » 14.06.2012, 07:48

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: Select all
   ResourceCompiler  32-bit
   Version 3.4.0.3696  Apr 13 2012 14:32:06
   
   Copyright (c) 2001-2011 Crytek GmbH. All rights reserved.
   
   Exe directory:
     "C:\Users\Hannes\Desktop\CryENGINE_PC_v3_4_0_3696_freeSDK\Bin32\rc\"
   Temp directory:
     "C:\Users\Hannes\AppData\Local\Temp\"
   Current directory:
     "C:\Program Files\Blender Foundation\Blender\"
   
   
   Command line:
     "C:\Users\Hannes\Desktop\CryENGINE_PC_v3_4_0_3696_freeSDK\Bin32\rc\rc.exe"
     "C:\Users\Hannes\Desktop\spiel\Modelle\109fertig\109.dae"
   
   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)
   
   Finished at: Wed Jun 13 22:53:21 2012
User avatar
martin.hedin
Developer
Developer
 
Posts: 321
Member since: 05.11.2011, 11:11
Location: Las Palmas, Spain / Stockholm, Sweden
Likes: 5

Re: cryblend 3.1 and up tutorials

Postby martin.hedin » 14.06.2012, 10:05

CrunchGFX wrote: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: Select all
   
   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: Select all
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.
Prodeous
Just getting started
Just getting started
 
Posts: 20
Member since: 22.06.2012, 19:28
Likes: 1

Re: cryblend 3.1 and up tutorials

Postby Prodeous » 28.06.2012, 22:27

I'm trying to figure out this manifold thing, as I too have this issue.. But right now just going blank.

Can someone provide me with more information/examples on what that means and how to solve it / avoid it?

thanks
User avatar
angjminer
Not my first Rodeo
Not my first Rodeo
 
Posts: 509
Member since: 02.11.2011, 01:48
Likes: 9

Re: cryblend 3.1 and up tutorials

Postby angjminer » 28.06.2012, 22:44

Prodeous wrote:I'm trying to figure out this manifold thing, as I too have this issue.. But right now just going blank.

Can someone provide me with more information/examples on what that means and how to solve it / avoid it?

thanks

manifold=completely enclosed------no holes
non-manifold means there is a hole somewhere
Prodeous
Just getting started
Just getting started
 
Posts: 20
Member since: 22.06.2012, 19:28
Likes: 1

Re: cryblend 3.1 and up tutorials

Postby Prodeous » 28.06.2012, 23:00

Ahh. Thanks.

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.
User avatar
angjminer
Not my first Rodeo
Not my first Rodeo
 
Posts: 509
Member since: 02.11.2011, 01:48
Likes: 9

Re: cryblend 3.1 and up tutorials

Postby angjminer » 28.06.2012, 23:06

Prodeous wrote:Ahh. Thanks.

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.


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community