Convert Patch to Model


(pazur) #1

Does anybody know how to convert a patch from GtkRadiant to a model?

I know the -convert feature of q3map2 but it doesn’t take patches with it :confused:

Patches don’t clip properly in my map… so I need to create manual clipping or insert a model with autoclipping.


(ydnar) #2

Take the patch(es) you’d like to bake into a model and put them in a caulk box. Compile the map with the tesselate option (I don’t recall offhand what the specific switch is), and then use the -convert command to convert the compiled BSP into an ASE model.

You’ll still need to build a clipping hull for the patches, however. The clipping hull generated from a model is pretty naive—simple extruded triangles.

Randy


(Zer0Cool) #3

Try Q3Map2Toolz

AFAIK you can convert all *.map to *.ase with it, you just have to compile it BSP before converting.


(pazur) #4

Thanks a lot ydnar! I’m experimenting with giving the patch a clip texture as well… doing the clipping via autoclip & model would be a nice solution IMHO, but if you say it’s too navie then I do the clipping hull manually.


(-SSF-Sage) #5

For all of you, who has been missing patches during process of converting ase; compile bsp with -patchmeta.


(pazur) #6

I had no luck so far, even with patchmeta… I give it another try.


(pazur) #7

So… if I use -patchmeta all the patches are gone :frowning:


(-SSF-Sage) #8

I compiled the ase thing just like normally. First bsp and add -patchmeta there, then compile convert ase, restart radiant and it works. What this does is it “bakes” the lod of the patches, according to the manual, which means the patch looks same from far away, if you use patchmeta. So that’s why, I don’t suggest it for using on normal bsps, but for ases with patches, it’s a must.


(pazur) #9

-patchmeta didn’t work for me. I have no clue why. Meanwhile I created precise clip brushes around the patches that solve the problem (i had the idea to export patches and import them as a model that has autoclip).