Hey, I keep getting Shrink Wrap Collision.
I'm using 3ds max 2010,
2 Seperate Shapes, both 8 vertex. one square one editible meshed pyramid.
I selected the editable meshed pyramid and attached it to the other cube.
then applied texture, and export selected the collision mesh as MODEL-ref.
[highlight]QC FILE[/highlight]
[code]$modelname "bansheefnd\th\ps4\s2b.mdl"
$body mybody "s2b-ref.smd"
$staticprop
$surfaceprop brick
$cdmaterials "models\th\ps4\"
$sequence idle "s2b-idle.smd" loop fps 15
$collisionmodel "s2b-phys.smd" { $concave }
[/code]
[highlight]Guistudiomdl Spit[/highlight]
[code]Created command line: "C:\Program Files\Steam\steamapps\ptowery\sourcesdk\bin\orangebox\bin\studiomdl.exe" -dumpmaterials -fullcollide -game "C:\program files\steam\steamapps\ptowery\portal\portal" -nop4 -nox360 "C:\Users\Scrambles TDD\Documents\3dsMax\export\s2b.qc"
qdir: "c:\users\scrambles tdd\documents\3dsmax\export\"
gamedir: "C:\program files\steam\steamapps\ptowery\portal\portal\"
g_path: "C:\Users\Scrambles TDD\Documents\3dsMax\export\s2b.qc"
Building binary model files...
Working on "s2b.qc"
SMD MODEL s2b-ref.smd
material 0 0 2bcfc639
material 1 1 88a9fb09
material 2 2 33fa19cc
material 3 3 c074e018
SMD MODEL s2b-idle.smd
SMD MODEL s2b-phys.smd
material 4 4 d737c75d
material 5 5 8630eedf
material 6 6 aa3c33cd
material 7 7 5a58dd1b
material 8 8 3a7f6e44
material 9 9 97b120ee
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inGVY´}Y@ches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Error with convex elements of s2b-phys.smd, building single convex!!!!
Model has 1 convex sub-parts
Collision model completed.
---------------------
writing C:\program files\steam\steamapps\ptowery\portal\portal\models/bansheefnd\th\ps4\s2b.mdl:
bones 964 bytes (1)
animations 112 bytes (1 anims) (1 frames) [0:00]
sequences 220 bytes (1 seq)
ik/pose 164 bytes
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (0 flexes)
textures 268 bytes
keyvalues 0 bytes
bone transforms 0 bytes
Collision model volume 216018528.00 in^3
collision 0 bytes
total 2288
---------------------
writing C:\program files\steam\steamapps\ptowery\portal\portal\models/bansheefnd\th\ps4\s2b.vvd:
vertices 5088 bytes (106 vertices)
tangents 1696 bytes (106 vertices)
total 6848 bytes
---------------------
Generating optimized mesh "C:\program files\steam\steamapps\ptowery\portal\portal\models/bansheefnd\th\ps4\s2b.sw.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 36 bytes
strip groups: 100 bytes
strips: 108 bytes
verts: 954 bytes
indices: 420 bytes
bone changes: 40 bytes
everything: 1722 bytes
---------------------
Generating optimized mesh "C:\program files\steam\steamapps\ptowery\portal\portal\models/bansheefnd\th\ps4\s2b.dx80.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 36 bytes
strip groups: 100 bytes
strips: 108 bytes
verts: 954 bytes
indices: 420 bytes
bone changes: 40 bytes
everything: 1722 bytes
---------------------
Generating optimized mesh "C:\program files\steam\steamapps\ptowery\portal\portal\models/bansheefnd\th\ps4\s2b.dx90.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 36 bytes
strip groups: 100 bytes
strips: 108 bytes
verts: 954 bytes
indices: 420 bytes
bone changes: 40 bytes
everything: 1722 bytes
Completed "s2b.qc"
[/code]
[highlight]Studio MDL Settings[/highlight]
Orangebox - Portal
[/] Fullcollide
[/] No Preforce
[/] Dump Materials
The Collision is Shrink wrapped in Model viewer.
I followed the instructions on the Valve Devloper Community Website Carefully. What Went Wrong? Thanks.
Did you flip the normals on the collision model and apply a smooth modifier?
ehh, no. Please Explain.
[QUOTE=Banshee FrieNd;24453604]ehh, no. Please Explain.[/QUOTE]
In editable mesh mode, select all of the faces of your model, then click the 'Flip' button under 'Surface Properties'. This will flip the faces so they face inward. Once that's done, assign a 'Smooth' modifier and place it in a smoothing group by clicking one of the numbered buttons.
You got a picture of it? As I have no idea what your on about (though its probberly to do with the $concave that generally makes things more well... concave).
Thank you! This had been bothering me for a while. It's perfect now.
[QUOTE=Banshee FrieNd;24468927]Thank you! This had been bothering me for a while. It's perfect now.[/QUOTE]
[img]http://www.kagville.com/KAG_Graphics/Emoticons/List/high5.gif[/img]
[QUOTE=Banshee FrieNd;24468927]Thank you! This had been bothering me for a while. It's perfect now.[/QUOTE]
np :)
Sorry, you need to Log In to post a reply to this thread.