Trinity3D.com
Buy online or call 1-800-548-1578
Home Contact Us Downloads Free Tutorials Animation Production  

 
   

Bookmark and Share  



  VRay Categories   Categories

VRay for 3ds Max
VRay for Maya
VRay Educational
VRay for Rhino
VRay for SketchUp
VRay for Cinema4D
VRay for Softimage
VRay Standalone
VRay Bundles
Learn VRay Interiors
Learn VRay Exteriors


Animation Production
Photosimulation


  VRay Resources   VRay Resources

1. Free VRay Demo
2. Free VRay Tools
3. Free VRay Tutorials
4. VRay Documentation
5. VRay Tips and Tricks
6. VRay Gallery


  VRay Bestsellers   Bestsellers

1. VRay 2 for 3ds Max
2. VRay for Sketchup 8
3. VRay for Maya
4. VRay Educational
5. Learn VRay Bundle
6. VRay for Rhino 4


     Special
Gift certificates


     Help

Contact us

800-548-1578 - (US)
816-525-0103 - (International)

email: sales@trinity3d.com


Privacy statement
Terms & Conditions


  What's New   What's New

Archinteriors Bundle

Save Big with Evermotion Bundles

ArchModels, ArchInteriors, and/or ArchExteriors

1. ArchBundles 2-Pack
2. ArchBundles 3-Pack
3. ArchBundles 4-Pack
4. ArchBundles 6-Pack
5. Archinteriors Vol 1 - Vol 5 Bundle
6. Archinteriors Ultra Bundle


     Newsletter

Subscribe to our Newsletter!

Trinity3D.com Newsletter

Subscribe to our newsletter and receive new product announcements, special sales, coupons and more! Your email address is never shared, is always kept strictly confidential and you can unsubscribe at any time.

Trinity3D.com Newsletter
 

* Your Email Address

 

 


  VRay Home  ::  VRay Documentation Home ::  VRay Renderer Parameters

  Buy VRay
VRay
Buy VRay
 

Buy VRay (Educational Version)


Buy VRay Tutorials


Free 30 day Demos


General

Note that MaxScript support is only available for 3dsmax 5.x and later. While VRay still exports all its parameters to MaxScript in 3dsmax 3.x and 3dsmax 4.x, there is no MaxScript access to the current renderer in those version.

In 3dsmax 5.x and higher, assuming that your current renderer is set to VRay, you can refer to it from MaxScript using the renderers structure:

vr=renderers.current

VRay_Adv_1_09_03g:VRay_Adv_1_09_03g

Renderer properties

Assuming that the variable vr holds an instance of the VRay renderer, you can work with the renderer settings as with any other MaxScript object:

showproperties vr

.imageSampler_type : integer

.fixedRate_subdivs : integer

.fixedRate_rand : boolean

...............

...............

...............

.options_maxDepth : integer

.options_maps : boolean

.options_filterMaps : boolean

.output_on : boolean

.output_width : integer

.output_height : integer

.output_fileOnly : boolean

.output_saveFile : boolean

.output_fileName : string

.output_saveRawFile : boolean

.output_rawFileName : string

false

Accessing the parameters is fairly easy, for example:

vr.gi_on=true
true

Renderer methods

You can also use the following methods for saving/loading irradiance and photon maps (assuming that vr holds an instance of VRay):

Renderer method Description

vr.saveCausticsPhotonMap <filename>

saves the current caustics photon map to the given file
vr.saveGlobalPhotonMap <filename> saves the current global photon map to the given file
vr.saveIrradianceMap <filename> saves the current irradiance map to the given file
vr.saveLightCache <filename> saves the current light cache to the given file
vr.loadIrradianceMap <filename> loads the irradiance map from the given file
vr.clearIrradianceMap() clears the irradiance map that is currently in memory
vr.clearLightCache() clears the light cache that is currently in memory

Global functions

Additionally, the following MaxScript functions are globally available:

Global function Description
doVRayObjectProperties() brings up the VRay Object Properties dialog
doVRayMeshExport() brings up the VRay Mesh Export dialog
vrayMeshExport [meshFile:"<mesh file>"] [autoCreateProxies:true|false] [exportMultiple:true|false] exports a .vrmesh file without showing a dialog
  

Follow our newsfeed for all latest product updates and discounts

     Your cart
Cart is empty

View cart
Checkout


     Authentication
Username

Password

Log in
Register
Recover password

If you have disabled Javascript in your browser click here


     VRay News

Populate your scenes quickly and professionally with Evermotion's 3D Archmodels!

Evermotion Archmodels Vol. 70

Add top quality props to your scene within minutes. Archmodels provides professional high quality 3D models for your visuals.

Click for more details


     Popular Products

Facebook 

Follow us on Facebook!

Get the latest info on new products and special offers.

Or check out our ebay store - Discounted items


 
 
Trinity Animation Inc.

Pre-Sale and Post Sale Support

We have years of real world production experience and our knowledgeable staff can provide you the support you need for your pre-sale or post sale questions.

Contact us at sales@trinity3d.com.