Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
misc_gamemodel OBJ model angles

#1
When I use a misc_gamemodel (OBJ format) its angles are interpreted in different ways:

Netradiant:
[Image: o44rzpo07uqg375qitk_thumb.png]

Ingame:
[Image: ysp1k3nabweiahkvmb3y_thumb.png]
(the right one is a MD3 model, no problems with that)

It's the same model but rotated 90 grades. The entity is rotated (angles -0.000000 0.000000 90.000000) and that's the angle in the second shot.
I suspect that is Netradiant's fault but i don't know what is happening.
somewhere
Reply

#2
Did you try using misc_model instead?
(btw, what's the difference between these two?)

Reply

#3
This bug is caused by stubbornness of both LordHavoc and me Tongue

I refuse to change NetRadiant to treat angles in .obj different from how id software's GtkRadiant treats them, as I want to stay compatible to id software's tools.

LordHavoc refuses to change DarkPlaces to treat angles in .obj the same as how id software's GtkRadiant treats them, as he says GtkRadiant's way is wrong.


If only this could be fixed by a simple rotation, then I'd work around it from QC code. For the time being, don't use OBJ with misc_gamemodel. Use MD3.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
Reply

#4
(10-02-2011, 11:40 PM)Lord Canistra Wrote: Did you try using misc_model instead?
(btw, what's the difference between these two?)

misc_model models are "baked" in the BSP file while the misc_gamemodel models are loaded by the engine. I wanted to use the second one because is possible to add LOD models.


Thanks divVerent. I remember that read somewhere that ID Software used a different coordinate system (Y <-> Z).
So...
Code:
if obj_extension(self.model) { // strnlen, substring, strncmp?
  self.angles = angle_change(self.angles); // DarkPlaces doesn't like my angles
}
In pseudocode is easy Tongue
somewhere
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Model Switching? moemoemoemoemoe 0 1,795 12-04-2022, 12:26 AM
Last Post: moemoemoemoemoe
Photo Morphed's used brushes for weapon and item model texturing LegendGuard 0 1,991 11-30-2022, 12:32 PM
Last Post: LegendGuard
  Fox player model MirceaKitsune 12 18,874 07-12-2021, 01:33 AM
Last Post: Mario
  [NEED HELP] Shotgun model from nexuiz v1.1 Kotangens 1 2,699 03-06-2021, 02:53 AM
Last Post: Kotangens
  Texture and Player Model Creation Help Molnija 5 6,055 09-30-2018, 12:04 PM
Last Post: Molnija
  Player model links end user 1 3,795 09-13-2017, 07:35 AM
Last Post: Julius
  Mega Nyx New Model? Beagle 2 4,208 01-14-2016, 06:17 PM
Last Post: Beagle
  Vixen player model for Xonotic MirceaKitsune 7 15,482 01-12-2016, 04:59 PM
Last Post: SnowblindPariah
  Uploaded 21 models - Model repo end user 4 8,283 11-19-2015, 01:51 PM
Last Post: end user
  Xonotic work light model zlsa 3 4,237 04-03-2015, 05:25 PM
Last Post: Mario

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-