Frontal Projection / Camera Mapping

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
User avatar
jate
Licensed Customer
Posts: 30
Joined: Fri Dec 12, 2014 10:51 pm
Location: Herndon, VA
Contact:

I'm pretty sure I'm just missing it, but I can't seem to figure out how to frontal project a texture or camera map it (like in C4D default).

Example:

Image
In C4D standard, this is a background (flat mapped) with a cube that's frontal mapped.

Thanks in advanced!
Intel i7-5930K 6 Core 3.5 GHz // GTX 780 Ti (x4) // 32GB Ram // 1TB SSD
vimeo.com/jate
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

there is a scene in samples package. Please don't ask where is it ;)
Also see attached scene for two possible method.
Attachments
frontalmapping.zip
(687.23 KiB) Downloaded 1609 times
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
jate
Licensed Customer
Posts: 30
Joined: Fri Dec 12, 2014 10:51 pm
Location: Herndon, VA
Contact:

aoktar wrote:there is a scene in samples package. Please don't ask where is it ;)
Also see attached scene for two possible method.
Masterful hots, this is exactly what I was looking for.

You're a gentleman and a scholar - thanks much aoktar (I'm very glad you're here on the forums!)
Intel i7-5930K 6 Core 3.5 GHz // GTX 780 Ti (x4) // 32GB Ram // 1TB SSD
vimeo.com/jate
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

thanks for kindly comments, just drop a message if you need help. i'll try to help
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
jate
Licensed Customer
Posts: 30
Joined: Fri Dec 12, 2014 10:51 pm
Location: Herndon, VA
Contact:

I would just send a message, but I'd rather post if I can't find something via the forum search in-case someone in the future has the same problem, and then you won't have to answer quite as many noobs like myself multiple times :D

Pulling apart your scene, I've got the gist of it now; thanks! It's odd that you have to rotate the texture 180, then scale to half for it to work in the transform - this seems to be the case with the image I tested with as well :)

Now I'm trying to use it to comp items into an image for testing, is there a way to allow the plane to accept only shadows? I played with the shadow visibility only being selected for the ground plane, but wasn't able to get it to comp correctly. Might be on the right track at least?

Image

I've attached what I was playing with if it helps!

*Edit* Ignore the lighting - I know it's wrong, haha. Just playing with the projection for now :roll:

*Edit 2* Played with it a bit more - it's close, but it's still not working the way I'd hoped just yet:

Shadow Visibility Only Enabled
Image

Shadow And Camera Visibility Both Enabled
Image
Attachments
FrontalMappingTest.zip
(802.45 KiB) Downloaded 342 times
Intel i7-5930K 6 Core 3.5 GHz // GTX 780 Ti (x4) // 32GB Ram // 1TB SSD
vimeo.com/jate
User avatar
atome451
Licensed Customer
Posts: 285
Joined: Mon Feb 22, 2010 8:04 pm
Location: Brussels - Belgium
Contact:

Hi,

You should work with a "matte" material on your ground (or mesh(es) following the global structure) and a background object because your camera mapping materials will be influenced by the ambient color (there is no specific luminence channel in Octane). A "matte" material will not work with a camera mapping because it only interacts with alpha and environment, not objets hidden by the "matte" material. As background object is seen through alpha, it'll work.

Of course, your render should have the same pixels dimensions than your background picture and you should activate the lock of the Live Viewer to be sure to adjust your camera in the same proportions and orientation of your background.
You'll control the global illumination of your object with an Octane environment object (with a texture color or hdri map), or with lights of course. But don't forget that Octane has a default grey illumination if you don't add an Octane sun or Octane environment.

I hope this will help you. Sorry for my poor english.
a sample
a sample
Win10 64bits | 3x 980 + 2x 670 + 1060 | Cubix XPander + network | Core i7 3600 MHz | 32GB | 1300w PSU
Sorry for my bad english...
Post Reply

Return to “Maxon Cinema 4D”