Solidify modifier doesn't work in game engine when material index offset > 0 #31558

Closed
opened 2012-05-22 11:25:37 +02:00 by Shinsuke Irie · 16 comments
Member

Category: Conversion

%%%In game engine, faces generated by the solidify modifier with the index offset not equal to 0 are invisible. If offset=0 it works.

Blender 2.63a r46870
Ubuntu 12.04 amd64
Geforce GTX470
%%%

**Category**: Conversion %%%In game engine, faces generated by the solidify modifier with the index offset not equal to 0 are invisible. If offset=0 it works. Blender 2.63a r46870 Ubuntu 12.04 amd64 Geforce GTX470 %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

%%%It seems that the data converter forgets to convert materials used only for the solidify modifier when starting the game engine.
%%%

%%%It seems that the data converter forgets to convert materials used only for the solidify modifier when starting the game engine. %%%
Author
Member

%%%Umm... Probably the data converter has to convert all materials linked to the object if the object uses the solidify modifier, because the material index offset might change while the game engine is running.
%%%

%%%Umm... Probably the data converter has to convert all materials linked to the object if the object uses the solidify modifier, because the material index offset might change while the game engine is running. %%%
Author
Member

%%%Since r47039, solidify modifier can be used to set up double mesh for toon edges:

http://projects.blender.org/tracker/index.php?func=detail&aid=31579&group_id=9&atid=127

but this bug prevents us to do that in game engine.
%%%

%%%Since r47039, solidify modifier can be used to set up double mesh for toon edges: http://projects.blender.org/tracker/index.php?func=detail&aid=31579&group_id=9&atid=127 but this bug prevents us to do that in game engine. %%%
Author
Member

%%%This bug is in the game engine, so please move it to BGE bug tracker or change the category into "Game engine".%%%

%%%This bug is in the game engine, so please move it to BGE bug tracker or change the category into "Game engine".%%%

%%%Moved from Blender 2.6 Bug Tracker to Game Engine%%%

%%%Moved from Blender 2.6 Bug Tracker to Game Engine%%%

%%%I'm gonna have a look around in the code :)%%%

%%%I'm gonna have a look around in the code :)%%%

%%%Seems like it works here. Maybe it's already been fixed

Could you attach a blend file?%%%

%%%Seems like it works here. Maybe it's already been fixed Could you attach a blend file?%%%
Author
Member

%%%Hi,

Attached Solidify_modifier_bug_in_BGE_converter.blend .

Additional surfaces generated by solidify modifier using "Material Red" will disappear when starting game engine.

r49491
%%%

%%%Hi, Attached Solidify_modifier_bug_in_BGE_converter.blend . Additional surfaces generated by solidify modifier using "Material Red" will disappear when starting game engine. r49491 %%%
Author
Member

%%%Attached another example Solidify_modifier_bug_in_BGE_converter_Toon_edge.blend .

In 3D preview, toon edge is rendered by red lines using solidify modifier, but it disappears in game engine.
%%%

%%%Attached another example Solidify_modifier_bug_in_BGE_converter_Toon_edge.blend . In 3D preview, toon edge is rendered by red lines using solidify modifier, but it disappears in game engine. %%%
Author
Member

%%%Can no one fix this bug?%%%

%%%Can no one fix this bug?%%%

%%%Applying the modifier makes the red faces show up fine for me. It's generally a good idea to apply modifiers before running the game engine rather than leave them on, since modifiers aren't really supported fully. Perhaps that is a feature request - for modifiers to be applied automatically when one runs the game engine. Otherwise, I'm not sure if this can really be filed as a full-on bug.%%%

%%%Applying the modifier makes the red faces show up fine for me. It's generally a good idea to apply modifiers before running the game engine rather than leave them on, since modifiers aren't really supported fully. Perhaps that is a feature request - for modifiers to be applied automatically when one runs the game engine. Otherwise, I'm not sure if this can really be filed as a full-on bug.%%%
Member

%%%As a work around, you can add a face inside the object and assign it the second material. This face can be scaled to zero so you will never see it. However this is enough to get everything converted properly for the modifier to work.%%%

%%%As a work around, you can add a face inside the object and assign it the second material. This face can be scaled to zero so you will never see it. However this is enough to get everything converted properly for the modifier to work.%%%
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Aaron Carlisle self-assigned this 2019-06-29 02:15:04 +02:00
Member

This task is being closed because the BGE has been removed in Blender 2.8.

This task is being closed because the BGE has been removed in Blender 2.8.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#31558
No description provided.