Mesh modifier in BGE is not used for culling calculation #23894

Closed
opened 2010-09-19 04:51:51 +02:00 by Mike Pan · 4 comments

Category: Rendering

%%%
Basically it looks like Mesh Modifiers are not taken into account when doing visibility culling in the BGE.
THe result is that the object in the BGE 'disappears' when the pre-modifier base mesh is moved outside the camera.

Check the sample file for Blender 2.54%%%

**Category**: Rendering %%% Basically it looks like Mesh Modifiers are not taken into account when doing visibility culling in the BGE. THe result is that the object in the BGE 'disappears' when the pre-modifier base mesh is moved outside the camera. Check the sample file for Blender 2.54%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%Hi Benoit. This is not a vital bug since we are using the modifiers only for the prototyping phase of our current project (and later/soon) we will have to apply the modifier anyways. Nevertheless it would be great if you could take a look at that.
Thanks a lot.%%%

%%%Hi Benoit. This is not a vital bug since we are using the modifiers only for the prototyping phase of our current project (and later/soon) we will have to apply the modifier anyways. Nevertheless it would be great if you could take a look at that. Thanks a lot.%%%
Member

%%%That problem is well known and not easy to fix because it would require to recalculate the bounding box and update the culling tree each time the modifier is used. The problem exists also with shape keys.

The usual solution is to add a few vertex to the original mesh that enclose the entire extension of the shape key/modifiers. These vertex are not rendered (since they are simple vertex) but will extend artificially the bounding box and make the object more visible

This should be sufficient to work around these problems.%%%

%%%That problem is well known and not easy to fix because it would require to recalculate the bounding box and update the culling tree each time the modifier is used. The problem exists also with shape keys. The usual solution is to add a few vertex to the original mesh that enclose the entire extension of the shape key/modifiers. These vertex are not rendered (since they are simple vertex) but will extend artificially the bounding box and make the object more visible This should be sufficient to work around these problems.%%%
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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
4 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#23894
No description provided.