67403c391c882

67403c391d7d9
11 Guests are here.
 
67403c391e27b
Addon updated; the lighting quirks should be gone now. Please test.
Tested with the ventfan model. This worked pretty well.
But I still had another model which gave me headaches about the lighting issues, and somehow it turned into something really strange now. Model included in this post.


[hackcrat.zip expired]

[crates.jpg expired]
67403c391e425
Make sure the initial orientations of the lids are zero. Try applying their rotations and re-exporting.

67403c391e594ZylonBane

67403c391e5e8
New vent fan seems to light perfectly! Will you be regenerating all the models you used older versions of nemyax's tool to export? This especially might fix that problematic air recirculator model.

There's an issue with the inverted Rickenbacker turret model. It functions fine, but it's not properly centered, so when you "floor" it in DromEd it partially sinks into the ground, and (more importantly) the destroyed model spawned when it's killed doesn't line up with it. If you could provide the E file, I could use the BSP command line options to offset the model into place.

It's odd... the original Rickenbacker turret creates a ~ 9 x 9 x 4 bounding box when placed, while the inverted version produces a more accurate ~ 7 x 1 x 4 box.
67403c391e6ea
ZylonBane
What's the name of the turret model file? I'll have a look and maybe add support for custom offsets.

67403c391e893ZylonBane

67403c391e8df
Another thing-- Is it possible to preserve whether a surface is smooth-shaded or flat-shaded in the exported model? Some surfaces (like the vent fan frame) really are flat and angular, so they don't look right with smooth shading. Also, Dark's rendering of smooth shaded polys is buggy, with the shading jumping around when a surface is partially off-screen, so you really don't want to use it unless the object looks terrible without it.
67403c391eb72
Is it possible to preserve whether a surface is smooth-shaded or flat-shaded in the exported model?
Information about smoothing is not imported (it would have to be restored from the baked normals, which is too much trouble). However, you can set flat shading wherever you like, by using angle-based autosmoothing or by marking specific edges.

67403c391ed70ZylonBane

67403c391edc4
Information about smoothing is not imported (it would have to be restored from the baked normals, which is too much trouble).
Are you saying there's no information about surface shading style stored in 3DS files?
67403c391ef5d
ZylonBane
I was writing about about bin import with the io_scene_dark_bin addon. 3ds should contain smoothing groups, but I don't know how (and if) the Blender 3ds importer handles them, because I don't normally use 3ds at all.
67403c391f11d
Sorry guys, I've been busy and had no (real) internet connection for a couple of days.

Haven't had the time yet to try again with the hackcrate.

About the bounding box issue. The blender exporter writes directly to bin and you set the model up how it is going to appear ingame. This results in a matching bounding box.
But with using BSP.exe it is kinda weird how you have to set up a model and stuff for it to work. Like having one part rotated 90° before converting it to bin for it to appear correctly ingame. But the bounding box is created on how the model was aligned before it was converted.

As I don't get information on the bounding box when I import the model (doesn't matter which tool I use), it's kinda hard to figure out how I can make a proper bounding box to match the old model.
Sometimes I am able to figure it out, then I just place a single vertex in the model to make it "bigger", this will then be invisible ingame so you don't see anything except the bigger bounding box.

As for Blender and 3ds files. It handels them pretty well, import and export wise.
67403c391f408
Sometimes I am able to figure it out, then I just place a single vertex in the model to make it "bigger", this will then be invisible ingame so you don't see anything except the bigger bounding box.
Hehe, clever. I see why it works: the script gets the bounding box before it removes floating vertices. This should go into a tips and tricks section.
67403c391f66c
Make sure the initial orientations of the lids are zero. Try applying their rotations and re-exporting.
Tried this and it didn't helped at all.
Did some testing around again and discovered that everything looks good when I have individual model parts, but when I set a parent, the lighting gets fucked up.

About making a new batch of all models. I would like to wait for any unresolved issues which might still be there.
Except you guys are just waiting for me to release the SCP.

67403c391f891voodoo47

67403c391f8dd
yeah, don't worry about that - you have already fixed pretty much all the obviously broken models, the rest of the stuff will be included whenever you'll be finished with it. as already mentioned, there is no way we will pull off a "perfect" beta1 release, some issues will be unresolved, and some bugs will inevitably slip in. whatever will not make it into beta1, will be included in beta2, or some other future release.
67403c391fa01
Ah good to hear it's not me holding you back.

Just remembered there was still something unresolved about the air recirculator.
The idea to have the face of the machine be a submodel seems to work out.

67403c391fad3voodoo47

67403c391fb1f
oh yes, this is the stuff. works and looks perfectly as far as I can see. ZB?

67403c391fbbfZylonBane

67403c391fc0a
The lighting issue does indeed appear to be fixed.

Also, no need to fix the centering of the inverted Rickenbacker turret. It's been compensated for in the gamesys.
67403c391fe69
Also, no need to fix the centering of the inverted Rickenbacker turret. It's been compensated for in the gamesys.
Yeah about the bounding boxes which are bigger than the model itself.
Even if I would know the size of the box and could replicate it, where and how to position the model inside this box is a very different thing, it's not always just the middle.
Maybe it's possible to import the bounding box in some way, but currently I don't know of any tool which can do it.
67403c39200ee
Maybe it's possible to import the bounding box in some way, but currently I don't know of any tool which can do it.
If you don't mind using a hex editor, you can check the six floats in bytes 24:48. These are the maximum and minimum (in that order) bounding box points.
67403c3920334
If you don't mind using a hex editor, you can check the six floats in bytes 24:48. These are the maximum and minimum (in that order) bounding box points.
But then again I don't know the position of the model :/
67403c3920436
Olfred
Can you post the shoddily-shaded crate again? I'd like to try something out to fix the lighting.

67403c39204dfvoodoo47

67403c392052b
forgot to mention - guys, no need to set expiration dates on the uploaded models, they are tiny and even the work in progress ones could be useful in the future. this is the Engineering, we can get the drawing board dirty.
67403c3920762
Olfred
Can you post the shoddily-shaded crate again? I'd like to try something out to fix the lighting.
sure

67403c3920866ZylonBane

67403c39208b2
Olfred, I've attached replicator.zip to the first post. This is a worldrep export of the replicator (aka Value-Rep) brushwork, with textures. When you get a chance, please try converting this to an object. There's a cube around it that should be deleted, and since this needs to look like the other brush-based replicators, it can't have any smooth-shaded faces. Thanks.

Your name:
This box must be left blank:

Name the main villain of the System Shock series:
11 Guests are here.
a waste of your time
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
67403c392389a