Group Objects "visible" for navmesh-creation #32295

Closed
opened 2012-08-09 18:52:21 +02:00 by Thomas Trocha · 9 comments

%%%Since navmesh creation only takes 'real' objects into account and ignores group-instances I tried to
add support for these.

All is done in blender/editors/mesh/mesh_navmesh.c where I bascially repeated the steps done for common objects
for the group-instance and it's object(s). The code is a bit redundant but I got some problems extracting the code for
both object-types and skipped this.... (mainly I got trouble with this bug, which I thought was related to my code:
http://projects.blender.org/tracker/index.php?func=detail&aid=32294&group_id=9&atid=306 )

Hope this patch is somehow useful.

Keep on rocking, ToM%%%

%%%Since navmesh creation only takes 'real' objects into account and ignores group-instances I tried to add support for these. All is done in blender/editors/mesh/mesh_navmesh.c where I bascially repeated the steps done for common objects for the group-instance and it's object(s). The code is a bit redundant but I got some problems extracting the code for both object-types and skipped this.... (mainly I got trouble with this bug, which I thought was related to my code: http://projects.blender.org/tracker/index.php?func=detail&aid=32294&group_id=9&atid=306 ) Hope this patch is somehow useful. Keep on rocking, ToM%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

%%%Hmm,...actually I don't know how to replace the patch with another version. I had to change how the matrix is calculated as the patch
in version one only worked for certain cases.

https://dl.dropbox.com/u/11752001/misc/groupobjects_for_navmesh_v2.patch%%%

%%%Hmm,...actually I don't know how to replace the patch with another version. I had to change how the matrix is calculated as the patch in version one only worked for certain cases. https://dl.dropbox.com/u/11752001/misc/groupobjects_for_navmesh_v2.patch%%%
Author

%%%Cleaned up function that wasn't used anymore...%%%

%%%Cleaned up function that wasn't used anymore...%%%
Benoit Bolsee was assigned by Sergey Sharybin 2015-03-05 10:18:37 +01:00
Added subscribers: @brita, @Moguri, @JorgeBernalMartinez, @dr.sybren, @Sergey

Benoit, are you around to have a look?

@Moguri, @JorgeBernalMartinez, @dr.sybren or @brita might also be interested in looking into this patch :)

Benoit, are you around to have a look? @Moguri, @JorgeBernalMartinez, @dr.sybren or @brita might also be interested in looking into this patch :)
Member

I had a quick look.
The duplicated code should go in a static function and yes there is an offset in groups that must be taken into account. You can set the offset in the groups panel when you select one object of the group (look for dupli_offset).
Shouldn't be difficult to add support for it.

I had a quick look. The duplicated code should go in a static function and yes there is an offset in groups that must be taken into account. You can set the offset in the groups panel when you select one object of the group (look for dupli_offset). Shouldn't be difficult to add support for it.

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'

Hi, thanks for your patch.

We are undergoing a Tracker Curfew where we are automatically closing old patches.

If you think the patch is still relevant please update and re-submit it. For new features make sure there is a clear design from the user level perspective.

Hi, thanks for your patch. We are undergoing a [Tracker Curfew ](https://code.blender.org/?p=3861) where we are automatically closing old patches. If you think the patch is still relevant please update and re-submit it. For new features make sure there is a clear design from the user level perspective.
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
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#32295
No description provided.