Octane v3 Projection Mapping help

Forums: Octane v3 Projection Mapping help
A public forum for discussing and asking questions about the demo version of Octane Render.
Forum rules
For new users: this forum is moderated. Your first post will appear only after it has been reviewed by a moderator, so it will not show up immediately.
This is necessary to avoid this forum being flooded by spam.

Octane v3 Projection Mapping help

Postby Doctor_Pizza » Fri Mar 10, 2017 9:01 pm

Doctor_Pizza Fri Mar 10, 2017 9:01 pm
I'm having a difficult time figuring out Projection Mapping in Octane v3 for Cinema 4D. I'm very familiar with the process using C4D's built-in renderers. I've done it many, many times. But Octane is throwing a wrench into my plans.

I have a Projection node with Perspective mode. And I have a Camera chosen that's used as the texture projector. And that's linked into an ImageTexture node which is piped into the Emission channel of an Octane Diffuse shader. (Emission is power 1, with Surface Brightness turned on).

The main problem is that the image projected onto the geometry is upside down and slightly stretched tall.

Secondly, if I pipe the ImageTexture into the Diffuse channel, the C4D viewport of the projected texture does not match what's in Octane's Live Viewer. So it's really hard lining up geometry to the image in the C4D viewport.

I'd post a scene, but the project is on an isolated machine without network access. And the machine I'm writing this on doesn't have an Nvidia card to run Octane. But I would appreciate any help (or sample file) figuring this out.
Octane 3 / C4D R17 / Win 7 64 SP 1 / Dual GTX Titan X (Driver 368.69) / Dual Xeon E5-2680 v3 @ 2.50GHz / 64GB RAM
Doctor_Pizza
 
Posts: 15
Joined: Wed Jul 13, 2016 8:46 pm
Location: Los Angeles, California USA

Re: Octane v3 Projection Mapping help

Postby aoktar » Fri Mar 10, 2017 9:28 pm

aoktar Fri Mar 10, 2017 9:28 pm
Distribution of emissions will not use uvmapping but a spherical projection. This is first mistake here. You need to connect your image it to texture slot not distribution. Second you'll need to use a transform node to rotate and scale for matching output. I think example scenes package have a sample for that.

There is another way rather than this. You can simply use camera mapping option in projection type from texture tags. And use it on a mesh which has some extra subdivision to avoid streching effect on uvmap.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15965
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Octane v3 Projection Mapping help

Postby noisyboyuk » Sat Mar 11, 2017 1:59 pm

noisyboyuk Sat Mar 11, 2017 1:59 pm
You have to use Camera Mapping material projection and select the camera you want to project from, for example:

CINEMA 4D_2017-03-11_13-53-38.png


Make sure you have your film aspect set as per your source. Are you projecting a still or video? I'm personally having issues with projecting video with this method. I can project it fine but as soon as I hit play the projection starts to drift unlike when using Cinema's renderer.

Also, you don't have to use an Octane material to do this, you can always use a Cinema 4D material with your source in the colour channel. Personally I think doing it with Octane materials is massively counterintuative which I do hope gets a better solution in future. It would be another reason to not have to keep turning back to Arnold all the time.
noisyboyuk
Licensed Customer
Licensed Customer
 
Posts: 103
Joined: Thu Apr 21, 2016 5:28 am

Return to Demo Version Questions & Discussion


Who is online

Users browsing this forum: No registered users and 10 guests

Wed Apr 24, 2024 3:23 am [ UTC ]