Interesting settings - Vray (visopts included)
-
@subburb said:
Hi Damien,
i'll for sure come to botth 3119 to say to you an hello !! (somewhere between 3 and 5 august)
i'll have exactly the same face than my avatar pic and will wear a solidrocks Tshirt .. easy to target
See you on Siggraph !
I would hope so Jerome, because if you didn't (have the same face), that would be pretty weird. haha
Exciting news from Damien and a good preview of things to come for V4SU. I think looking at what Jerome has done with SR and bringing him in to advise for the new interface would be a good move for ASGvis. I think he's really created the kind of simplified, yet powerful interface you guys are going for in the new release.
-
Hi all !
I've found the scrambler to protect code, so now i'm ready to have a try to make a Solidrocks for SU/Vray...
As i'm really newbie on this platform... perhaps someone can give me the first line of code... ?
First thing to do : change via scripting Vray engine values and/or values into the "Vray for sketchup - Render options panel"
For example, in maxscript, when i change via script a vray value, i write something like :
Renderers.current.lightcache_subdivs = 500
This line forces the lightcache subdivs to 500.Would be very helpful to get this kind of start point
Thanks by advance !
-
@subburb said:
First thing to do : change via scripting Vray engine values and/or values into the "Vray for sketchup - Render options panel"
It's a no go - at least with the current version. The VfSU data is stored in attributes as binary data in an unknown format. I tried to reverse engineer it - got most of the data for lights. But the main setting data was much harder. And the problem with the VfSU render settings is that it's read only at SU startup, and written upon model save, so even if you managed to decode their binary format, it'd be overwritten when the model is saved.
The only thing which has potential is the lights. As that data is read every time you open the Light Setting window. So you could potentially create a light manager - which is sorely needed.
So that's the bad news.
But a new version is due to be release soon. The core is rewritten and a lot is now in Python. But I've not looked into how easy it is to hack. I have been asking for ways for us scripters to modify VfSU settings - but I'm not sure if this version account for that. This coming release was intended as a pure rewrite of the core to make VfSU compatible with OSX.
But please join me on the ASGVis forum as ask them for more scripting control. It helps my case when more people ask for it, not just me going on and on all the time.
Advertisement