Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Forza Motorsport Resource Extraction (.carbin)

Post questions about game models here, or help out others!
Dan Frederiksen
beginner
Posts: 38
Joined: Sun Mar 28, 2010 3:42 pm
Has thanked: 2 times

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by Dan Frederiksen »

Veegie, I know the situation.
smooth it, render it. show us. you got that? :)
with a polished material on and a contrast filled environment like an HDRi blue sky with white clouds on.
this is the critical test the geometry will have to pass for photorealism use. this will allow us to see just how critical it is.
Veegie
advanced
Posts: 66
Joined: Sun Apr 04, 2010 7:54 pm
Has thanked: 5 times
Been thanked: 4 times

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by Veegie »

Image
Render from 5ft away in a low contrast environment and the problem is quite noticeable.
Though I don't really know what this accomplishes.
The error is known and has been noted.
Dan Frederiksen
beginner
Posts: 38
Joined: Sun Mar 28, 2010 3:42 pm
Has thanked: 2 times

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by Dan Frederiksen »

Veegie, nice. thanks. some of it is probably just low poly count but there does appear to be some precision issue. maybe be forced to fix that if possible.
how about a full view from eye height? how bad is that
Veegie
advanced
Posts: 66
Joined: Sun Apr 04, 2010 7:54 pm
Has thanked: 5 times
Been thanked: 4 times

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by Veegie »

Image
Problem areas are near the door and the wheel well.
User avatar
Ernegien
mega-veteran
mega-veteran
Posts: 160
Joined: Wed Mar 24, 2010 6:27 am
Location: Illinois, USA
Has thanked: 12 times
Been thanked: 158 times
Contact:

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by Ernegien »

I'm fairly certain that we need to scale the position (or maybe the offset values relative to the origin) by some unknown value present in the section header. That would make the most sense, because the only scale we use now is 16-bit floats, but the header floats are all 32-bit and would provide an extra level of precision...
ajmiles
beginner
Posts: 32
Joined: Mon Jan 18, 2010 1:36 am
Been thanked: 6 times

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by ajmiles »

Image
Larger version: http://aj.uwcs.co.uk/f3/BMWNormals.png

As you might expect, normals are located in the 4 bytes immediately after the 2 Half4s. They're in the 11/11/10 format. There's some code here (adapted from the DirectX SDK) to extract the normalised vector from an unsigned integer: http://pastebin.com/1CRzBGQG.
User avatar
Ernegien
mega-veteran
mega-veteran
Posts: 160
Joined: Wed Mar 24, 2010 6:27 am
Location: Illinois, USA
Has thanked: 12 times
Been thanked: 158 times
Contact:

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by Ernegien »

Very nice man :), does this fix the smoothing problem we were having earlier?
ajmiles
beginner
Posts: 32
Joined: Mon Jan 18, 2010 1:36 am
Been thanked: 6 times

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by ajmiles »

I'm not sure what it'll fix, if anything.
User avatar
Ernegien
mega-veteran
mega-veteran
Posts: 160
Joined: Wed Mar 24, 2010 6:27 am
Location: Illinois, USA
Has thanked: 12 times
Been thanked: 158 times
Contact:

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by Ernegien »

Still nice nontheless :P
ajmiles
beginner
Posts: 32
Joined: Mon Jan 18, 2010 1:36 am
Been thanked: 6 times

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by ajmiles »

The first 3 floats in the unknown 14 floats are a positional offset per piece. I must have some axes messed up in my render as I have to treat them as yxz rather than xyz, but nonetheless, it all seems to be in place. The car ends up with about 3 rear wings and front bumpers all in the "correct" place. The wheel is still at the origin (as there's only one). I expect there's either wheel attachment data in the file somewhere or in a separate file.

EDIT:
Image
Last edited by ajmiles on Sat Apr 10, 2010 1:36 am, edited 1 time in total.
Veegie
advanced
Posts: 66
Joined: Sun Apr 04, 2010 7:54 pm
Has thanked: 5 times
Been thanked: 4 times

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by Veegie »

Object translation is done? Fantastic!
User avatar
Ernegien
mega-veteran
mega-veteran
Posts: 160
Joined: Wed Mar 24, 2010 6:27 am
Location: Illinois, USA
Has thanked: 12 times
Been thanked: 158 times
Contact:

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by Ernegien »

Confirmed, not exactly sure what to make of the flipped x y coords though :X For the wheels, there's probably some sort of wheelbase information since all you really need is width of car and length from center to front/back axles...

Here's my updated source with normals and correct positions aside from the wheel of course. I still need to work on selective exportation and getting the models to render properly...
You do not have the required permissions to view the files attached to this post.
Veegie
advanced
Posts: 66
Joined: Sun Apr 04, 2010 7:54 pm
Has thanked: 5 times
Been thanked: 4 times

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by Veegie »

Ernegien wrote:Confirmed, not exactly sure what to make of the flipped x y coords though :X For the wheels, there's probably some sort of wheelbase information since all you really need is width of car and length from center to front/back axles...

Here's my updated source with normals and correct positions aside from the wheel of course. I still need to work on selective exportation and getting the models to render properly...
Regarding the wheels, there should be a scaling part there too.
Typically the wheels in the back are scaled an inch larger than the fronts, but it seems there is only a single model.
Simon
mega-veteran
mega-veteran
Posts: 180
Joined: Sun Sep 20, 2009 5:41 pm
Has thanked: 31 times
Been thanked: 20 times

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by Simon »

What about UVs and Textures? :)
ajmiles
beginner
Posts: 32
Joined: Mon Jan 18, 2010 1:36 am
Been thanked: 6 times

Re: [Xbox 360] Forza 3 Resource Extraction Tool (.carbin)

Post by ajmiles »

I'm working on textures now. We may already have found the UVs, but without the textures it's difficult to know whether they are in fact UVs at all.
Post Reply