Attached is a demo file of a map object I took from SUPERNatural and turned it into a model.
When loading up the game, every time the bobbing lights reach the top of their bobbing, the entire tower will rotate 90 degrees immediately and turn.... and this is where things start to get a little nutty. The "shape" or "direction" of the GL lights also changes and gets all sorts of weird, like it's partly a spot light, though it's simply an attenuated point light.
For the record, made sure this model was as clean as possible, ensuring there were only tris and quads that are clean all over. If needed I can supply the model too, in .blend format.
Dynamic Light Model Weirdness
Moderator: GZDoom Developers
Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.
If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.
Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.
If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.
Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
-
- Posts: 8196
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Dynamic Light Model Weirdness
You do not have the required permissions to view the files attached to this post.
-
- Posts: 8196
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: Dynamic Light Model Weirdness
After correcting the normals and everything, the model still presents the weird 'direction' stuff that's occurring with the light as if it's a spot light.
But when I exported it as an .obj instead of .md3, everything changed and it became spot on, looking correct. Strange...
But when I exported it as an .obj instead of .md3, everything changed and it became spot on, looking correct. Strange...
-
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
Re: Dynamic Light Model Weirdness
The lighting looks fine, but apparently it's SSAO that goes all screwy. I'm assuming that md3 exports with broken normals.