Important information: this site is currently scheduled to go offline indefinitely by end of the year.
[PC] Devil May Cry 4
Devil May Cry 4
Hi there!
Texture coords may be funky sometimes because of different vertex formats on the same vertex buffer: this is crazy!
But these texture coords are being fixed and as you can see in this pic, the head is a HiRes model and it works pretty well.
Another thing to notice is that normals are still uncorrect, I don't know, 3ds max doesn't support them on OBJ files anyway. Maybe if you try the models on Maya to see...
This work is still in progress and I'll be posting the updated model converters as soon as I can, so stay tuned here on Xentax!!
Texture coords may be funky sometimes because of different vertex formats on the same vertex buffer: this is crazy!
But these texture coords are being fixed and as you can see in this pic, the head is a HiRes model and it works pretty well.
Another thing to notice is that normals are still uncorrect, I don't know, 3ds max doesn't support them on OBJ files anyway. Maybe if you try the models on Maya to see...
This work is still in progress and I'll be posting the updated model converters as soon as I can, so stay tuned here on Xentax!!
You do not have the required permissions to view the files attached to this post.
-
- veteran
- Posts: 115
- Joined: Sun Feb 08, 2009 5:45 pm
- Has thanked: 35 times
- Been thanked: 8 times
Re: [PC] Devil May Cry 4
All I did in Max for the normals was keep the Edit Mesh status and unified the Normals through the modifier panel.
It's not hassle at all, infact, it's pretty good considering the quick strides you're making for a converter.
And thank you, can really learn alot here.
It's not hassle at all, infact, it's pretty good considering the quick strides you're making for a converter.
And thank you, can really learn alot here.
Re: [PC] Devil May Cry 4
Nice to know you figured out the skeleton format!Surveyor wrote:Hey chrrox !!
You say the converter works for RE5??, I'd like to see that, but which version: PC, x360, ??
Poly, about the skinning and skeletons, yes I figured some of the data but when I tried to export to Max, it was a headache!! If you could show me a way to import this into max I'd be grateful!
Later!
Ohh! I just figured out that I didn't include any help file for the model exporter so here's the help: To use the exporter, it's better to place the .exe in the same directory as the model to be converted then type the name of this model et voila !!!
I'm not an expert on max myself, but I have a friend that once wrote a plug-in for it, he might be able to help.
Can you share some code that reads out all the relevant data for the vertices and skeleton?
-
- ultra-veteran
- Posts: 586
- Joined: Sun Jun 05, 2005 12:00 pm
- Location: Ontario, Canada
- Has thanked: 36 times
- Been thanked: 243 times
Re: [PC] Devil May Cry 4
The contents of this post was deleted because of possible forum rules violation.
Maxscript and other finished work I've done can be found on my DeviantArt account
Re: [PC] Devil May Cry 4
Hi there,
Here's a Direct3D stage viewer I'm coding right now and as you can see different texture layers now can be applied, still I need to take a lesson or two on shaders to make the final render with bump mapping and per pixel lighting and some more cool stuff. But before that I need to figure out where the lights are, and suddenly I noticed something! since RPGViewer3 can't handle extensions, there are some files with the same name and different extensions that get overwritten, example:
model.mod
model.sdl
model.col
in the end you get only the last model.col without extension!
Here's a Direct3D stage viewer I'm coding right now and as you can see different texture layers now can be applied, still I need to take a lesson or two on shaders to make the final render with bump mapping and per pixel lighting and some more cool stuff. But before that I need to figure out where the lights are, and suddenly I noticed something! since RPGViewer3 can't handle extensions, there are some files with the same name and different extensions that get overwritten, example:
model.mod
model.sdl
model.col
in the end you get only the last model.col without extension!
You do not have the required permissions to view the files attached to this post.
-
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1422 times
Re: [PC] Devil May Cry 4
sdl contains a lot of information.
in resident evil 5 it contains enemy spawns, cutscene information, and lighting information.
in resident evil 5 it contains enemy spawns, cutscene information, and lighting information.
Re: [PC] Devil May Cry 4
Now textured ... Hey chrrox you are faster than me !!!!
You do not have the required permissions to view the files attached to this post.
Re: [PC] Devil May Cry 4
... and normal textures ...
You do not have the required permissions to view the files attached to this post.
Re: [PC] Devil May Cry 4
... specular mapping ...
You do not have the required permissions to view the files attached to this post.
Re: [PC] Devil May Cry 4
And lightmapping ....thank you
You do not have the required permissions to view the files attached to this post.
Re: [PC] Devil May Cry 4
Amazing! Will this viewer allow to make any changes or it is just for preview purposes?
Any news about the uvs issue and DM4model.exe? I've noticed that in one file, for example,
the face has no texture coordinates and the eyes and mouth have proper coordinates. Bizzare.
Any news about the uvs issue and DM4model.exe? I've noticed that in one file, for example,
the face has no texture coordinates and the eyes and mouth have proper coordinates. Bizzare.
-
- ultra-n00b
- Posts: 5
- Joined: Sun Jul 26, 2009 8:43 pm
- Has thanked: 1 time
- Been thanked: 2 times
Re: [PC] Devil May Cry 4
Surveyor,
I tested your Dmc4Model program, and noticed that you are improperly interpreting the face data.
Here is some sample code demonstrating how the faces should be read:
You should be skipping any time that the vertex indices are the same, and every other set of 3 is a backface.
I tested your Dmc4Model program, and noticed that you are improperly interpreting the face data.
Here is some sample code demonstrating how the faces should be read:
Code: Select all
unsigned short* faces; // array of face values
int face_data_length; // length of the array
...
bool backface = false;
for( int i = 0; i < face_data_length - 3; i++ ) {
unsigned short a = faces[i];
unsigned short b = faces[i+1];
unsigned short c = faces[i+2];
backface = !backface;
if( a != b && b != c && a != c ) {
if( backface ) {
printf( "f %d/%d %d/%d %d/%d\n", c,c,b,b,a,a );
} else {
printf( "f %d/%d %d/%d %d/%d\n", a,a,b,b,c,c );
}
}
}
Re: [PC] Devil May Cry 4
Awesome progress!
Any news on the model's skeleton front?
My offer to help is still up, I'm especially interested in that part!
Any news on the model's skeleton front?
My offer to help is still up, I'm especially interested in that part!