The 3D-FirstPersonExample with lightmaps and shaders in v1085b projects directory is very interesting, but i can't find how were converted the FPS Creator Metro Theater level files to obtain the mesh files (.obj, .jpg) and .png ligthmaps in /media...
The _load_world subroutine don't give any information
_load_world:
rem Shaders
shaderindex=1
LoadShader(shaderindex,"vertex.vs","pixel.ps")
`
rem Load lightmaps
dim lm[10]
lm[0]=LoadImage("0.png")
lm[1]=LoadImage("1.png")
for t=0 to 1
SetImageWrapU(lm[t],1)
SetImageWrapV(lm[t],1)
next t
rem Load all OBJ making up world (created in FPS Creator)
objmax=50
for obj=1 to objmax
obj$="mesh"+str(obj)+".obj"
LoadObject(obj,obj$,0)
if obj>=1 and obj<=7
tex$="mesh"+str(obj)+"-1.jpg"
else
tex$="mesh"+str(obj)+"-0.jpg"
endif
texname$=left(tex$,len(tex$)-4)
lm$=right(texname$,1)
if lm$="-" then lm$="0"
teximg=LoadImage(tex$)
SetImageWrapU(teximg,1)
SetImageWrapV(teximg,1)
SetObjectImage(obj,teximg,0)
SetObjectImage(obj,lm[val(lm$)],1)
SetObjectShader(obj,shaderindex)
`
rem Progress status
perc#=obj
perc#=perc#/objmax
perc=perc#*100
SetTextString(1,"Metro Theatre - "+str(perc)+"%") : Sync()
next obj
return
Is there anybody who can help about the process and tools used ?
Thank you