Hello,
I have this new geometry node project I’m working on and I would love to get some opinion or help if it’s possible ^^.
The end goal is to make a tool for geometry camera projection. And avoid parallax duplication.
We would do a render and paintover it in photoshop on a new layer. We would import this layer as geometry pieces (using an add-on to create the meshs from the png), and use geometry node to project these geometries on the original model. The material being emissive in theory the paintover done previously would blend perfectly. The advantage of using this technic insteald of material camera projection is simply to make the process easier and avoid duplicated element during a camera movement/parallax. The object/paintover being raycasted on the original geometry wouldn’t go further. Hopefully it’s clear ^^
The main purpose for this tool is for stylized, NPR renders.
So the important aspect I’m trying to consider is the “brushstrokes” when they overlap the silhouettes of the target object. They shouldn’t be projected to the object behind but simply stop and face the camera:
Thomas Frenkel generously helped me on that and ended up with a nice solution.
There the original blue object will be projected to the object and the red is the result.
RAYCAST_TO_SINGLE_OBJECT_V2(1).blend (1.3 MB)
Using the new Repeat Zone feature of 4.0 I (kind of) managed to convert this technique to a collection of meshes (which are all the brushtrokes and paintovers, as geometry in a collection)
But right now is working only using the projection face normals.
I’m trying to make it work from a camera POV.
And this is were I’m struggling.
Here is a blend file if you want to have a look:
GN_Projection.blend (637.2 KB)
I cannot make the repeat zone working properly and when switching with a manual island projection (with the switch at the end of the graph) it seems to be not working for some pieces and I cannot figure why…
You will see that I’m inputting the Island Count in the Iteration number of the repeat zone, how should I do if I want to use the repeat the process for all the islands using this number?
I’m not sure how long I’ll try to push on this project. I mainly put this thing online if anyone is interested in picking something like that one day.
Thanks!