Dupligroup Array Curve Render Bug? #33591

Closed
opened 2012-12-17 19:04:48 +01:00 by Atomic · 6 comments

%%%Hi All,

Windows 7 x64
Blender 2.65 official release.

I was trying to do a fairly simple Cinema4D task in Blender. This motion task is to reveal a shape over time along a curve.
The recipe I am using is...
1.) Make a mesh shape.
2.) Add array modifier and up the count.
3.) Create a BezierCircle object.
4.) Add a curve modifier to the mesh shape and pick the BezierCicle as the curve.

At this point I can animate the array count and coarsely reveal the shape over time, simulating an extrusion along a curve.

My next thought was to create several of these revealing rings and offset them in Z-Space. So I duplicated the first one and moved it up a bit. At this point the two rings were 'synchornized'. I wanted to rotate the second copy so I could offset the gap in the revealing rings.

That is when I realized that the rotation I was applying to the object was being relayed to the array copies and thus offsetting them in space based upon the Z-Rotation I applied.

Ok, so that does not work and I reset the rotation back to zero. But not to be defeated I thought, Aha! I'll just add that array/curve object to a group then use an Empty to deploy the group into the scene. So I moved the array/curve object to an unused layer and added it to a group. I went back to layer #1 and added an Empty and turned on dupligroup for that group name.

It seems like the rotation of the Empty is being relayed to the underlying array modifier, and it shouldn't. The rotation of the Empty should be applied to the resulting mesh from the group.

Give it a try, download the BLEND file and rotate the green object along the Z-Axis. You will see that it works fine in the viewport and even OpenGL render, but when you press F12, Blender Internal and Cycles get this wrong and render it incorrectly. (Mitsuba Gets It Right)

It seems like a bug (order of operation), but does anyone else have any insights on how to resolve this render error?

Related: BlenderArtists thread:
http://blenderartists.org/forum/showthread.php?275458-Dupligroup-Array-Curve-Render-Bug&p=2262183#post2262183%%%

%%%Hi All, Windows 7 x64 Blender 2.65 official release. I was trying to do a fairly simple Cinema4D task in Blender. This motion task is to reveal a shape over time along a curve. The recipe I am using is... 1.) Make a mesh shape. 2.) Add array modifier and up the count. 3.) Create a BezierCircle object. 4.) Add a curve modifier to the mesh shape and pick the BezierCicle as the curve. At this point I can animate the array count and coarsely reveal the shape over time, simulating an extrusion along a curve. My next thought was to create several of these revealing rings and offset them in Z-Space. So I duplicated the first one and moved it up a bit. At this point the two rings were 'synchornized'. I wanted to rotate the second copy so I could offset the gap in the revealing rings. That is when I realized that the rotation I was applying to the object was being relayed to the array copies and thus offsetting them in space based upon the Z-Rotation I applied. Ok, so that does not work and I reset the rotation back to zero. But not to be defeated I thought, Aha! I'll just add that array/curve object to a group then use an Empty to deploy the group into the scene. So I moved the array/curve object to an unused layer and added it to a group. I went back to layer #1 and added an Empty and turned on dupligroup for that group name. >>It seems like the rotation of the Empty is being relayed to the underlying array modifier, and it shouldn't. The rotation of the Empty should be applied to the resulting mesh from the group. Give it a try, download the BLEND file and rotate the green object along the Z-Axis. You will see that it works fine in the viewport and even OpenGL render, but when you press F12, Blender Internal and Cycles get this wrong and render it incorrectly. (Mitsuba Gets It Right) It seems like a bug (order of operation), but does anyone else have any insights on how to resolve this render error? Related: BlenderArtists thread: http://blenderartists.org/forum/showthread.php?275458-Dupligroup-Array-Curve-Render-Bug&p=2262183#post2262183%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%Another modifier issue! It has a .blend attached btw.%%%

%%%Another modifier issue! It has a .blend attached btw.%%%

%%%The workaround is to add circle_race_track-1 to the soft_square group, then it renders the same as viewport. This is more a depsgraph / dupli issue than a modifier issue.

I guess this is a limitation of the system, don't think there is a quick fix. The modifier for the dupli object gets evaluated while it has the dupli transform applied, while the object that it depends on, circle_race_track-1 is left in its original location. If you want a dupli object that is a perfect copy of the original, then it should be evaluated in its original location. If you want it to be affected by other objects in its new location (e.g. collision for a character group with proxy), then it should be evaluated in the dupli location.%%%

%%%The workaround is to add circle_race_track-1 to the soft_square group, then it renders the same as viewport. This is more a depsgraph / dupli issue than a modifier issue. I guess this is a limitation of the system, don't think there is a quick fix. The modifier for the dupli object gets evaluated while it has the dupli transform applied, while the object that it depends on, circle_race_track-1 is left in its original location. If you want a dupli object that is a perfect copy of the original, then it should be evaluated in its original location. If you want it to be affected by other objects in its new location (e.g. collision for a character group with proxy), then it should be evaluated in the dupli location.%%%

%%%Added this to the depsgraph todo list now, it's a known limitation of the system that we need to tackle as part of the depsgraph project:
http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Animation#Dependency_Graph%%%

%%%Added this to the depsgraph todo list now, it's a known limitation of the system that we need to tackle as part of the depsgraph project: http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Animation#Dependency_Graph%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Author

%%%@brecht: Thanks, I added the circle to the group and it renders fine now.%%%

%%%@brecht: Thanks, I added the circle to the group and it renders fine now.%%%
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
3 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#33591
No description provided.