Would you like to react to this message? Create an account in a few clicks or log in to continue.

Simplifying Vray Proxy

+24
ronzcobella
najmuddinke
ar_monzter
cloud20
arkiangel
tanting
sajantk
darkirender
ONCIRE
anthony_als
phranq
a.espinosa
v_wrangler
mammoo_03
mokong
darrelljay
jhames joe albert infante
ericson_ya
pugot ulo
torring
meiahmaya
master_grayback
archrene
render master
28 posters

Page 1 of 3 1, 2, 3  Next

Go down

Simplifying Vray Proxy Empty Simplifying Vray Proxy

Post by render master Wed Jan 07, 2009 4:07 am

Note: This is an advance posting, the image is still on posting process, sorry.

Simplifying VrayProxy Tutorial

VrayPrxoxy is one method of saving a lot of geometry as well as saving a lot of rendertimes by creating an external proxy to your scene. However some procedures might be consider for us not to end up rendering a proxy with just one material. This is the error we usually encountered... and this method hope will ease up and address that situation.

The following notes was derived from Vray Manual Spot3d vray help file (or if you dont have, you can download my compiled Vray manual - same manual, only it was compiled into one pdf file with some added features and samples)

ALL ABOUT VRAY PROXY

• The geometry generated by the proxy object is not modifiable. Any modifiers applied to the VRayProxy
object will be ignored.

• At present, the .vrmesh file cannot store deforming animated meshes. However,
a #preRenderEval MaxScript callback can be used to replace the .vrmesh file name of the proxy object. A suitable
callback script can cause different mesh files to be used for each frame, thus creating an animation effect.

• If you need to create several proxies linked to the same .vrmesh file, it's better to make them instances - this will
save memory since the .vrmesh file will be loaded only once.

• Materials are not saved in the .vrmesh file. Instead, the geometry will be rendered with the material applied to the
VRayProxy object. This is because third party materials and procedural textures would be difficult to describe in a
general way. In addition, you may want to edit the material independently of the mesh.

• The resulting .vrmesh files can be rendered outside of 3ds Max - for example, by the standalone version of V-Ray,
or V-Ray for Maya.

• Shadow maps will not include information about the proxy objects. If you want the proxy objects to cast shadows,
you should use VRayShadows.

• You can convert .ply and .obj files to .vrmesh files with the help of the ply2vrmesh converter tool.

• The V-Ray SDK has methods for reading and writing of .vrmesh files.


1. To start with,let us create some simple objects as an exercise for our vrayproxy. I create a simple teapot, then break it down to component ( body, spout, cover and handle), then applied with diffirent materials. See image below.

Simplifying Vray Proxy Vraypr10

The rendered image

Simplifying Vray Proxy Vraypr11

2. Let us now convert the model into vraymesh. The most convenient way is to isolate the object or group of object you want to make for vraymesh proxy. To isolate, select the object/s, right click then select isolate. The next step is to attach each object from one another. Click one object then on Modifying panel, under Edit Geometry select attach. Press the small box icon on Attach ( for poly objects) or the Attach List (mesh objects) to launch the object selection dialog box.if you wish to select multiple objects. Highlight all the objects then press attach. Then choose match Material ID to materials

Simplifying Vray Proxy Vraypr13

3. Once all the objects is aleady attached as one, you can now use vraymeshexport.Right click on the object, then on the quadmenu select vray mesh export. then provide necessary information and accept the parameters you prefered. See sample image below.

Simplifying Vray Proxy Vraypr14

4. The next thing i do is to selecting the vraymesh object, then go to file menu and select xref object, then save the vraymeshobject as max file. I do this especially if im working on a complex scene. I will show you the reason for this later as we goes on with this simple tutorial.

Simplifying Vray Proxy Vraypr15

5. You are now ready to use your vraymesh object as proxy. See sample image render with the vrayproxy coppied instance about a hundred times. So this this now conclude the process of creating proxy with a simple objects.

Simplifying Vray Proxy Vraypr16

Here are some usual question about vray proxy.
a. Can i edit the materials of the vray proxy / mesh.
b. Can i use that vraymesh on other scene.
c. Why if i use the vraymesh to other scene, it will rendered as one material only?
d. Can i change my vraymesh material once it was placed on the other scene.

Here are some method that will answer the questions.

6. If your vraymesh is still a resident object of the original scene you are working, then you can still change the materials.You can change the diffuse maps, adjust the tilings, add reflections and more, but you cannot apply uvw mapping and maps scaler anymore, if you do, the object materials will be a mess.

7. You are also free to use the vraymesh on other scene. Just merge your vraymesh max file to your scene.
8. If you failed to export your vraymesh object as maxfile before, you can still use the vraymesh object through vray mesh proxy procedures. see image below.

Simplifying Vray Proxy Vraypr17

However, the above procedure (no.8) have some issues- the material of the proxy object is not a anymore included with the proxy, so the result will be a plain color. This is the reason why I initiated procedure no. 4 of this tutorials.
To get rid of these, follow these simple steps. Press M for material dialog box, select one empty slot, then press the button Standard to go to the material map browser and select Xref material. On file name box, press the opposite icon box (browse for file), and look for your original max file where the vraymesh object was originated.
On the Xref Merge dialog box that will pop up, select the vraymesh object then hit ok. This will merge only the material on your scene. Then drag now your xref material to your vraymesh. See image procedure below.

(vrayproxy9)

if you wish to change the material of the above procedures, merge the material of the xref material to the scene. This will give you full access to its material parameters. see image procedure below

(vrayproxy10)

9. What if the original file where the vraymesh was originated doesnt exist anymore. Meaning its not nowhere to find. To get rid of these follow this procedures. On the image provided was a vraymesh object i made from Evermotion Archmodel
Collection No.33. The object was inserted by means of vray mesh proxy procedures and rendered as shown.... only one plain color, no maps, and no texture.

Simplifying Vray Proxy Vraypr18

I created new material - multi /sub-object material, apply it the vray mesh object. Making a test render.
(vrayproxy11)

Now, change some diffuse color on each material ID. Make a test render. You will see now diffirent color on the object which represent its individual materials. Now edit your new material. Press your material, change it to multi-sub material. On ID number one change its diffuse color, say red. then make a test render. see image below

(vrayproxy12)

See what happened, one part of the model change its color, meaning that color is in material id no. 1, continue until you have completed the color of the vraymeshobject. Now change the material on each slot to your preference and add some textures. You have now full control to your vraymesh proxy object materials. see rendered image

(vrayproxy14)

Here are some of my sample render using vraymesh proxy

(vrayproxy15)
(vrayproxy16)
(vrayproxy17)

Good Luck and happy viewing
Comments and critics are welcome!!!
Any violent reaction are also WELCOME

All rights reserved
rpadc2002@yahoo.com

Note the image is still on posting process, sorry


Last edited by render master on Thu Jun 02, 2011 10:41 am; edited 6 times in total
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by render master Wed Jan 07, 2009 4:08 am

reserved slot for the tutorial
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by Guest Wed Jan 07, 2009 4:13 am

render master wrote:
• At present, the .vrmesh file cannot store deforming animated meshes. However,
a #preRenderEval MaxScript callback can be used to replace the .vrmesh file name of the proxy object. A suitable
callback script can cause different mesh files to be used for each frame, thus creating an animation effect.

Not really a violent reaction but this is not the case for SP2 which now supports animated proxies. FYI.

Guest
Guest


Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by render master Wed Jan 07, 2009 4:19 am

v_wrangler wrote:
render master wrote:
• At present, the .vrmesh file cannot store deforming animated meshes. However,
a #preRenderEval MaxScript callback can be used to replace the .vrmesh file name of the proxy object. A suitable
callback script can cause different mesh files to be used for each frame, thus creating an animation effect.

Not really a violent reaction but this is not the case for SP2 which now supports animated proxies. FYI.

Very fast Sir ah, heheheeh

You are right!! THNKS A LOT Sir ROY 2thumbsup
Hope the tutorial helps for those who need, any error and loop holes info mo lang sir, sometimes kase di nakikita kaagad.
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by Guest Wed Jan 07, 2009 4:20 am

I try to watch all your posts Ronel , thats why Very Happy

Guest
Guest


Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by render master Wed Jan 07, 2009 4:22 am

v_wrangler wrote:I try to watch all your posts Ronel , thats why Very Happy

heheheheh. May watcher pala ako heheheh Very Happy , Thanks
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by Guest Wed Jan 07, 2009 4:28 am

Don't think of that as a negative - I appreciate all your efforts. If not - I would probably not spend time and reply to the threads. Anyways - I look forward to your next installments.

Guest
Guest


Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by render master Wed Jan 07, 2009 4:36 am

v_wrangler wrote:Don't think of that as a negative - I appreciate all your efforts. If not - I would probably not spend time and reply to the threads. Anyways - I look forward to your next installments.


I TAKE IT AS AN INSPIRATION.
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by archrene Thu Jan 08, 2009 2:29 pm

shukran dre, hintayin ko na lang yung mga images. thumbsup
archrene
archrene
CGP Newbie
CGP Newbie

Number of posts : 79
Age : 60
Location : ex-CGP Riyadh
Registration date : 18/11/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by master_grayback Wed Feb 11, 2009 5:58 am

sir Ronel tambay mode ako dito sa tutorial mo ha....need ko eto eh thumbsup
master_grayback
master_grayback
CGP Apprentice
CGP Apprentice

Number of posts : 695
Age : 96
Location : Dubai, pinas na..
Registration date : 11/10/2008

https://s383.photobucket.com/albums/oo274/master_grayback/?albumv

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by render master Mon Feb 16, 2009 2:13 am

heheeh i forgot to update the image.....coming
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by meiahmaya Mon Feb 16, 2009 3:18 am

master onel ser musta po very helpful laht ng tutorials mo at napakatiyga mo tlga magbigay ng mga tutorials na napakahalaga,sana di ka magsasawa ser salaht ng tulong nyo po GODBLESS 2thumbsup 2thumbsup 2thumbsup

meiahmaya
CGP Apprentice
CGP Apprentice

Number of posts : 767
Location : SINGAPORE
Registration date : 25/10/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by torring Mon Feb 16, 2009 3:33 am

Master nice tutorials but this for advance users, btw where can i download spot3d manual in pdf format. TIA.
torring
torring
CGP Apprentice
CGP Apprentice

Number of posts : 658
Age : 55
Location : Tacloban City
Registration date : 04/01/2009

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by pugot ulo Mon Feb 23, 2009 3:39 am

sir, ung tutorial niu po yan po yung ginagawa ko exactly dun sa post ko dito na problem ko with "evermotion plant models thread" and the very big problem is pag ka attach, yung material kadalasan nagiging all color gray ung object, or minsan nag eerror tapos biglang nag ko close mag isa yung max. i think sa super dami na nang segments sa isang object like for example the evermotion plant models. ok naman rig ko. 4GB RAM. quadcore. 64bit XP. 4600 Nvidia Quadro FX.

pugot ulo
CGP Newbie
CGP Newbie

Number of posts : 191
Registration date : 15/10/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by render master Mon Feb 23, 2009 1:01 pm

if you followed the tutorial exactlly, di ka ma-memess up. there are options elaborated.....try ka muna ng mga simple objects.

para di ka mahirapan with the polys. try to make the vraymesh separately then merge it up to your scene.
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by ericson_ya Tue Mar 03, 2009 6:34 am

master onel pde po ba ibalik ung object mo pag naconvert mo na ito into vray proxy? thanks!
ericson_ya
ericson_ya
CGP Newbie
CGP Newbie

Number of posts : 101
Age : 41
Location : Davao / Sg
Registration date : 23/09/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by jhames joe albert infante Thu Mar 26, 2009 8:06 pm

sir sn po madodownlod ung compiled notes mo sir hehe.. magccmula plang po ako sa Max e
jhames joe albert infante
jhames joe albert infante
CGP Expert
CGP Expert

Number of posts : 2733
Age : 39
Location : San Mateo Isabela/Singapore
Registration date : 18/11/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by render master Sat Mar 28, 2009 12:57 am

jhames joe albert infante wrote:sir sn po madodownlod ung compiled notes mo sir hehe.. magccmula plang po ako sa Max e
Aling compiled notes sir....??? baka compiled manual
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by darrelljay Sun Apr 05, 2009 1:32 am

sir tanung lang poh dn poh sa no.4 sasama poh ba ung material ng vraymes object?

thnk you poh sa tutorial

darrelljay
CGP Newbie
CGP Newbie

Number of posts : 181
Age : 37
Location : Lingayen, Pangasinan
Registration date : 25/01/2009

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by render master Sun Apr 05, 2009 3:05 am

yes sir, sasama iyan kase max file sya. and magiging resident iyong materials na ginamit sa vraymesh
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by mokong Sun Apr 05, 2009 3:52 am

sir tanong ko po, nag proxy po ako nag 3d car den i save it as max file.. xref ko yung vmesh max file.. na load na xa sa scene.. pag render ko thru vray nag crash yung max ko.. ano po ba ang problem.?. nag try ako ng render without the vmesh max file at d na nag crash... ginawa ko po yung tutorial nin u.. yung iba po na xref na tress ok naman at gumagana pag load ko lng po nung 3d car, doon po xa nagka crash.. ano kaya ang naging problema master?
mokong
mokong
CGP Guru
CGP Guru

Number of posts : 1926
Age : 41
Location : Nagoya, Japan
Registration date : 02/03/2009

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by render master Sat Apr 25, 2009 12:59 am

just try to remake a vraymeshexpost sa car kung iyon ang problema...
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by mammoo_03 Sat Apr 25, 2009 1:25 am

salamat sir ronel, very good tutorial po!!!
mammoo_03
mammoo_03
The Exhibitioner
The Exhibitioner

Number of posts : 2417
Age : 45
Location : manila, makati, dubai
Registration date : 20/09/2008

http://www.coroflot.com/archmlcm

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by v_wrangler Sat Apr 25, 2009 1:38 am

render master wrote:just try to remake a vraymeshexpost sa car kung iyon ang problema...

Well, this isn't really the answer to the problem. Its like - taking a whole new road to cross the same path. But well, if all fails - do it.

What strikes me in this xrefing vray proxy discussion is that its like drinking coffee in a hot tub.

First and foremost, xrefs are a workflow thing - they do not give you any benefit during rendering because the memory it will require will be loaded anyways. You only use it if you are sharing an object or a scene that you want updated as you work along.

Vray proxies - goes around this memory limitations, it loads the memory required only when the buckets hits the proxies and unloads when it is no longer required for rendering. As long as you point to the same proxy location - then its like working with xrefs in steroids.

Of course, you can mix em together, but it doesn't mean you should use them. It doesn't mean a thing. Imi ga nai.
v_wrangler
v_wrangler
CGP Loverboy
CGP Loverboy

Number of posts : 1994
Age : 54
Location : Northern Mountains
Registration date : 29/03/2009

http://www.maxworksdigital.com

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by a.espinosa Sat Apr 25, 2009 4:18 pm

hehehehe...tambay din ako sir onel..
one question lang sir onel..i think everybody experience this...nahirapan ka sa pagmodel ng isang bagay tapos later dapat anticipate mo baka ma-edit pa yung model ...what if kung na na-vray-proxy mo na cya..so lost n yung model di mo na ma-edit...so what i always do...before making it vray proxy...i attached the model making it as one element with all the materials and etc...palabas ng file so later on may back-up model ako just in case i will edit it...this happens most of the time diba....

so is this a good procedure or what...or there are other way to do this?

thanks master onel
a.espinosa
a.espinosa
CGP Apprentice
CGP Apprentice

Number of posts : 750
Age : 83
Location : Riyadh, KSA
Registration date : 23/09/2008

http://www.alex-espinosa.8k.com

Back to top Go down

Simplifying Vray Proxy Empty Re: Simplifying Vray Proxy

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 3 1, 2, 3  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum