<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Switch texture in Redshift material based on object name]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">So I have a bunch of identical objects (think typewriter keys). They all need the same material - but with a different graphic on them. I have all the graphics as separate files.</p>
<p dir="auto">I could duplicate the materials and swap out the textures but then each adjustment to the material would have to be managed across all the copies.</p>
<p dir="auto">What would be nicer of course is the ability to use the object name to select the corresponding texture. For instance: object name is "1", so the texture "1.png" is loaded.</p>
<p dir="auto">I imagine something like this might be possible with 'string' user data or something, but I don't really know how to start.</p>
<p dir="auto">Cheers,</p>
<p dir="auto">Barend</p>
]]></description><link>https://cineversity.forums.maxon.net/topic/624/switch-texture-in-redshift-material-based-on-object-name</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 14:29:53 GMT</lastBuildDate><atom:link href="https://cineversity.forums.maxon.net/topic/624.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Aug 2023 14:59:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Switch texture in Redshift material based on object name on Wed, 30 Aug 2023 06:00:42 GMT]]></title><description><![CDATA[<p dir="auto">P.S.: Here are two ideas.<br />
https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2023_PROJECTS_DRS/20230829_CV4_2023_drs_23_RStb_01.zip<br />
(render it)<br />
Instead of typing the Offset manually, the Cloner could do that with a Blend setting. Linear and simple. Then use an Inheritance Effector/Matrix to position the Clones.<br />
The other file uses UserData Integer to drive a Shader Switch; I used the Blend option again. (The Cubes have User Data)</p>
<p dir="auto">Enjoy</p>
]]></description><link>https://cineversity.forums.maxon.net/post/2075</link><guid isPermaLink="true">https://cineversity.forums.maxon.net/post/2075</guid><dc:creator><![CDATA[Dr. Sassi]]></dc:creator><pubDate>Wed, 30 Aug 2023 06:00:42 GMT</pubDate></item><item><title><![CDATA[Reply to Switch texture in Redshift material based on object name on Tue, 29 Aug 2023 16:55:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi Barend,</p>
<p dir="auto">Sounds good, thanks for the feedback.</p>
<p dir="auto">My best wishes for your project.</p>
]]></description><link>https://cineversity.forums.maxon.net/post/2069</link><guid isPermaLink="true">https://cineversity.forums.maxon.net/post/2069</guid><dc:creator><![CDATA[Dr. Sassi]]></dc:creator><pubDate>Tue, 29 Aug 2023 16:55:00 GMT</pubDate></item><item><title><![CDATA[Reply to Switch texture in Redshift material based on object name on Tue, 29 Aug 2023 07:35:45 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, I did indeed catch Sauls video which led me to the string user data. It looks like this would be too complex for my scripting skills at this point. I had thought about your suggestion to do a single flat texture - but the objects are all individually animated clones so I dismissed that. But thinking about it some more I realize I could make it a single texture with all the symbols in a row, and offset the UV mapping per object. So thanks!</p>
]]></description><link>https://cineversity.forums.maxon.net/post/2066</link><guid isPermaLink="true">https://cineversity.forums.maxon.net/post/2066</guid><dc:creator><![CDATA[Bar3nd]]></dc:creator><pubDate>Tue, 29 Aug 2023 07:35:45 GMT</pubDate></item><item><title><![CDATA[Reply to Switch texture in Redshift material based on object name on Mon, 28 Aug 2023 18:13:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi Barend,</p>
<p dir="auto">This would perhaps require a lot more than just the object name. It works via User Data, which would need to created and filled first, then comes a longer evaluation, which is not even detailed in the menu. That would be a tutorial request.<br />
https://help.maxon.net/r3d/cinema/en-us/Default.htm#html/String+User+Data.html?Highlight=string</p>
<p dir="auto">If you use Redshift 3D and some kind of Social media, you might have seen Saul's replies. Here is a Houdini based preview of the workings:<br />
https://www.youtube.com/watch?v=jlK02hj4R14</p>
<p dir="auto">My suggestion would be to prepare a top view from the keys and create a single flat texture for all keys. That can be on the left, while on the right side the material tag contains the perhaps a more details surface material.</p>
<p dir="auto">Here is a quick example:<br />
https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2023_PROJECTS_DRS/20230828_CV4_2023_drs_23_RStw_01.zip</p>
<p dir="auto"><img src="/assets/uploads/files/1693246313863-screen-shot-2023-08-28-at-11.10.19-am-resized.jpg" alt="Screen Shot 2023-08-28 at 11.10.19 AM.jpg" class=" img-responsive img-markdown" /></p>
<p dir="auto">All the best</p>
]]></description><link>https://cineversity.forums.maxon.net/post/2054</link><guid isPermaLink="true">https://cineversity.forums.maxon.net/post/2054</guid><dc:creator><![CDATA[Dr. Sassi]]></dc:creator><pubDate>Mon, 28 Aug 2023 18:13:32 GMT</pubDate></item></channel></rss>