kropcke
9th December 2002, 05:20
Howdy all...
Good to be here with my first post :smile:
Ummm, to jump right in, I'm gonna bring up texture linking for ase's.
I'm exporting geometry out of Maya (.obj) and converting it to .ase with http://udn.epicgames.com/pub/Content/ObjToASEConverter/ (thanx illbuddha).
The geometry shows up fine inside gtk...save for the dreaded "shader not found" texture.
I've looked through a few .ase pk3's and tried to glean what I could from them concerning shader writing. This is my shader:
models/mapobjects/castle1/castle_base1
{
q3map_nonplanar
q3map_forcemeta
q3map_clipModel
q3map_lightmapsamplesize 16
//q3map_lightmapaxis z
q3map_shadeangle 90
q3map_splotchfix
qer_editorimage models/mapobjects/castle1/castle_base1.tga
{
map models/mapobjects/castle1/castle_base1.tga
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
I suspect there's some conversion issues that I'm having - (given the shader is alright) with texture linking.
Is there something in the pipeline that I'm missing?
Maya->obj->converter->ase->gtk
Please help me to understand my foolish ways - I will be eternally grateful.
Thanx in advance!
Have a cool day.
[edit]
NEVERMIND.
GOT IT :smile:
[end_edit]
-kropcke
<font size=-1>[ This Message was edited by: kropcke on 2002-12-09 17:53 ]</font>
Good to be here with my first post :smile:
Ummm, to jump right in, I'm gonna bring up texture linking for ase's.
I'm exporting geometry out of Maya (.obj) and converting it to .ase with http://udn.epicgames.com/pub/Content/ObjToASEConverter/ (thanx illbuddha).
The geometry shows up fine inside gtk...save for the dreaded "shader not found" texture.
I've looked through a few .ase pk3's and tried to glean what I could from them concerning shader writing. This is my shader:
models/mapobjects/castle1/castle_base1
{
q3map_nonplanar
q3map_forcemeta
q3map_clipModel
q3map_lightmapsamplesize 16
//q3map_lightmapaxis z
q3map_shadeangle 90
q3map_splotchfix
qer_editorimage models/mapobjects/castle1/castle_base1.tga
{
map models/mapobjects/castle1/castle_base1.tga
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
I suspect there's some conversion issues that I'm having - (given the shader is alright) with texture linking.
Is there something in the pipeline that I'm missing?
Maya->obj->converter->ase->gtk
Please help me to understand my foolish ways - I will be eternally grateful.
Thanx in advance!
Have a cool day.
[edit]
NEVERMIND.
GOT IT :smile:
[end_edit]
-kropcke
<font size=-1>[ This Message was edited by: kropcke on 2002-12-09 17:53 ]</font>