X3D exporter sets solid to inverted value #30580
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#30580
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
%%%In X3D, "solid=true" means to activate backface culling (back faces are not visible). Current X3D exporter makes two mistakes:
which means that double-sided=true results in solid=true, which means that the meaning is inverted. Intuitively, double-sided means that solid should be false.
One can fix it trivially (by swapping 'true' with 'false' in line above). But Blender's "Double-sided" checkbox is actually (for Blender) to control two-sided lighting. It's just wrong to overuse it for backface culling during X3D export, since these are two different things.
There is an additional request to make this really useful: "Game Settings" panel should really be visible even in "Blender Render" mode, not only in "Blender Game" mode. Looking at forums, some people still do not realize that there are hidden buttons, visible only in "Blender Game" mode. In this case, probably noone will realize that some options crucial for X3D export are hidden under "Blender Game" mode. Additional argument is that "Backface culling" checkbox (as well as "Invisible" checkbox, and maybe others) affect what is visible in Blender's "Texture" display mode (Alt+Z). So I think it would be best to apply this patch, and additionally make material's "Game Settings" panel just visible also in default "Blender render" mode.%%%
Changed status to: 'Open'
%%%applied r3140.%%%
Changed status from 'Open' to: 'Archived'