FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Exporting Slab Geometry (or how to keyframe everything)

Post new topic   Reply to topic    blastcode.com Forum Index -> BlastCode
View previous topic :: View next topic  
Author Message
Site Admin

Joined: 04 Nov 2005
Posts: 342

PostPosted: Fri Nov 06, 2009 5:49 pm    Post subject: Exporting Slab Geometry (or how to keyframe everything) Reply with quote

This procedure requires blast code megaton.

Blast code generates two types of geometry: debris and damage. Debris geometry can be key framed, eliminating the need for the blastcode plug-in, and then exported to any other platform. However, this is not the case for damage geometry. Damage geometry requires the blastcode plug-in, because damage geometry has changing polygon counts and deformation. Unfortunately, there are currently no standard formats for defining this type of geometry that we are aware of. To get around this problem, we convert everything to debris.

The following method will allow you create key framed geometry independent of the blast code plug-in, and still use much of blast code's functionality in your simulation. This is a two step process.

Step 1 - Converting everything to debris geometry

Setup your slab with the desired fracture map, and set the following parameters found under Primary Debris attributes:

Debris Tensile Option: Pressure
Debris Damping: 0
Debris Random Rotation: 0

Attach a pressure explosive. We use a pressure explosive, because we do not want to deform any of the geometry. Make the pressure explosive big enough so effects the entire slab. The goal here is to convert all the damage geometry into debris geometry. Run the simulation, all the slab damage geometry should become debris geometry and stay stationary.

Record the simulation, and then Key frame the debris geometry. This will create a new group called PrimaryGroup. This is found under the Layer Debris group. Run the simulation until all debris is visible, and then duplicate the group, without the input graphs. You will now have a new visible group of debris objects without attached animation curves completely independent of blastcode. Then delete the key framed PrimaryDebris groups found under Debris. This is necessary because of name duplication issues.

Step 2 - Use debris as glue objects

One of the big blastcode myths is that it can only be used with Nurbs. Nurbs are used as control surfaces, because they can convey more information to the simulation than a polygon surface.

First perform some house cleaning.

1) Set the scene record mode to off
2) Create a new target layer, and hide the original slab layer.
3) Convert your explosive into a deform explosive

Select all your debris objects and attach them as glue objects. Run the simulation, and tweak your explosive as necessary. You should now have exploding debris. Once you are happy with your sim, record, and then key frame the glue objects.

The key framed glue objects do not rely on the blast code plug-in and can now be exported at will.

This procedure has been successfully tested on Blast Code "Megaton" 1.5
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    blastcode.com Forum Index -> BlastCode All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group
Blast Code, Inc. (c) Copyright 2006
Terms of Use | Privacy Statement