Okay first up, download this. It has two models in here made by me.
[link removed, see below]
Now either ]summon a RebirthSafe or RebirthFlashlight (these are some items from my mod)
Or you can place things 20000 and 20001 in your map editor.
So what's the problem then?
You see... the angles seem to be reversed. For example, placing the thing facing south in your map editor will only make it face north in-game. If I set it to west, it'll face east in-game; north-west in editor, south-east in-game. Etc.
At first I thought I can get around it by making some angle adjustments in the 3-d model editor and see if it changes things. Well it doesn't change the fact that the angles are still reversed (so while it make LOOK correct initially, as the things turn around, it'll still have that reversed behaviour as I described earlier)
Your'e going on a vacation right Graf? I imagine this is an easy one-liner fix; if you're releasing a new version for Torm's Stronghold, can you include this fix? I can't work if the models don't appear as intended in-game...
[fixed] Model rotation bug
Moderator: Graf Zahl
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
[fixed] Model rotation bug
Last edited by Nash on Tue May 16, 2006 9:57, edited 1 time in total.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
How else can I prove it? Have you even tried downloading the wad and test it for yourself?
"The problem?"
Rotation is reversed.
"What makes you say that?"
When I place the thing facing south in DB, it faces north in-game.
"Can't you just fix that in the model editor?"
Okay, fair enough. I rotate the model 180 degrees and tried again. Okay, looks good. It's not facing south as intended.
BUT NOW - if I change the angle to SOUTH-WEST in DB... GUESS WHAT? It appears SOUTH-EAST!
Try it.
"The problem?"
Rotation is reversed.
"What makes you say that?"
When I place the thing facing south in DB, it faces north in-game.
"Can't you just fix that in the model editor?"
Okay, fair enough. I rotate the model 180 degrees and tried again. Okay, looks good. It's not facing south as intended.
BUT NOW - if I change the angle to SOUTH-WEST in DB... GUESS WHAT? It appears SOUTH-EAST!
Try it.
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
Okay I compiled a test wad that does everything for you - all you do is run the map and see for yourself.
Try play around with the flashlight's angles in your map editor. You'll clearly see what I mean.
Just drag the ZIP into GZDoom.exe to run it.
http://nash.wanzafran.com/2modelsmap.zip
And BTW, here's a screenshot of my model in my model editor. The purple line is the Z axis. I don't think I'm making any mistakes in the orientation here.
http://nash.wanzafran.com/milkshapeflashlight.jpg
Try play around with the flashlight's angles in your map editor. You'll clearly see what I mean.
Just drag the ZIP into GZDoom.exe to run it.
http://nash.wanzafran.com/2modelsmap.zip
And BTW, here's a screenshot of my model in my model editor. The purple line is the Z axis. I don't think I'm making any mistakes in the orientation here.
http://nash.wanzafran.com/milkshapeflashlight.jpg
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
You can show me all you want. The fact is, that Silent Steel's models are oriented correctly. So either you are wrong or Vavoom is wrong. I need conclusive proof which one is the correct orientation and as long as I don't have that I judge in Vavoom's favor. After all that engine has been supporting models for some time.
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
So are you implying that I am wrong?
Did I not tell you that, even though after ATTEMPTING (several times) to fix the model in my model editor, the angles still come out wrong?
I've tried everything; I tried rotating the model 180, I even tried a combination of rotate and flip (or mirror or whatever you want to call it)
It does not change the fact that angle south in DB != angle south in-game.
So what gives?
Come to think of it, there is nothing wrong with my model as-is - the texture comes out correctly in-game (I memorize a certain pattern that looks kind of like a semi-colon (;) to the right of the flashlight bulb).
I am not trying to be stubborn and insist I am correct. I have ABSOLUTELY NO PROBLEM AT ALL making adjustments to my model (as I have stated and did many times). But it's angle rotations are inversed!
If you can suggest me a solution, then by all means please do; for I've already spent two sleepless nights pulling my hair out trying to figure out how to get around it.
I can quickly do a Y-axis rotate at 180 degrees to overcome the initial angle problem. But as the actor moves around, you can clearly see what's wrong.
You know how this will look like, right? Let's say you're facing north and there's a monster in front of you but towards the left edge of the screen. As he walks to you, the model would be appear to face SOUTH-WEST, when it should really face SOUTH-EAST as he is walking to you.
See what I mean?
Did I not tell you that, even though after ATTEMPTING (several times) to fix the model in my model editor, the angles still come out wrong?
I've tried everything; I tried rotating the model 180, I even tried a combination of rotate and flip (or mirror or whatever you want to call it)
It does not change the fact that angle south in DB != angle south in-game.
So what gives?
Come to think of it, there is nothing wrong with my model as-is - the texture comes out correctly in-game (I memorize a certain pattern that looks kind of like a semi-colon (;) to the right of the flashlight bulb).
I am not trying to be stubborn and insist I am correct. I have ABSOLUTELY NO PROBLEM AT ALL making adjustments to my model (as I have stated and did many times). But it's angle rotations are inversed!
If you can suggest me a solution, then by all means please do; for I've already spent two sleepless nights pulling my hair out trying to figure out how to get around it.
I can quickly do a Y-axis rotate at 180 degrees to overcome the initial angle problem. But as the actor moves around, you can clearly see what's wrong.
You know how this will look like, right? Let's say you're facing north and there's a monster in front of you but towards the left edge of the screen. As he walks to you, the model would be appear to face SOUTH-WEST, when it should really face SOUTH-EAST as he is walking to you.
See what I mean?
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
Examine these files.
http://nash.wanzafran.com/modeltest.zip
The model is oriented NORMALLY.
http://nash.wanzafran.com/modeltest2.zip
I rotated the model around. It SEEMS to be correct at first, but wake the monster up and observe how silly it looks as it started to move and aim at you.
http://nash.wanzafran.com/modeltest.zip
The model is oriented NORMALLY.
http://nash.wanzafran.com/modeltest2.zip
I rotated the model around. It SEEMS to be correct at first, but wake the monster up and observe how silly it looks as it started to move and aim at you.
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact: