Bake camera projection onto object?

Forums: Bake camera projection onto object?
Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)

Bake camera projection onto object?

Postby JackMcRip » Tue Apr 04, 2023 6:16 am

JackMcRip Tue Apr 04, 2023 6:16 am
I performed camera tracking in Blender - Octane Subscription License.
The camera moves forward in a slight arc.
I want to continue this movement for 3 seconds.
For this, I want to bake the last frame of the film onto 3D objects.

I can only find tutorials on how to project the camera image onto objects and cast the shadows of new 3D objects onto the film image.
However, I can't find a tutorial that shows how to use the camera bake function of Octane, or the bake node, to bake the projected image onto the object permanently.

Can someone help me with a link or a tip?
C4D + ZBrush User
Use AMD Phenom 9850, GeForce 8600 256MB, 8GB
JackMcRip
Licensed Customer
Licensed Customer
 
Posts: 96
Joined: Thu Jun 03, 2010 1:33 pm

Re: Bake camera projection onto object?

Postby JackMcRip » Tue Apr 04, 2023 3:24 pm

JackMcRip Tue Apr 04, 2023 3:24 pm
with the bake node I get no output. Only a black image.
with the camera bake I get the result that you can see in the attached image.

I have no idea, how I can get the rendered film image in a texture image file for the plane.
Attachments
Screenshot 2023-04-04 170555.png
camera project (Background Image)
Screenshot 2023-04-04 171351.png
Camera bake
C4D + ZBrush User
Use AMD Phenom 9850, GeForce 8600 256MB, 8GB
JackMcRip
Licensed Customer
Licensed Customer
 
Posts: 96
Joined: Thu Jun 03, 2010 1:33 pm

Re: Bake camera projection onto object?

Postby JackMcRip » Tue Apr 04, 2023 4:12 pm

JackMcRip Tue Apr 04, 2023 4:12 pm
I found a link, how bake in octane standalone.
But the link to the octane manual is dead:
https://docs.otoy.com/StandaloneH_STA/S ... Baking.htm
C4D + ZBrush User
Use AMD Phenom 9850, GeForce 8600 256MB, 8GB
JackMcRip
Licensed Customer
Licensed Customer
 
Posts: 96
Joined: Thu Jun 03, 2010 1:33 pm

Re: Bake camera projection onto object?

Postby frankmci » Fri Apr 07, 2023 6:30 pm

frankmci Fri Apr 07, 2023 6:30 pm
JackMcRip wrote:I found a link, how bake in octane standalone.
But the link to the octane manual is dead:
https://docs.otoy.com/StandaloneH_STA/S ... Baking.htm

There's an extra underscore in the address. Try:
https://docs.otoy.com/StandaloneH_STA/S ... Baking.htm

The search works fine.
https://docs.otoy.com/StandaloneH_STA/S ... e%20baking
Technical Director - C4D, Maya, AE, - Washington DC
frankmci
Licensed Customer
Licensed Customer
 
Posts: 827
Joined: Fri May 26, 2017 2:00 pm

Re: Bake camera projection onto object?

Postby JackMcRip » Sun Apr 09, 2023 12:57 pm

JackMcRip Sun Apr 09, 2023 12:57 pm
thanks your very much. but the problem persists despite an intensive search.

Is it possible that my issue is that the camera projecting an image onto an object is the same camera used to bake the object, and that during the baking process, the camera internally switches and no longer correctly projects the image?
Could this be the case, or is it nonsense?
I cannot specify a different camera in the shader node Camera Data.
Doesn't it always use the current camera for projection?
C4D + ZBrush User
Use AMD Phenom 9850, GeForce 8600 256MB, 8GB
JackMcRip
Licensed Customer
Licensed Customer
 
Posts: 96
Joined: Thu Jun 03, 2010 1:33 pm

Re: Bake camera projection onto object?

Postby JackMcRip » Sun Apr 09, 2023 1:55 pm

JackMcRip Sun Apr 09, 2023 1:55 pm
I don't understand it.
Please try this blender file:
Bake-Camera-Test.zip
Blender-File und ColorMap
(187.18 KiB) Downloaded 50 times


I project a UV-Color map in the material with camera data node.
Screenshot 2023-04-09 154953.png
material in the shader editor


when I look through the camera it looks like this:
Screenshot 2023-04-09 153540.png
Camera-Projection result


Here you can see the Scene setting. But you see the camera projection is now projected by the viewport camera.
Screenshot 2023-04-09 153648.png
Camera projection dont change, but viewer cam project the map


If I bake it with camera bake option the result is not the same like you can see through the cam.
Screenshot 2023-04-09 153737.png
Baking Result


Please help :| if you can
C4D + ZBrush User
Use AMD Phenom 9850, GeForce 8600 256MB, 8GB
JackMcRip
Licensed Customer
Licensed Customer
 
Posts: 96
Joined: Thu Jun 03, 2010 1:33 pm

Re: Bake camera projection onto object?

Postby linograndiotoy » Sun Apr 09, 2023 3:25 pm

linograndiotoy Sun Apr 09, 2023 3:25 pm
Is the resolution of the images you're using for front projection the same you're using in the new render? That's important.

If that's not the case, you'll have to use a Tranform Node and change the size values so they match the different resolution/ratio.
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 1157
Joined: Thu Feb 01, 2018 7:10 pm

Re: Bake camera projection onto object?

Postby JackMcRip » Sun Apr 09, 2023 3:32 pm

JackMcRip Sun Apr 09, 2023 3:32 pm
The resolution for the image that I am using for projection must be the same like I user for the final texture map?
Or is the new render not the result that I will be using fot the texture?
C4D + ZBrush User
Use AMD Phenom 9850, GeForce 8600 256MB, 8GB
JackMcRip
Licensed Customer
Licensed Customer
 
Posts: 96
Joined: Thu Jun 03, 2010 1:33 pm

Re: Bake camera projection onto object?

Postby JackMcRip » Sun Apr 09, 2023 4:06 pm

JackMcRip Sun Apr 09, 2023 4:06 pm
I have set the Render resolution to the projected image resolution:
Screenshot 2023-04-09 180747.png


It looks different, but not like the camera view.
Bake_Test001.png
C4D + ZBrush User
Use AMD Phenom 9850, GeForce 8600 256MB, 8GB
JackMcRip
Licensed Customer
Licensed Customer
 
Posts: 96
Joined: Thu Jun 03, 2010 1:33 pm

Re: Bake camera projection onto object?

Postby linograndiotoy » Tue Apr 11, 2023 7:26 am

linograndiotoy Tue Apr 11, 2023 7:26 am
That's all you need to do:

Front.PNG


The X and Y scale control the aspect ratio of your image.
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 1157
Joined: Thu Feb 01, 2018 7:10 pm
Next

Return to Blender


Who is online

Users browsing this forum: Andreas_Resch and 26 guests

Sat Apr 27, 2024 7:03 am [ UTC ]