Comments on: XPlane2Blender v3.4.0-beta1 is out! https:/2017/08/xplane2blender-v3-4-0-beta1-is-out/ Developer resources for the X-Plane flight simulator Tue, 15 Aug 2017 02:14:00 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Alfredo https:/2017/08/xplane2blender-v3-4-0-beta1-is-out/#comment-21309 Tue, 15 Aug 2017 02:14:00 +0000 http://developer.x-plane.com/?p=7810#comment-21309 Ok, understood: if it’s faster to render this way then there’s no question about it. Thanks for the answer!

]]>
By: Ben Supnik https:/2017/08/xplane2blender-v3-4-0-beta1-is-out/#comment-21307 Mon, 14 Aug 2017 18:35:06 +0000 http://developer.x-plane.com/?p=7810#comment-21307 In reply to Alfredo.

Hi Fred,

When it comes to flat/smooth shading, duplicating vertices to make a hard edge is STRONGLY PREFERRED over ATTR_flat shading.

Vertices are very cheap, and the dupes won’t kill you. The GPU can do a LOT of vertices. ATTRibutes are expensive – the GPU pipeline has to be reconfigured.

So – it is intentional that the WYSIWYG shading of Blender comes out as vertex mesh tricks and not attributes.

If you have a way of controlling flat/smooth shading that is WYSIWYG but is ignored by us, please file a bug. But we will solve this by exporting more vertices. 🙂

(The same logic goes for two-sided geometry!)

]]>
By: Alfredo https:/2017/08/xplane2blender-v3-4-0-beta1-is-out/#comment-21304 Mon, 14 Aug 2017 17:50:44 +0000 http://developer.x-plane.com/?p=7810#comment-21304 Hi, thanks for the update!

Would it be possible to export flat/smooth shade per element (vertices, edges, faces) to X-Plane? Right now X-Plane only supports flat/smooth shade for entire objects. If we could control the shading of each element (vertex normals) we could get rid of using the edge split modifier in blender, which is the actual workaround and actually duplicates vertices and has some other inconvenients.

Thanks!

atgcab

]]>
By: Ted Greene https:/2017/08/xplane2blender-v3-4-0-beta1-is-out/#comment-21293 Sun, 13 Aug 2017 17:44:58 +0000 http://developer.x-plane.com/?p=7810#comment-21293 In reply to Pablo Bressan.

It does not have an import function, and likely never will without significant investment by the community. Some projects exist, and they could be absorbed as part of this project, but I know I certainly could not spend time on them because of a long queue of requested features for the exporter.

Thank you for asking however and making your opinion known. This is somewhat off-topic for this thread, so, please e-mail me why you’d like to see an import function so I can mark it down!

]]>
By: Ben Supnik https:/2017/08/xplane2blender-v3-4-0-beta1-is-out/#comment-21287 Sun, 13 Aug 2017 01:23:13 +0000 http://developer.x-plane.com/?p=7810#comment-21287 In reply to Rodrigo.

Hi Rodrigo,

The X-Plane 11 material model doesn’t distinguish reflectivity from metalness – when you increase the _base_ reflectivity (that is, the reflectivity when viewed straight on, of a material) by raising the blue channel, you make it “more reflective always”, and we start to use the albedo to tint reflections, rather than the diffuse light. This works because, at full base reflectivity there IS no diffuse light – all light bounces right off the surface of the material.

In other words, you use the same functionality for reflective metallic and mirrored windows.

Regular (non-mirrored) windows probably do NOT need any custom metalness values – the F0 (base reflectivity) of glass is somewhere between 0.04 and 0.06 if I remember right – convenient – otherwise you wouldn’t be able to look through glass. 🙂 But do note that really correct glass blending is currently only available on glass objects on an airplane. This is (for now) a fundamental limit of the scenery system, which doesn’t have a post-g-buffer ‘glass’ mode the way aircraft do. That is something that is on our todo list.

]]>
By: Pablo Bressan https:/2017/08/xplane2blender-v3-4-0-beta1-is-out/#comment-21282 Sat, 12 Aug 2017 12:04:42 +0000 http://developer.x-plane.com/?p=7810#comment-21282 In reply to Ted Greene.

Hello Mr. Greene,
Does it have import function?

]]>
By: Rodrigo https:/2017/08/xplane2blender-v3-4-0-beta1-is-out/#comment-21278 Fri, 11 Aug 2017 23:26:23 +0000 http://developer.x-plane.com/?p=7810#comment-21278 I don’t fully understand the normal_metalness map. If I have a normal map the blue channel controls the reflection, right? With metalness the blue channel controls how metalic is the structure. So, if I have an object with a reflective window (no metalic effect), for example, and a metalic roof, do I need to split in two objects in order to normals correct work?

]]>
By: Ted Greene https:/2017/08/xplane2blender-v3-4-0-beta1-is-out/#comment-21275 Fri, 11 Aug 2017 13:28:04 +0000 http://developer.x-plane.com/?p=7810#comment-21275 In reply to Glenn Kaefer.

Yes, it should. I’m using 2.78b and its worked so far.

]]>
By: Glenn Kaefer https:/2017/08/xplane2blender-v3-4-0-beta1-is-out/#comment-21264 Fri, 11 Aug 2017 01:23:21 +0000 http://developer.x-plane.com/?p=7810#comment-21264 Will this work with blender 2.78c?

]]>