PDA

View Full Version : When to "Pop" and when to "Push" when building a meshtree


sapper
27-05-10, 01:40
I've designed a flowchart to help determine when to "Pop" and when to "Push" and when to "Pop" and "Push" when building a new moveable object with Wadmerger's Meshtree Editor.

Included in the zip are 4 pdf files.

The flowchart, a blank worksheet to use with the flowchart and the two completed worksheets shown below which serve as examples.

The idea is to print off a worksheet, draw your meshtree on it then use the flowchart to construct the meshtree structure and complete the list on the worksheet.

In the worked examples I use 1, 2, 3 for the mesh structure instead of "Pop" and "Push" and "Pop" and "Push" respectively, since I will release a program that will use the numbers but you can write "Pop" or "Push" or "Pop" and "Push" which are also indicated by the flowchart.

Also, Josep Borrut's TR Wad Reorganizer (see trle.net) uses the numbers.

MeshTreeKit.zip (http://www.4shared.com/file/oYQjlCK-/MeshTreeKit.html) 219kB

sapper
27-05-10, 01:40
http://i214.photobucket.com/albums/cc94/nnn59/meshtree/MTFlowChart.jpg

sapper
27-05-10, 01:41
In this post (http://www.tombraiderforums.com/showpost.php?p=4222950&postcount=1) WhiteTiger wanted to add a skirt to a moveable.

I assumed the moveable had the same meshtree as Lara_Skin and used the flowchart to determine what changes had to be made to the meshtree.

The first picture is the meshtree for Lara_Skin and the second picture shows how the structure would need to be changed to add the skirt.

http://i214.photobucket.com/albums/cc94/nnn59/meshtree/MTexample1.jpg

http://i214.photobucket.com/albums/cc94/nnn59/meshtree/MTexample2.jpg