Page 1 of 2

Gothic 4 .bakedgeom

Posted: Tue Dec 27, 2011 5:18 am
by zardalu
The contents of this post was deleted because of possible forum rules violation.

Re: Gothic 4 .bakedgeom

Posted: Fri Jan 06, 2012 7:16 pm
by jacquel
what is this model tools? :wink:
thanks

Re: Gothic 4 .bakedgeom

Posted: Fri Jan 06, 2012 10:51 pm
by finale00
And do they come with source. The format looks pretty straightforward but that's because I'm skipping over lots of stuff.

Image

Re: Gothic 4 .bakedgeom

Posted: Sat Jan 07, 2012 1:17 am
by zardalu
Sorry, I was working with Two Worlds 2 files at the same time as the Arcania stuff and got mixed up with Szkaradek123's TW2 tools. I was working with too many meshes to keep them all straight. Karpati's 3D model Converter is the only tool that I know of that can convert Arcania .model files, but there is no skeletal mesh information, and the .bakedgeom static meshes are not supported. Excellent work, finale00!

Re: Gothic 4 .bakedgeom

Posted: Sat Jan 07, 2012 5:00 am
by finale00
Upload the textures for these models.
Or at least, upload some models along with their textures.

After that, there's just one section I'm completely skipping but it looks like it gets the geometry out properly.

Re: Gothic 4 .bakedgeom

Posted: Sat Jan 07, 2012 9:10 am
by Tosyk
great work finale00,
also, there is any way to convert bones/weights along with the models?

Re: Gothic 4 .bakedgeom

Posted: Sat Jan 07, 2012 2:19 pm
by finale00
I'm assuming when it says "staticmesh" it means there are no bones.
I don't know what the other file is like.

Re: Gothic 4 .bakedgeom

Posted: Sat Jan 07, 2012 3:39 pm
by Tosyk
finale00 wrote:I'm assuming when it says "staticmesh" it means there are no bones.
I don't know what the other file is like.
sorry, my mistake, if you can please take a look on the characters models too

p.s.: if need i can make new theme.

Re: Gothic 4 .bakedgeom

Posted: Sat Jan 07, 2012 5:53 pm
by zardalu
The contents of this post was deleted because of possible forum rules violation.

Re: Gothic 4 .bakedgeom

Posted: Sun Jan 08, 2012 2:45 am
by finale00
Hmm so first, the skeletalmesh is fortunately a completely different format but OBJ versions are there so I'm guessing it's been done (I would like source for that so I don't have to look at it myself). The format is not hard but I don't understand bones ATM so I can only parse it, get the geometry out, and do nothing with the bones but leave it there in a method and hope that will be filled out in the future.

Second, the staticmesh.

Image

http://db.tt/7qodb3eF

Noesis plugin. Will need Sanae3D package in sig (although I don't think I actually used anything from it this time besides initializing some variables that aren't used anyways). Only so that I don't have to remove a couple lines of code and re-write a couple lines of code myself.

There seems to be issues trying to apply a really large texture.

I don't really understand materials so not sure what normal and specular textures do, but added them to the materials. They don't seem to be loading up though (I think)

There are different vertex types for the bakedgeom. So far I've found two from the samples provided (32 and 36 bytes), but don't know if there are more. If there are more, noesis will either crash or give you an error. If it crashes send the model to me (or just figure out the vertType and add it yourself if it's faster)

If you look at the parse_mesh method, you'll notice I skipped 260 bytes.
I'm not sure if that applies to all models, nor do I know what it is.

I have also flipped the y/z axis (I think that's what the transformation does) in the parse_vertices method.

Re: Gothic 4 .bakedgeom

Posted: Mon Feb 20, 2012 3:30 am
by Tosyk
finale00, can you explain how to load py for arcania in noesis, every time I'm getting Sanae error, but i have Sanae.py in my "noesis\plugins\python" directory

thanks

Re: Gothic 4 .bakedgeom

Posted: Mon Feb 20, 2012 3:44 am
by CriticalError
you need create a folder called Sanae3D into python path for make it work, gl

Re: Gothic 4 .bakedgeom

Posted: Mon Feb 20, 2012 4:32 am
by Tosyk
CriticalError wrote:you need create a folder called Sanae3D into python path for make it work, gl
thanks, it works now
but without uv?

Re: Gothic 4 .bakedgeom

Posted: Mon Feb 20, 2012 4:39 am
by finale00
Here try this one. I've removed the dependence on Sanae3D package.
Textures assumed to be stored in the same folder as the model.

http://db.tt/7qodb3eF

Re: Gothic 4 .bakedgeom

Posted: Mon Feb 20, 2012 5:22 am
by Tosyk
finale00 wrote:Here try this one. I've removed the dependence on Sanae3D package.
Textures assumed to be stored in the same folder as the model.

http://db.tt/7qodb3eF
anyway i can't load uv, trying this objects