Problem of repetition of texture

Announcements, requests and support regarding the Cinema 4D exporter
Post Reply
7 posts • Page 1 of 1
User avatar
SCHMUMS
Posts: 88
Joined: Sat Oct 16, 2010 1:08 am
Location: Paris
Contact:

Problem of repetition of texture

Post by SCHMUMS » Sun Aug 28, 2011 6:31 am

Good evening everyone,
I have trouble with texture in my C4D scene. Indeed, the logo (Citroen) is properly plated, and appears well when I start rendering in C4D. Out when I export my scene and start rendering in indigo logo apara duplicated. (See screenshots) I checked my preferences in texture is the "repetition" is not enabled ... I do not see at all or is the problem.
thank you in advance for your help.
Attachments
rendu indigo.jpg
config texture.png
scene c4d.png
C4DR11.5-R12 user-Quad core Intel Xenon 2X2,26 GHZ
Zbrush 4

User avatar
pixie
Indigo 100
Posts: 2332
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Re: Problem of repetition of texture

Post by pixie » Mon Aug 29, 2011 7:20 am

AFAIK there's no way to avoid repetion other then conform the texture to a given face.

User avatar
galinette
1st Place Winner
Posts: 923
Joined: Sat Jan 09, 2010 1:39 am
Location: Nantes, France
Contact:

Re: Problem of repetition of texture

Post by galinette » Mon Aug 29, 2011 7:32 am

pixie wrote:AFAIK there's no way to avoid repetion other then conform the texture to a given face.
Actually you can with a shader. It would be a nice feature for exporters to support this!

Etienne
Eclat-Digital Research
http://www.eclat-digital.com

User avatar
SCHMUMS
Posts: 88
Joined: Sat Oct 16, 2010 1:08 am
Location: Paris
Contact:

Re: Problem of repetition of texture

Post by SCHMUMS » Mon Aug 29, 2011 9:49 am

thank you Galinette!
can you explain the method?
Must you use a shader C4d or Indigo?
C4DR11.5-R12 user-Quad core Intel Xenon 2X2,26 GHZ
Zbrush 4

User avatar
Zom-B
1st Place 100
Posts: 4700
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Problem of repetition of texture

Post by Zom-B » Mon Aug 29, 2011 6:49 pm

SCHMUMS wrote:Must you use a shader C4d or Indigo?
Of cause a Cindigo shader.
the Cindigo ISL Shader allows you to set costume shader code for a material channel.
for a quick workaround you can simply raise the dimension of your texture with a big white border, so repetition wont be a issue on your model...

Anyway a this tilling issue is something I would like to see solved at some point, directly in Indigo core maybe...
polygonmanufaktur.de

User avatar
galinette
1st Place Winner
Posts: 923
Joined: Sat Jan 09, 2010 1:39 am
Location: Nantes, France
Contact:

Re: Problem of repetition of texture

Post by galinette » Mon Aug 29, 2011 7:15 pm

I'm not sure that core support is required since a shader perfectly does it. However, exporter support through a "non-repeat" checkbox that generates a user-masked shader would be great.

You can use the shader below, for instance in the "diffuse" channel. You need to define your image as a shader texture instead of the diffuse texture. Then the diffuse shader uses it. The little formulas just sample the texture at the given texture coordinates after a small clamping to (0,1). I do not know cindigo, so I don't know about shaders and shader textures in cindigo. But this works well in the material editor.

Code: Select all

def eval(vec3 pos) vec3 :
	sample2DTextureVec3(0,clamp(getTexCoords(0), vec2(0.0, 0.0), vec2(1.0, 1.0) ))
Eclat-Digital Research
http://www.eclat-digital.com

User avatar
SCHMUMS
Posts: 88
Joined: Sat Oct 16, 2010 1:08 am
Location: Paris
Contact:

Re: Problem of repetition of texture

Post by SCHMUMS » Mon Aug 29, 2011 10:33 pm

Merci Galinette pour ta réponse!
comme dis dans mon MP je ne suis pas trs à l'aise en Anglais et pas sur de comprendre correctement tes indications.
Pour resumer je suis passer par Material Editor, nouvelle material (Diffuse), type Shader, j'ai inseré le code que tu m'as communiquer.
Je ne comprends pas trop le reste de tes indications pour eviter les repetitions.
Encore merci de ton aide
Olivier
C4DR11.5-R12 user-Quad core Intel Xenon 2X2,26 GHZ
Zbrush 4

Post Reply
7 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 26 guests