Juuuust out of curiosity, is there a reason not to post any vray/renderman studio specifics in here ?

Cities in Maya / mental ray
for me, mainly, it’s because I’m poor.
I’m one of those artists who has to make lemonade with the bundled software (which is remarkably affordable – free, in fact for educators).
So I’d prefer to keep this thread focused on mental ray. I’d rather not have it turn into a flamewar between rendering solutions, which seems pretty inevitable whenever they’re allowed the same space.
Still… if you’ve got some links to good vray/renderman resources, feel free to share!
(I’m sure you know this already)
If you’re an educator, or educatee(?), then it’s cheap to purchase for non commercial use.
Anyway, I understand it’s good to use what is bundled.
Actually, have to say your assumption is a teeny bit wrong - we had a discussion recently about many renderers and not one single childish argument broke out AT ALL !!!
:surprised
hehe - seriously…have a look if you’re bored:
http://forums.cgsociety.org/showthread.php?f=7&t=978743
![]()
Well, I like your script as mentioned in the other thread, so I’m hoping I can learn and apply something whether it’s MR/VR/RMS for the end result. I know the forests thread went into specifically MR solutions/proxies which was massively useful.
@InfernalDarkness
About the shader assign problem. I hate it too but what I’ll do in this case (a little workaround) is to put the new shader in the “material slot” of the old shader’s shading group. So I don’t have to “select objects with material” and it’s fast. :shrug:
m0z, you just saved me 40 billion hours of waiting! Thanks so much, can’t believe I didn’t try that myself but you’ve saved the day, once again! Ed, we can consider the texturing-replacement issue… well, a non-issue, now. I’m happy for once that I was doing things the longest, wrongest way possible!
Glad this thread’s already helped someone!! Now I just need a solution this fast when re-applying materials to only individual instances. User-Data-Shader-Research, here I come!
True, and I want to start learning vray some time soon. For now, I have access to sixty mental-ray-only workstations. Pretty good incentive to stick with mr for now!!
What about the poor kids !
Are they stuck with mspaint whilst you render 
Anyway, back on track.

mm that data shader is interesting…isnt it kind of replicating the behaviour of a 3 way switch? im sure its more flexible but does MR recognize swicth nodes? just wondering
user data is more native to mental ray and more flexible for data types. With a little python script you can assign it and connect things easily through selection. (I’ve always hated the switch nodes in Maya for some reason, possibly irrational.)
I expect more of these tools will begin floating around soon, it’s not exposed so it takes some time.
Thanks man! I’m going to put together a bit of a test with this soon, and probably make a couple of MEL scripts to go along with it. And switch nodes are a pain in my a$$ – probably just because of the DAG…
The project I’m currently on (my “day” job) is in crunch time right now, so I haven’t had much time to play with this concept.
I have a scene set up for a playground that I’ll be sharing soon, along with the scripts I’m writing. I’m just too swamped!
Crunch time is over (as is my employment, alas), so I’ll be working on this problem again. For now, I’m focusing on creating a viable layout of city blocks that I can use to generate or place structures, roads, etc. according to whatever rules I determine. This is what I have so far, created by deleting interior edges from a higher-polygon primitive:

This layout has 700 blocks, which I figure can accommodate an average of five to seven structures apiece. This would give me a total of about 4,200 structures. Manhattan has about 70,000, but this is a good enough start for me.
At this point, I have no earthly idea what I’m going to do with this, but I’ll figure something out!
Just keepin’ the thread alive. I’m going to be looking at this again soon! I promise!
i wrote scripts that simply swap the connection to the shading group instead of selecting all faces then doing the shading assignment. you can do it also via hypershade, just plug the new shader into the surface shader/mr shader slots.
@EdtheHobbit
Hi! i just wanted to chime in on the LOD stuff. Renderman has a pretty cool LOD and Delayed Read Archive set up similar to the render proxy in MentalRay, but much much cooler. You had mentioned cost, i know full priced renderman is soem serious $Texas for non studio type people but they have student price for server and studio for 200 bucks, its a year license but its better then nothing. But back to the LOD and read archive. Before some bad personal life and medical issues i was working on a masters thesis with a bunch of LOD tools for PRMan. Im pretty sure it applies to all Renderman compliant renderers.
So the LoD and Read Archives can be set up based on a bounding box. You can have as many levels of detail as you want . But the slick thing is their level of detail load in is based on how much pixel space they take up rather then distance so it is not tied to a specific camera. Along with the neat screen space load out, it does a opacity ramp crossfade between the two levels of detail to reduce/eliminate the pop that happens between load outs. Also you can make the objects completely unload if you set the bottom level of detail to 1, so objects behind a building would just not be in memory. The bounding box is calculated when rays and the render bucket hits it. It was very very cool.
Oh and as a side perk, it made the scenes very tiny because everything was just basic cubes or super low poly standins and that also made the RIB out sequence for animation fly by.
I wish it was that easy, Oddgit. I really do. Ribboxing LODs are definitely cool, but again… mental ray is what we have with Autodesk. Alas.
Yeah, that is why I had to go to renderman. I would have liked to use MentalRay.
I checked out your city Mel work, very cool!