Page MenuHome

Grease Pencil 3d space problem
Open, Confirmed, MediumPublic


System Information
Operating system: Windows 7 64x
Graphics card: nvidia gts 250

Blender Version
Latest one from the download section.

I had a plan to paint over the color on a 3d sculpted head with a grease pencil. The thing is grease pencil in my scene do not obey 3d space order instead it show the stroke that was painted last in front of camera(does't matter if its in front or back of the head). Someone had that problem perhaps ?



Event Timeline

Łukasz (skarlok) renamed this task from Grease Pencil to Grease Pencil 3d space problem.Jan 8 2019, 5:18 PM
Łukasz (skarlok) created this task.
Antonio Vazquez (antoniov) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Jan 8 2019, 5:32 PM

I have tested your drawing and I think you try to do something against the design of grease pencil object.

Grease pencil object is a 2D environment in a 3D space, that means that 2D data is over 3D data. In your drawing, the hair looks that was drawn after head (you can try it setting to back the hair strokes). As the strokes of the hair were drawn after the head, they will be always on top (in 2d last drawn is on top always).

The relationship with 3D is between objects, but inside one GP object, the 3D space disappears (I mean, the position of the stroke is less important than real 3D position). This is done on purpose after a very long time of analysis and studying 2D problems, so it wasn't a trivial decision.

Is there any other way around to achieve the effect in Blender 2.8 that i was hoping to get in the end of that project? My goal was to fully paint it with loose strokes (add light and shadow). So it could be a turnable object ?

My first attempt with grease ended like that.

But it was on a flat space so i wanted to go further with the tool and started with that head project.
To be honest i think it could be nice to paint like this in 3d space. For example turnable background object for animation?

Brecht Van Lommel (brecht) raised the priority of this task from Needs Information from User to Needs Triage by Developer.Mar 1 2019, 4:36 AM

@Sebastian Parborg (zeddb) Yes and no. The problem with opaque strokes yes, but if stroke use alpha no, but this is related to a more general alpha issue.

Sebastian Parborg (zeddb) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.

Wrong z-testing only happens to Grase pencil Stroke, not to alpha blend material.
I wonder whats the difference in rendering.
As the sphere is opaque it writes to z-buffer, so if alpha blend shader does depth testing against z-buffer it should be occluded correctly.