# Vray Material Converter

**URL:** <https://forums.chaos.com/t/vray-material-converter/14608>\
**Category:** General\
**Created:** [May 29, 2007, 1:00am UTC](https://forums.chaos.com/t/vray-material-converter/14608 "2007-05-29T01:00:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Druski](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Druski](https://forums.chaos.com/u/Druski)\
**Post date:** [May 29, 2007, 1:00am UTC](https://forums.chaos.com/t/vray-material-converter/14608/1 "2007-05-29T01:00:09Z")

</div>

I was wondering if anyone has a modified script out there that will convert standard materials to vray materials on an individual/selected basis. Whether it converts for selected object or the selected material slot doesn’t matter, just as long as it doesn’t do it for the whole scene. Not much of a scripter so I apologise if this is an easy one…

---

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [May 29, 2007, 1:56am UTC](https://forums.chaos.com/t/vray-material-converter/14608/2 "2007-05-29T01:56:04Z")

</div>

nearly as easy as a right click \> vray scene convertor.

---

<div class="post-metadata">

**Author:** ![Druski](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Druski](https://forums.chaos.com/u/Druski)\
**Post date:** [May 29, 2007, 2:07am UTC](https://forums.chaos.com/t/vray-material-converter/14608/3 "2007-05-29T02:07:00Z")

</div>

yes, that will do it for the whole scene though, it would be nice to be able to convert individual materials.

---

<div class="post-metadata">

**Author:** ![Druski](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Druski](https://forums.chaos.com/u/Druski)\
**Post date:** [May 29, 2007, 4:17am UTC](https://forums.chaos.com/t/vray-material-converter/14608/4 "2007-05-29T04:17:42Z")

</div>

found a way around it, if anyone else is intersted in the script let me know

---

<div class="post-metadata">

**Author:** ![n6](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/n6/32/9238_2.png) [@n6](https://forums.chaos.com/u/n6)\
**Post date:** [May 29, 2007, 1:01pm UTC](https://forums.chaos.com/t/vray-material-converter/14608/5 "2007-05-29T13:01:52Z")

</div>

> [@Druski](#):
>
> found a way around it, if anyone else is intersted in the script let me know

yep! I m interested!

Also, do you think it would be complicated to do a script that convert VRay materials BACK to standards material? I mean only the VRAY diffuse slot back to a standard material with the same diffuse.

---

<div class="post-metadata">

**Author:** ![studioDIM](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@studioDIM](https://forums.chaos.com/u/studioDIM)\
**Post date:** [May 29, 2007, 6:21pm UTC](https://forums.chaos.com/t/vray-material-converter/14608/6 "2007-05-29T18:21:46Z")

</div>

doing a material converter isn’t complicated, it’s just dead boring and fairly long.  
it needs to cater for loads of possible options and oddities, unless one simplifies it to the point where it’s hardly usable for a real conversion, forcing the user to go in and change by hand some option in dozens of materials.

Lele

---

<div class="post-metadata">

**Author:** ![n6](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/n6/32/9238_2.png) [@n6](https://forums.chaos.com/u/n6)\
**Post date:** [May 29, 2007, 8:08pm UTC](https://forums.chaos.com/t/vray-material-converter/14608/7 "2007-05-29T20:08:38Z")

</div>

> [@studioDIM](#):
>
> doing a material converter isn’t complicated, it’s just dead boring and fairly long.  
> it needs to cater for loads of possible options and oddities, unless one simplifies it to the point where it’s hardly usable for a real conversion, forcing the user to go in and change by hand some option in dozens of materials.
> 
> Lele

What you are saying is the EXACT OPOSIT of what I said :roll: …

I dont need all parameters to be converted, I ONLY need the diffuse map!..

---

<div class="post-metadata">

**Author:** ![instinct](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/instinct/32/74489_2.png) [@instinct](https://forums.chaos.com/u/instinct)\
**Post date:** [May 29, 2007, 8:15pm UTC](https://forums.chaos.com/t/vray-material-converter/14608/8 "2007-05-29T20:15:11Z")

</div>

The problem is that if one starts doing a script for you doing only the diffuse map then someone will pop up that very day and ask for the bump map only…and within a month you’ll find yourself writing a full-fledge, all around, feature complete, rock solid converter and spend 80% of your day providing tech support 😛

Thorsten

---

<div class="post-metadata">

**Author:** ![n6](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/n6/32/9238_2.png) [@n6](https://forums.chaos.com/u/n6)\
**Post date:** [May 29, 2007, 8:20pm UTC](https://forums.chaos.com/t/vray-material-converter/14608/9 "2007-05-29T20:20:50Z")

</div>

> [@instinct](#):
>
> The problem is that if one starts doing a script for you doing only the diffuse map then someone will pop up that very day and ask for the bump map only…and within a month you’ll find yourself writing a full-fledge, all around, feature complete, rock solid converter and spend 80% of your day providing tech support 😛
> 
> Thorsten

then you advise not to do anything?!! thats is? :roll:

---

<div class="post-metadata">

**Author:** ![n6](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/n6/32/9238_2.png) [@n6](https://forums.chaos.com/u/n6)\
**Post date:** [May 29, 2007, 8:23pm UTC](https://forums.chaos.com/t/vray-material-converter/14608/10 "2007-05-29T20:23:19Z")

</div>

this feature has been ask and ask and ask again from a lot of forum’s member that work for real time 3D…

NOBODY HERE US

---

<div class="post-metadata">

**Author:** ![dlparisi](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/dlparisi/32/14236_2.png) [@dlparisi](https://forums.chaos.com/u/dlparisi)\
**Post date:** [May 29, 2007, 8:55pm UTC](https://forums.chaos.com/t/vray-material-converter/14608/11 "2007-05-29T20:55:49Z")

</div>

Exactly who do you expect to listen? Chaos? You’re asking for a script to convert vray materials into something else for a differerent renderer. How does this fall under the term “feature” and get classified in to someting that Chaos has to provide? Should they also provide tools to convert vray materials to mental ray? to renderman? If it’s that important to you either learn scripting in max or hire someone to do it for you (I’m sure Lele will do it if you pay him enough 😉).

---

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [May 29, 2007, 9:00pm UTC](https://forums.chaos.com/t/vray-material-converter/14608/12 "2007-05-29T21:00:54Z")

</div>

From the sounds of it I’d advise learning maxscript 🙂

---

<div class="post-metadata">

**Author:** ![instinct](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/instinct/32/74489_2.png) [@instinct](https://forums.chaos.com/u/instinct)\
**Post date:** [May 29, 2007, 9:06pm UTC](https://forums.chaos.com/t/vray-material-converter/14608/13 "2007-05-29T21:06:48Z")

</div>

Heh…sorry, i didnt mean to sound rude or anything, i was actually kidding. But as usual the joke has a true core. When providing free scripts or plugins or anything ppl always expect them to fail-proof and do everything they need (even if they are the only one needing a specific feature). Maxscript isnt that hard. There’s a plethora of Tutorials and Reference available. If you need something as simple as a Vray-\>MaxMat converter that only needs to keep diffuse maps i’d definately suggest to look into doing it yourself. You can even use the exisiting converters as a reference (\*hint\* you need to do it backwards \*/hint\* :P)

Regards,  
Thorsten

---

<div class="post-metadata">

**Author:** ![n6](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/n6/32/9238_2.png) [@n6](https://forums.chaos.com/u/n6)\
**Post date:** [May 29, 2007, 9:29pm UTC](https://forums.chaos.com/t/vray-material-converter/14608/14 "2007-05-29T21:29:20Z")

</div>

I will…in my next life for sure…

---

<div class="post-metadata">

**Author:** ![DaForce](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/daforce/32/22846_2.png) [@DaForce](https://forums.chaos.com/u/DaForce)\
**Post date:** [May 30, 2007, 12:09am UTC](https://forums.chaos.com/t/vray-material-converter/14608/15 "2007-05-30T00:09:20Z")

</div>

:lol:

If you want it so bad, do it yourself n6… its so simple it shouldnt be too hard to work out.

---

<div class="post-metadata">

**Author:** ![n6](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/n6/32/9238_2.png) [@n6](https://forums.chaos.com/u/n6)\
**Post date:** [May 30, 2007, 2:28am UTC](https://forums.chaos.com/t/vray-material-converter/14608/16 "2007-05-30T02:28:08Z")

</div>

> [@DaForce](#):
>
> :lol:
> 
> If you want it so bad, do it yourself n6… its so simple it shouldnt be too hard to work out.

thanks for your very precious help…

---

<div class="post-metadata">

**Author:** ![RErender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/rerender/32/42964_2.png) [@RErender](https://forums.chaos.com/u/RErender)\
**Post date:** [May 30, 2007, 3:11am UTC](https://forums.chaos.com/t/vray-material-converter/14608/17 "2007-05-30T03:11:31Z")

</div>

```auto
for obs in objects do 
	(
	vrmat = obs.material
	if classof vrmat==VRayMtl then 
		(
		stdmat = Standardmaterial ()
		stdmat.name = vrmat.name
		stdmat.diffuseMap = vrmat.texmap_diffuse
		obs.material = stdmat
		)
    )

```

Very basic, will not support any multi mats or anything else other than a vraymat

---

<div class="post-metadata">

**Author:** ![DaForce](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/daforce/32/22846_2.png) [@DaForce](https://forums.chaos.com/u/DaForce)\
**Post date:** [May 30, 2007, 3:17am UTC](https://forums.chaos.com/t/vray-material-converter/14608/18 "2007-05-30T03:17:52Z")

</div>

> [@n6](#):
>
> > [@DaForce](#):
> >
> > :lol:
> > 
> > If you want it so bad, do it yourself n6… its so simple it shouldnt be too hard to work out.
> 
> thanks for your very precious hel…

Thanks for your precious comments 😄

---

<div class="post-metadata">

**Author:** ![RErender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/rerender/32/42964_2.png) [@RErender](https://forums.chaos.com/u/RErender)\
**Post date:** [May 30, 2007, 3:25am UTC](https://forums.chaos.com/t/vray-material-converter/14608/19 "2007-05-30T03:25:26Z")

</div>

> [@DaForce](#):
>
> > [@n6](#):
> >
> > > [@DaForce](#):
> > >
> > > :lol:
> > > 
> > > If you want it so bad, do it yourself n6… its so simple it shouldnt be too hard to work out.
> > 
> > thanks for your very precious hel…
> 
> Thanks for your precious comments 😄

]

Don’t mind him n6, he’s just trying to up his post count 😉

---

<div class="post-metadata">

**Author:** ![DaForce](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/daforce/32/22846_2.png) [@DaForce](https://forums.chaos.com/u/DaForce)\
**Post date:** [May 30, 2007, 3:54am UTC](https://forums.chaos.com/t/vray-material-converter/14608/20 "2007-05-30T03:54:52Z")

</div>

> [@RErender](#):
>
> > [@DaForce](#):
> >
> > > [@n6](#):
> > >
> > > > [@DaForce](#):
> > > >
> > > > :lol:
> > > > 
> > > > If you want it so bad, do it yourself n6… its so simple it shouldnt be too hard to work out.
> > > 
> > > thanks for your very precious hel…
> > 
> > Thanks for your precious comments 😄
> 
> Don’t mind him n6, he’s just trying to up his post count 😉

Don’t mind him n6, he’s just being a tool 😉

[Next page](https://forums.chaos.com/t/vray-material-converter/14608.md?page=2)
