67402e091ae68

67402e091be1e
7 Guests are here.
 

67402e091c5f2voodoo47

67402e091c669
the fan looks nice, but it needs to be a bit further away from the shutter, as right now, it collides with it slightly when rotating. also, the texturing of the fan is slightly odd (an uniform gray would be better), but I'm guessing fixing that would mean remaking the model from a scratch.

https://www.youtube.com/watch?v=iI24xCXgYVQ


shield looking good (to go).
« Last Edit: 21. February 2014, 22:17:19 by voodoo47 »
67402e091ca46
This ones better?

And almost forgot it.
I added a MONITOF7.png to the conduit pack since there is also some strange invisibility on some pixels on that texture.
Usually it is not included in the model but I used it this time but I can't imagine for it to make sense for its original use.

67402e091cb25voodoo47

67402e091cb78
the latest fan is just about right. good stuff.

67402e091cc7cZylonBane

67402e091ccc9
Hey voodoo, you're not running the current command1, eh?

(upgraded shield looks great though; no more silly facets!)

67402e091cd6avoodoo47

67402e091cdb8
nope. let me fix that.

//proper shield collision boxes (among other things), nice.
« Last Edit: 21. February 2014, 23:56:44 by voodoo47 »

67402e091ce5eZylonBane

67402e091cea9
Checked out the vent fan in-game. There's something messed up with the third vent slat from the top-- it's almost always lit lighter or darker than the other slats.
67402e091cfb1
Seems to be the same issue I already had with the hackcrate. But haven't found a way to fix it back then. This really is a bugger :/
Maybe nemyax can help out on this one as well(?)

67402e091d0b3ZylonBane

67402e091d103
Just as an experiment, could you generate a model with the fan blade moved way back, and one with the blade entirely deleted?

Also, what's your toolchain from modeling program to final bin?

EDIT: Geeze, I just tried running ventfan.bin through BINTOE and it generated a file with over 30 thousand polygons. Something wrong there.
« Last Edit: 25. February 2014, 05:47:46 by ZylonBane »
67402e091d2b5
Olfred
I don't know the cause, but I'd try to work around this by giving the slats a prism-like topology instead of them being flat faces. See what I did in the attached files.
« Last Edit: 11. March 2014, 20:02:45 by voodoo47 »
67402e091d944
Couldn't figure out a way to make it work with the ventfan model, even when I modified the broken part.
So finally I just deleted it and copy pasted another one there. Now there should be a bug free one.
I included the broken (ventfan.blend) and the working one (ventfan_test2.blend) inside the ventfan.zip along with a (hopefully) working model.
What I could imagine is that some vertices don't get proper shading/lighting because of something screwy inside the bin and this kind of spreads to the whole face.

nemyax, your workaround didn't worked properly either :/

Just as an experiment, could you generate a model with the fan blade moved way back, and one with the blade entirely deleted?
Was this for personal use or connected with the problem?
Anyway I made both versions for you out of the working model inside ventfan_zy.bin

Also, what's your toolchain from modeling program to final bin?

For modeling I use Blender.
On most models I used to export it to 3ds, then used the 3ds to bin tool which is pretty much just a frontend which uses N3ds2e.exe followed by BSP.exe.
Sometimes I edited the .E file or did all the commands through the console. But mostly used these tools.
Except for meshes, there I use MeshBld.exe, but still through 3ds export.

On problematic models like the crack issue with the fusion cannon or when jointed models are needed I used the exporter by nemyax.
Although creating jointed models isn't that hard to set up BSP.exe tends to be a bitch even when you did everything right.
With the script from nemyax it's fairly easy and it's not bitching around, only bugging :(
« Last Edit: 11. March 2014, 20:03:02 by voodoo47 »

67402e091dd4fZylonBane

67402e091ddae
Was this for personal use or connected with the problem?
Something for personal use wouldn't be requested "as an experiment". I'm trying to determine if the presence or proximity of the submodel is causing the lighting anomaly.

I'm also beginning to suspect Blender. I've been messing around with models in SS2 for a long time, and I've never seen these lighting issues before. Perhaps it's something to do with how it does Gouraud shading.
67402e091decb
Maybe you wanted to experiment on something else, not regarding the problem. That's what I meant with personal.
67402e091e47e
nemyax, your workaround didn't worked properly either
Does the model have the same shading issue? Could you show a screenshot or video?

Perhaps it's something to do with how it does Gouraud shading.
It's regular Gouraud. The script writes the per-face vertex normals that Blender provides for free, no calculations here.
67402e091e63e
I made a screenshot with all three versions in them.
Disregarding the texture anomalies you still can see that it doesn't reveice proper lighting (ventfan.jpg).
It's not simply that it doesn't receive any lighting at all, somehow it is just brighter than everything else (ventfan2.jpg).

I experimented around with the model and what I did was to poke the face (Alt P).
Which still didn't helped. So I started to delete the face piece by piece and checking in ShockEd. At one point the remaining piece was rendered correctly.
So I really think it is somehow linked to a problem with a vertex (or maybe even more).

Maybe you receive false information from Blender?

[ventfan.jpg expired]

[ventfan2.jpg expired]

67402e091e711ZylonBane

67402e091e761
Puzzling. It's as if the lighting engine thinks that third slat is facing a different direction.

Just grasping at straws here, but what if you take Gouraud shading off everything except the blade cap? Flat surfaces shouldn't be Gouraud-shaded anyway.
67402e091ea34
Puzzling. It's as if the lighting engine thinks that third slat is facing a different direction.

Just grasping at straws here, but what if you take Gouraud shading off everything except the blade cap? Flat surfaces shouldn't be Gouraud-shaded anyway.
Well, with the exporter I don't have the option to take another shading, for sharp edges you simply make an edge split.
So it's up to nemyax to try this out.
67402e091ed6c
Hmm. Could you post the 3DS file?
Sure

[ventfan3ds.zip expired]
67402e091ee9d
ZylonBane
There's no notion of shading method in .bin. Vertex normals (which are the results of a shading algorithm) are recorded directly for every face corner. But it turns out I'm writing them wrong; the compressed format that they use is weird. I'm looking into it now.

67402e091ef4eZylonBane

67402e091ef9c
There's certainly a notion of something, because bin files become much smaller when converted from Gouraud shading to flat shading.
67402e091f0a7
That's because there are no duplicate normal vectors per subobject in .bin, and shared normals are referenced by multiple corners. So the sets of normals are different in flat and Gouraud.
67402e091f17c
Addon updated; the lighting quirks should be gone now. Please test.

67402e091f239voodoo47

67402e091f28a
maybe I'll say something dumb now, but I didn't observe any lighting anomalies with this fan. am I (finally) going blind?

67402e091f32aZylonBane

67402e091f375
The lighting anomalies are only obvious if the model is strongly lit from the side. Olfred's screenshots above show the problem.
Acknowledged by: voodoo47

Your name:
This box must be left blank:

System Shock takes place on a space station named ...:
7 Guests are here.
Hope never dies.
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
67402e091f8b0