Vartotojo vardas:
Slaptažodis:
Prisiminti:
Paslėpti:
 

Visos datos yra UTC + 2 valandos [ DST ]




Naujos temos kūrimas Atsakyti į temą  [ 4 pranešimai(ų) ] 
Autorius Žinutė
 Pranešimo tema: Ogre XML eksportavimas is max 3d
StandartinėParašytas: 2010-07-30 10:00:23 
Atsijungęs

Užsiregistravo: 2010-07-30 09:14:31
Pranešimai: 2
Sveiki, eksportuoju is maxo ogre xml formatu, gaunu du failus, pvz eksportuoju eilini melyna kuba: Kubas.material ir Kubas.mesh.xml, taciau kai juos isikeliu i jMonkey (pavyzdys kaip turi veikti: http://www.youtube.com/watch?v=nL7woH40i5c) ir paleidziu man neatvaizduoja material, atvaizduoja pati kuba, taciau be material. Kodel neranda Kubas.material failo?


Kubas.material failo kodas:

material 01-Default
{
technique
{
pass
{
ambient 0.0392157 0 1 1
diffuse 0.0392157 0 1 1
specular 0 0 0 1 10
}

}

}


Kubas.mesh.xml failo kodas:

<mesh>
<submeshes>
<submesh material="01-Default" usesharedvertices="false" use32bitindexes="false" operationtype="triangle_list">
<faces count="12">
<face v1="0" v2="1" v3="2" />
<face v1="3" v2="4" v3="5" />
<face v1="6" v2="7" v3="8" />
<face v1="9" v2="10" v3="11" />
<face v1="12" v2="13" v3="14" />
<face v1="15" v2="16" v3="17" />
<face v1="18" v2="19" v3="20" />
<face v1="21" v2="22" v3="23" />
<face v1="24" v2="25" v3="26" />
<face v1="27" v2="28" v3="29" />
<face v1="30" v2="31" v3="32" />
<face v1="33" v2="34" v3="35" />
</faces>
<geometry vertexcount="36">
<vertexbuffer positions="true" normals="true" texture_coord_dimensions_0="2" texture_coords="1">
<vertex>
<position x="-39.3577" y="5.30693e-007" z="22.1408" />
<normal x="0" y="-1" z="0" />
<texcoord u="1" v="1" />
</vertex>
<vertex>
<position x="-39.3577" y="5.30693e-007" z="2.14084" />
<normal x="0" y="-1" z="0" />
<texcoord u="1" v="0" />
</vertex>
<vertex>
<position x="-19.3576" y="5.30693e-007" z="2.14084" />
<normal x="0" y="-1" z="0" />
<texcoord u="0" v="0" />
</vertex>
<vertex>
<position x="-19.3576" y="5.30693e-007" z="2.14084" />
<normal x="0" y="-1" z="0" />
<texcoord u="0" v="0" />
</vertex>
<vertex>
<position x="-19.3576" y="5.30693e-007" z="22.1408" />
<normal x="0" y="-1" z="0" />
<texcoord u="0" v="1" />
</vertex>
<vertex>
<position x="-39.3577" y="5.30693e-007" z="22.1408" />
<normal x="0" y="-1" z="0" />
<texcoord u="1" v="1" />
</vertex>
<vertex>
<position x="-39.3577" y="20" z="22.1408" />
<normal x="0" y="1" z="0" />
<texcoord u="0" v="1" />
</vertex>
<vertex>
<position x="-19.3576" y="20" z="22.1408" />
<normal x="0" y="1" z="0" />
<texcoord u="1" v="1" />
</vertex>
<vertex>
<position x="-19.3576" y="20" z="2.14084" />
<normal x="0" y="1" z="0" />
<texcoord u="1" v="0" />
</vertex>
<vertex>
<position x="-19.3576" y="20" z="2.14084" />
<normal x="0" y="1" z="0" />
<texcoord u="1" v="0" />
</vertex>
<vertex>
<position x="-39.3577" y="20" z="2.14084" />
<normal x="0" y="1" z="0" />
<texcoord u="0" v="0" />
</vertex>
<vertex>
<position x="-39.3577" y="20" z="22.1408" />
<normal x="0" y="1" z="0" />
<texcoord u="0" v="1" />
</vertex>
<vertex>
<position x="-39.3577" y="5.30693e-007" z="22.1408" />
<normal x="0" y="0" z="1" />
<texcoord u="0" v="1" />
</vertex>
<vertex>
<position x="-19.3576" y="5.30693e-007" z="22.1408" />
<normal x="0" y="0" z="1" />
<texcoord u="1" v="1" />
</vertex>
<vertex>
<position x="-19.3576" y="20" z="22.1408" />
<normal x="0" y="0" z="1" />
<texcoord u="1" v="0" />
</vertex>
<vertex>
<position x="-19.3576" y="20" z="22.1408" />
<normal x="0" y="0" z="1" />
<texcoord u="1" v="0" />
</vertex>
<vertex>
<position x="-39.3577" y="20" z="22.1408" />
<normal x="0" y="0" z="1" />
<texcoord u="0" v="0" />
</vertex>
<vertex>
<position x="-39.3577" y="5.30693e-007" z="22.1408" />
<normal x="0" y="0" z="1" />
<texcoord u="0" v="1" />
</vertex>
<vertex>
<position x="-19.3576" y="5.30693e-007" z="22.1408" />
<normal x="1" y="0" z="0" />
<texcoord u="0" v="1" />
</vertex>
<vertex>
<position x="-19.3576" y="5.30693e-007" z="2.14084" />
<normal x="1" y="0" z="0" />
<texcoord u="1" v="1" />
</vertex>
<vertex>
<position x="-19.3576" y="20" z="2.14084" />
<normal x="1" y="0" z="0" />
<texcoord u="1" v="0" />
</vertex>
<vertex>
<position x="-19.3576" y="20" z="2.14084" />
<normal x="1" y="0" z="0" />
<texcoord u="1" v="0" />
</vertex>
<vertex>
<position x="-19.3576" y="20" z="22.1408" />
<normal x="1" y="0" z="0" />
<texcoord u="0" v="0" />
</vertex>
<vertex>
<position x="-19.3576" y="5.30693e-007" z="22.1408" />
<normal x="1" y="0" z="0" />
<texcoord u="0" v="1" />
</vertex>
<vertex>
<position x="-19.3576" y="5.30693e-007" z="2.14084" />
<normal x="0" y="0" z="-1" />
<texcoord u="0" v="1" />
</vertex>
<vertex>
<position x="-39.3577" y="5.30693e-007" z="2.14084" />
<normal x="0" y="0" z="-1" />
<texcoord u="1" v="1" />
</vertex>
<vertex>
<position x="-39.3577" y="20" z="2.14084" />
<normal x="0" y="0" z="-1" />
<texcoord u="1" v="0" />
</vertex>
<vertex>
<position x="-39.3577" y="20" z="2.14084" />
<normal x="0" y="0" z="-1" />
<texcoord u="1" v="0" />
</vertex>
<vertex>
<position x="-19.3576" y="20" z="2.14084" />
<normal x="0" y="0" z="-1" />
<texcoord u="0" v="0" />
</vertex>
<vertex>
<position x="-19.3576" y="5.30693e-007" z="2.14084" />
<normal x="0" y="0" z="-1" />
<texcoord u="0" v="1" />
</vertex>
<vertex>
<position x="-39.3577" y="5.30693e-007" z="2.14084" />
<normal x="-1" y="0" z="0" />
<texcoord u="0" v="1" />
</vertex>
<vertex>
<position x="-39.3577" y="5.30693e-007" z="22.1408" />
<normal x="-1" y="0" z="0" />
<texcoord u="1" v="1" />
</vertex>
<vertex>
<position x="-39.3577" y="20" z="22.1408" />
<normal x="-1" y="0" z="0" />
<texcoord u="1" v="0" />
</vertex>
<vertex>
<position x="-39.3577" y="20" z="22.1408" />
<normal x="-1" y="0" z="0" />
<texcoord u="1" v="0" />
</vertex>
<vertex>
<position x="-39.3577" y="20" z="2.14084" />
<normal x="-1" y="0" z="0" />
<texcoord u="0" v="0" />
</vertex>
<vertex>
<position x="-39.3577" y="5.30693e-007" z="2.14084" />
<normal x="-1" y="0" z="0" />
<texcoord u="0" v="1" />
</vertex>
</vertexbuffer>
</geometry>
</submesh>
</submeshes>
<submeshnames>
<submeshname name="submesh0" index="0" />
</submeshnames>
</mesh>


Į viršų
 Aprašymas Siųsti laišką  
 
 Pranešimo tema: Re: Ogre XML eksportavimas is max 3d
StandartinėParašytas: 2010-07-30 01:27:42 
Atsijungęs
Vartotojo avataras

Užsiregistravo: 2010-07-08 01:19:45
Pranešimai: 107
Tai gal materialus reikia užkrauti atskirai?

_________________
Nerijus 'nightvisio' Ramanauskas
http://www.miracleintermedia.com/ | http://twitter.com/MI_TCH_NR/
nr@miracleintermedia.com


Į viršų
 Aprašymas Siųsti laišką  
 
 Pranešimo tema: Re: Ogre XML eksportavimas is max 3d
StandartinėParašytas: 2010-07-30 03:04:02 
Atsijungęs

Užsiregistravo: 2010-07-30 09:14:31
Pranešimai: 2
Viskas susitvarke. Atsisiunciau updatus JMonkey ir viskas pradejo veikti.


Į viršų
 Aprašymas Siųsti laišką  
 
 Pranešimo tema: Re: Ogre XML eksportavimas is max 3d
StandartinėParašytas: 2010-08-08 03:24:29 
Atsijungęs
Vartotojo avataras

Užsiregistravo: 2010-07-08 01:19:45
Pranešimai: 107
.

_________________
Nerijus 'nightvisio' Ramanauskas
http://www.miracleintermedia.com/ | http://twitter.com/MI_TCH_NR/
nr@miracleintermedia.com


Į viršų
 Aprašymas Siųsti laišką  
 
Rodyti paskutinius pranešimus:  Rūšiuoti pagal  
Naujos temos kūrimas Atsakyti į temą  [ 4 pranešimai(ų) ] 

Visos datos yra UTC + 2 valandos [ DST ]


Dabar prisijungę

Vartotojai naršantys šį forumą: Registruotų vartotojų nėra ir 1 svečias


Jūs negalite kurti naujų temų šiame forume
Jūs negalite atsakinėti į temas šiame forume
Jūs negalite redaguoti savo pranešimų šiame forume
Jūs negalite trinti savo pranešimų šiame forume
Jūs negalite prikabinti failų šiame forume

Ieškoti:
Pereiti į:  
Mes naudojam: phpBB © 2008