How rotate Bitmap material [SOLVED]
-
On 04/01/2015 at 17:20, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R15.057
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;---------
I need to rotate with Angle a Bitmap Material using Transformation effect or any other method, I don't know the correct parameters names to access it using Coffee Script.I'll be gratefully if someone can help me.
Thank you.
-
On 04/01/2015 at 17:44, xxxxxxxx wrote:
You can use the Coordinates on the Texture tag associated with the Material to rotate on the object if and only if the mapping is *not* UVW, Camera, or Frontal. This does not literally rotate the bitmap but simply rotates the texture application on the object.
Otherwise, you will need to rotate the bitmap yourself and decide whether to clip the pixels to retain the bitmap wxh or update the wxh to fit all of the pixels. That would be a bit of coding and probably not something to do in a COFFEE script.
-
On 05/01/2015 at 03:32, xxxxxxxx wrote:
Thanks Robert for you reply, I can't use the Coordinate on the Texture because the mapping is UVW.
With C4D igu exit 2 solutions to do it, but i don't know how program it with Coffee Script:- In Material- Color-Texture add a Layer with Effect Transfrom and change Angle propierty.
OR - Select object, open UV Tools (UV Mapping) and in Transfrom option change Rotate propierty.
The problem for me is do it with coffee Script. !!!!
- In Material- Color-Texture add a Layer with Effect Transfrom and change Angle propierty.
-
On 05/01/2015 at 09:48, xxxxxxxx wrote:
Hello,
Editing a Layer Shader is currently only possible using the C++ SDK. There you can edit the
Transformation Parameters
[URL-REMOVED].Also applying the UV commands using
CallUVCommand()
[URL-REMOVED] is only possible in C++.So for this specific task you have to use the C++ SDK. For new scripts I suggest to switch to the Python SDK (where possible), which is more extensive than the Coffee SDK.
Best wishes,
Sebastian
[URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.
-
On 05/01/2015 at 11:47, xxxxxxxx wrote:
Thank you Sebastian, I'll try to do like you comment.
Best regards.