Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Maxunderground news unavailable

Big scene, 4,000 light instances advice.
show user profile  FX
I have a pretty big scene I'm working on :

4,000 soldiers on a hill all focusing on the top structure, In this picture I'm using a temp/test shader of glass and fog to mimic SSS.

The hearts of the soldiers have vray lightmtl applied, they have to glow and give the impression of 'glowing' plastic, although the effect is not quite what I'm trying to achieve.

These test are much closer, using SSS, the heart is a vray mesh light

I'm using Vray Instancer with Pflow to generate, position, and distribute the soldiers but Instancer only works on meshes not lights.

Any ideas how I might tackle this ? I can use the test shader but would prefer the SSS even though it will take a year to render ;)


read 540 times
3/14/2016 9:53:40 PM (last edit: 3/14/2016 9:53:40 PM)
show user profile  Mr.Burns
So... all you need to do is place a light at every soldier's position? This sounds like a job for Maxscript.
read 536 times
3/14/2016 9:58:47 PM (last edit: 3/14/2016 9:58:47 PM)
show user profile  FX
Ideally yes, specifically at the 'heart' position, then I could make all the hearts one mesh to save render times.
read 534 times
3/14/2016 10:03:00 PM (last edit: 3/14/2016 10:03:00 PM)
show user profile  FX
That would have to be some clever damn scripting tho', it would need to read the pflow for the position, or be able to 'see' the instanced mesh pflow makes and place the heart accurately.

read 534 times
3/14/2016 10:14:47 PM (last edit: 3/14/2016 10:15:08 PM)
show user profile  Bolteon
Map the UV's front facing, and use a gradient. Much easier.

You'll never notice the difference considering the size/scale/quantity...

-Marko Mandaric

read 534 times
3/14/2016 10:36:25 PM (last edit: 3/14/2016 10:36:25 PM)
show user profile  FX
hmm yeah , 'fake it' is very much preferred due to render times, I don't know if SSS can be baked but if it can it may be the solution.

read 534 times
3/14/2016 10:53:11 PM (last edit: 3/14/2016 10:53:11 PM)
show user profile  FX
Solution was so easy, Mr Burns was right :)

pfSrc = pickObject()
pfSrc.particleID = 1
while pfSrc.particlePosition != [0,0,0] do
obj = instance $
obj.transform = pfSrc.particleTM
obj.wirecolor = $.wirecolor
pfSrc.particleID += 1
read 519 times
3/16/2016 8:41:43 PM (last edit: 3/16/2016 8:41:43 PM)
show user profile  Coxy
What's the model of Stonehenge for?
read 480 times
3/18/2016 1:47:53 PM (last edit: 3/18/2016 1:47:53 PM)
show user profile  LionDebt
Uh oh... #turf #war :)
read 465 times
3/18/2016 7:14:11 PM (last edit: 3/18/2016 7:14:11 PM)
show user profile  FX
"What's the model of Stonehenge for? "

Good question :/...i'll let you know when I find out.

read 458 times
3/18/2016 9:47:39 PM (last edit: 3/18/2016 9:47:39 PM)
#Maxforums IRC
Open chat window