How to convert procedural to texture

Discussions about rendering in SOFTIMAGE©
User avatar
Maximus
Posts: 1121
Joined: 09 Jun 2009, 13:45

How to convert procedural to texture

Post by Maximus » 24 Sep 2012, 13:32

I was tryin ti figoure out how to convert a procedural texture like the ones from enhance Xsi to a jpg, anyone have some solution?

Thanks

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: How to convert procedural to texture

Post by Hirazi Blue » 24 Sep 2012, 13:55

RenderMap (albedo)? :-\
Stay safe, sane & healthy!

Fer
Posts: 52
Joined: 03 May 2011, 12:38

Re: How to convert procedural to texture

Post by Fer » 24 Sep 2012, 14:56

Or Color sampler, check the manual, it's clearly explained. for a good quality texture, start with a 2k output.

User avatar
Maximus
Posts: 1121
Joined: 09 Jun 2009, 13:45

Re: How to convert procedural to texture

Post by Maximus » 08 Oct 2012, 17:30

Fer wrote:Or Color sampler, check the manual, it's clearly explained. for a good quality texture, start with a 2k output.
Correct me if i'm wrong, reading the manual both the Rendermap and Color Sampler convert and bake the texture but with the actual llighting in it, which i dont want.
Basically what i would like to do is use the enhance Xsi procedural shaders with a render engine that doesnt support them. So my idea was to create a procedural pattern map it to the object and export it as texture, so i can apply this texture to the object and material in the external render engine and it renders it.

Baking wont do because it bakes the light and shadows wich i dont want.

Thanks a lot for help

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: How to convert procedural to texture

Post by Hirazi Blue » 08 Oct 2012, 18:10

I don't know about the color sampler, but rendermap has an option called "Surface Color Only (albedo)", which I abbreviated as "albedo" in my previous post, that "bakes object surface color into the rendermap output image, without considering the current illumination environment."
;)
Stay safe, sane & healthy!

User avatar
ActionArt
Posts: 853
Joined: 25 Nov 2010, 17:23
Location: Canada

Re: How to convert procedural to texture

Post by ActionArt » 08 Oct 2012, 18:29

I'm not an expert in this but could another option could be to use a constant shader?

User avatar
Mathaeus
Posts: 1778
Joined: 08 Jun 2009, 19:11
Location: Zagreb, Croatia

Re: How to convert procedural to texture

Post by Mathaeus » 08 Oct 2012, 19:09

As Hirazi said, "albedo" option should do the trick. While ago I did literally thousands of baked textures for games, it was my first job with XSI, so I know what I talking :). However, it doesn't work as expected with "unusual" materials, let's say there is a chance for double, additive blended "albedo" in case of Metallic Paint.
Generally I've used what Action Art said. That is, Constant material, or, to avoid alpha issues with Constant, just a Lambert with plain black diffuse and texture plugged into incandescence of full weight.

Fer
Posts: 52
Joined: 03 May 2011, 12:38

Re: How to convert procedural to texture

Post by Fer » 08 Oct 2012, 19:56

No, you won't have any shading in your baked texture, just create a lightmap, specify the resolution, the format, chose
RGB if you don't have an alpha.

Connect the lightmap to the texture port of the color sampler, your desired procedural
texture to the input port, and the resulting color sampler to the lightmap material port.

specify lightmap creation in your optimization tab of the render region options, drag a little render region just to launch the map creation.

and voila! grab your baked texture where you did specified it in the lightmap texture path.

you don't need to connect anything to the surface or shadow port material if you're not sure.