Blender Game engine renders mesh incorrectly, and does not render textures. #53181

Closed
opened 2017-10-27 14:54:04 +02:00 by Eagle Gamma · 5 comments

System Information
Windows 10
Intel HD Graphics
HP Stream

Blender Version
Broken: 2.79 (Release Candidate)

Short description of error
Worm gear meshes in Blender Game Engine appear to render without many vertices, and without texture, when running the player. Rendering the same model in the viewport works fine. What is causing this? Is BGE supposed to render all vertices and textures?

Also, text with extruded depth, and texture, gets rendered as 2D text without extrusion or texture. Is this the same problem, or something else?

Blender Game Engine render issues.png

Exact steps for others to reproduce the error

  1. Start standalone game player.

The mesh does not render the same as in the model. You can also render the model in the viewport and it should show fine, although the same mesh does not render correctly in the game.

Also, the text is flat, and the text and mesh don't get textures.

LMB-test-2.blend

**System Information** Windows 10 Intel HD Graphics HP Stream **Blender Version** Broken: 2.79 (Release Candidate) **Short description of error** Worm gear meshes in Blender Game Engine appear to render without many vertices, and without texture, when running the player. Rendering the same model in the viewport works fine. What is causing this? Is BGE supposed to render all vertices and textures? Also, text with extruded depth, and texture, gets rendered as 2D text without extrusion or texture. Is this the same problem, or something else? ![Blender Game Engine render issues.png](https://archive.blender.org/developer/F1069670/Blender_Game_Engine_render_issues.png) **Exact steps for others to reproduce the error** 1. Start standalone game player. The mesh does not render the same as in the model. You can also render the model in the viewport and it should show fine, although the same mesh does not render correctly in the game. Also, the text is flat, and the text and mesh don't get textures. [LMB-test-2.blend](https://archive.blender.org/developer/F1069675/LMB-test-2.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @eaglegamma

Added subscriber: @eaglegamma

Added subscriber: @zeauro

Added subscriber: @zeauro

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
ronan ducluzeau self-assigned this 2017-10-29 14:48:05 +01:00

You are not facing bugs but known limitations of Blender Game Engine.

First, BGE is re-using Viewport Shading Mode used by 3D View.
Your objects are white because 3DView is set to Solid mode. It is not the case if set them to Material Mode.

Some parts of meshes are invisible because Backface Culling is enabled by default in material properties of objects. But it is not used by default 3DView display.
So you can enable Backface Culling in Display panel of 3DView properties (N column). And then, you will see meshes displayed as in BGE.
You can flip normals of faces of meshes in Edit Mode. Or you can disable Backface Culling in material properties under Game Settings panel.

BGE does not support procedurals textures. You have to bake these textures to UVmaps to obtain same render inside BGE.

And finally, 3D text objects like bevelled curves are not supported by BGE.
These objects can corresponds to lots of faces according to how their resolution is set. You have to convert them to meshes to use them as 3D objects.
But because Text objects are useful to write interactively texts.
There is an automatic conversion from 3D text to 2D fonts.

This corresponds to large amount of limitations that are making game creation process unintuitive.
One Goal of future 2.8 series is to make things a lot easier. With EEVEE and UpBGE, process should be WYSIWYG .

I know that all these things are not obvious when reading documentation. Making a game is a long process.
So, the best way to achieve your goal is to ask help to community through different channels.

But it is not the goal of developer.blender.org dedicated to bugtracking.

For general issues, check on support sites such as:

  http://blender.stackexchange.com
  https://blenderartists.org/forum/forumdisplay.php?7-Support

If you still think you have found a bug, please give exact steps to redo the error.

You are not facing bugs but known limitations of Blender Game Engine. First, BGE is re-using Viewport Shading Mode used by 3D View. Your objects are white because 3DView is set to Solid mode. It is not the case if set them to Material Mode. Some parts of meshes are invisible because Backface Culling is enabled by default in material properties of objects. But it is not used by default 3DView display. So you can enable Backface Culling in Display panel of 3DView properties (N column). And then, you will see meshes displayed as in BGE. You can flip normals of faces of meshes in Edit Mode. Or you can disable Backface Culling in material properties under Game Settings panel. BGE does not support procedurals textures. You have to bake these textures to UVmaps to obtain same render inside BGE. And finally, 3D text objects like bevelled curves are not supported by BGE. These objects can corresponds to lots of faces according to how their resolution is set. You have to convert them to meshes to use them as 3D objects. But because Text objects are useful to write interactively texts. There is an automatic conversion from 3D text to 2D fonts. This corresponds to large amount of limitations that are making game creation process unintuitive. One Goal of future 2.8 series is to make things a lot easier. With EEVEE and UpBGE, process should be WYSIWYG . I know that all these things are not obvious when reading documentation. Making a game is a long process. So, the best way to achieve your goal is to ask help to community through different channels. But it is not the goal of developer.blender.org dedicated to bugtracking. For general issues, check on support sites such as: ``` http://blender.stackexchange.com https://blenderartists.org/forum/forumdisplay.php?7-Support ``` If you still think you have found a bug, please give exact steps to redo the error. ```
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
2 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#53181
No description provided.