View Single Post
Old 11-02-11, 11:00 AM   #556
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by TheBeast View Post
Well hopefully, the work you have been doing with 3D Studeo and Reading GR2 files. You will be able to take a existing GR2 Model and replace the internal Gr2 3D Model with a new 3D Model and specify new Textures in the GR2 as well.

Does a 3D Model contain AO, UV Map info? Haven't really dug that deep with Hex Editor yet.
A GR2 file is highly customizable (and it's this high level of customization that is causing me grief with the app). It can include a multitude of items. You could have 3 texture channels if you wanted it. If you use GrannyViewer to view a GR2 file it will show you everything you could want to know about it. Most of the VertexData for SH5 has two texture channels - one for the texture (UV) and the second for the AO. The GR2 file doesn't use specific names for each texture channel. They seem to be able to be called anything. I've seen MaxChannel 1 and 2, AdditionalChannel 1 and 2, etc.

Come to think about it I need to add a renderer for the texture channels in the app so one can see them in a 2D image

My app will spit out a TON of debug output that will tell you where it found/read everything. You can use this output to go directly to that place in file and make changes if you wish. I haven't added the ability to edit that data from the app yet.
TheDarkWraith is offline   Reply With Quote