|
|
|
Tell us what you think of the site.
|
Autodesk Media & Entertainment User Community
|
Autodesk® 3ds Max®
|
|
Autodesk® Maya®
|
|
Autodesk® Softimage®
|
|
Autodesk® MotionBuilder®
|
|
Autodesk® Mudbox™
|
|
Autodesk® ImageModeler™
|
|
Autodesk® Sketchbook® Pro
|
|
Autodesk® Smoke on Mac®
|
|
Hi,
how do I create a model that contains glass in it?
Like a frame with window?
plz noob explain if possible
|
|
|
|
Model the frame.
Create a box or grid, and shape it like the glass.
Apply transparency and reflection.
That’s it basically.
|
|
|
|
What problem are you having?
I had mixed results… I couldn’t get my front doors to look properly, so I recreated them inside of hammer, and it looks/works much better.
In order to use the alpha channel (transparency), you need to add the following into your vmt file:
“$translucent” 1
I’m not sure if that works correcly with greyscale alphas. But when I just needed to key out the entire alpha, that worked perfect.
To make something breakable in hammer, convert the brush to a func_breakable entity. To make my door, I parented the glass to the door, so it could still open.
If you need to disable backface culling, use this in the vmt file:
“$nocull” 1
Anyone know how to make something partially transparent?
|
|
|
|
I’m from hl1, and in that time you could set a flag in hlmv to give a model transparancy.
for hl2, I didn’t even know if I had to do it in xsi, or the info of the qc file or in hlmv.
Zafar Iqbal, “Apply transparency and reflection.”, where do you mean in xsi?
Also in ins for example there’s a model with sunglasses where only the glasses are transparant, I look for something like that.
|
|
|
|
Oh crap.. lol - I didn’t see this thread was under Game Engine Interaction and Modeling.. ignore my reply.
n00bcakes for me :)
|
|
|
|
"for hl2, I didn’t even know if I had to do it in xsi, or the info of the qc file or in hlmv.”
None of the above.. I believe it’s the vmt you need.
For glasswindow005c.vmt:
“VertexLitGeneric”
{
“$translucent” 1
“$basetexture” “Glass/glasswindow005c”
“$surfaceprop” “glass”
}
I’ve ripped ep2’s map12a_hanger\glass05.mdl and decompiled it. (To learn how to rip models from Orange Box, see my other thread, where I ripped Heavy from TF2 - it involves Notepad ++)
The qc file:
$cd “C:\Program Files\Steam\steamapps\EXTRACTED\ep2”
$modelname “map12a_hangar/glass5.mdl”
$model “studio” “glass5.smd”
$cdmaterials “models\map12a_hangar\”
$hboxset “default”
// Model uses material “glasswindow005c.vmt”
$surfaceprop “default”
$sequence idle “idle” fps 30.00
$sequence explode1 “explode1” fps 30.00
$sequence explode2 “explode2” fps 30.00
$sequence exploded “exploded” fps 30.00
Notice that references the above vmt file.
|
|
|
|
thx I will look at it asap
|
|
|
|
|
|