Hi Guys,
when i make .ase-models out of brushes created with NetRadiant, put them in a map and compile it, the textures on the models look all matt and flat whereas others are shown correctly. Additionally light emitting textures used in the models don't make any light. It seems that q3map2 is just picking a bitmap instead of a texture with shader while converting the "model.map" to "model.ase". So i took a look in the ase-file and found something like this:
Code: Select all
*MATERIAL 9 {
*MATERIAL_NAME "textures/shared_ex/light1_orange_3000"
*MATERIAL_CLASS "Standard"
*MATERIAL_DIFFUSE 1.000000 0.729000 0.376000
*MATERIAL_SHADING Phong
*MAP_DIFFUSE {
*MAP_NAME "textures/shared_ex/light1_orange_3000"
*MAP_CLASS "Bitmap"
*MAP_SUBNO 1
*MAP_AMOUNT 1.0
*MAP_TYPE Screen
*BITMAP "..\textures\shared_ex_src\light1_p.jpg"
*BITMAP_FILTER Pyramidal
}
}
and changed it to:
Code: Select all
*MATERIAL 9 {
*MATERIAL_NAME "textures/shared_ex/light1_orange_3000"
*MATERIAL_CLASS "Standard"
*MATERIAL_DIFFUSE 1.000000 0.729000 0.376000
*MATERIAL_SHADING Phong
*MAP_DIFFUSE {
*MAP_NAME "textures/shared_ex/light1_orange_3000"
*MAP_CLASS "Bitmap"
*MAP_SUBNO 1
*MAP_AMOUNT 1.0
*MAP_TYPE Screen
*BITMAP "..\textures\shared_ex\light1_orange_3000.jpg"
*BITMAP_FILTER Pyramidal
}
}
Now the model at least emits light, but still looks quake3-like flat. Is there anything i could do to let them look like the rest of the map, or should i use another model format?
convert map to ase:
Code: Select all
[q3map2] -v -game tremulous -fs_basepath ~/.unvanquished -fs_game pkg -threads 4 -meta -custinfoparms -keeplights model.map
[q3map2] -v -game tremulous -fs_basepath ~/.unvanquished -fs_game pkg -convert -format -ase model.bsp
map compile:
Code: Select all
[q3map2] -v -game tremulous -fs_basepath ~/.unvanquished -fs_game pkg -threads 4 -meta -custinfoparms -samplesize 32 [map]
[q3map2] -v -game tremulous -fs_basepath ~/.unvanquished -fs_game pkg -threads 4 -vis -saveprt [map]
[q3map2] -v -game tremulous -fs_basepath ~/.unvanquished -fs_game pkg -threads 4 -light -fast -shade -dirty -patchshadows -samples 2 -samplesize 32 -bouncegrid -bounce 1 -deluxe -lightmapsize 1024 -external [map]