Hi, Hmmm….. It seems to work for me with a simple example (script at the end of this message). I get this obj file:
## OBJ file generated by Nuke ## # vertex list - offset=0 v -0.200000 0.200000 -6.500000 v 0.100000 -5.500000 0.000000 v 0.400000 0.000000 -4.500000 v -0.400000 0.100000 3.500000 v 2.500000 0.400000 -0.200000 v 0.400000 1.500000 0.000000 v -0.100000 10.500000 0.100000 v 9.500000 0.200000 0.500000 v 0.300000 -8.500000 -0.100000 v 0.500000 7.500000 -0.200000 # end of file Could it be that there just aren't any particles emitted yet at the frame you're rendering? Jerry On 25 Apr 2012, at 21:18, Howard Jones wrote: > Thanks Guys > > Wouldn't have figured that one out! > > One other question - I added a ParticleToGeo node and after the scene added a > writeGeo. > > With both obj and fbx and set on geo - I couldn't get anything written out > from the writeGeo that is the file seemed blank - any tricks here or a bug? > > Thanks again > Howard > > From: Jerry Huxtable <[email protected]> > To: Howard Jones <[email protected]>; Nuke user discussion > <[email protected]> > Sent: Wednesday, 25 April 2012, 21:00 > Subject: Re: [Nuke-users] fading in particles > > Hi, > > ParticleCurve on the alpha should work, or a ParticleExpression. You probably > need to add a BlendMat node in between your material and the ParticleEmitter > and set "surface blend" to "modulate" in order to get the alpha to apply. As > an example: > > set cut_paste_input [stack 0] > version 6.3 v3 > ColorWheel { > inputs 0 > gamma 0.45 > name ColorWheel1 > selected true > xpos -291 > ypos -223 > } > BlendMat { > surfaceblend modulate > name BlendMat1 > selected true > xpos -181 > ypos -199 > } > push $cut_paste_input > Cube { > name Cube1 > selected true > xpos 84 > ypos -199 > } > push 0 > ParticleEmitter { > inputs 3 > rate 1 > color {1 1 1 1} > name ParticleEmitter1 > selected true > xpos -41 > ypos -199 > } > ParticleCurve { > curves {r {} > g {} > b {} > a {curve l 0.2017413378 0.01293540001} > size {} > mass {}} > name ParticleCurve1 > selected true > xpos -41 > ypos -175 > } > Viewer { > frame 87 > input_process false > name Viewer1 > selected true > xpos -41 > ypos -71 > } > > > Jerry > > On 25 Apr 2012, at 20:02, Howard Jones wrote: > >> Hi >> >> Is there a way to fade in and out particles. At the moment they are popping >> on and off and I'd like a fade - I tried a ParticleCurve but that doesn't >> appear to work. >> >> All help appreciated >> >> Thanks >> Howard >> _______________________________________________ >> Nuke-users mailing list >> [email protected], http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users > > Jerry Huxtable, > Senior Product Designer > The Foundry > Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906 > Web: www.thefoundry.co.uk > Email: [email protected] > > The Foundry Visionmongers Ltd. > Registered in England and Wales No: 4642027 > > > > _______________________________________________ > Nuke-users mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users Jerry Huxtable, Senior Product Designer The Foundry Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906 Web: www.thefoundry.co.uk Email: [email protected] The Foundry Visionmongers Ltd. Registered in England and Wales No: 4642027 WriteGeo example: set cut_paste_input [stack 0] version 6.3 v3 ColorWheel { inputs 0 gamma 0.45 name ColorWheel1 selected true xpos -372 ypos -16 } BlendMat { surfaceblend modulate name BlendMat1 selected true xpos -262 ypos 8 } push $cut_paste_input Cube { name Cube1 selected true xpos 3 ypos 8 } push 0 ParticleEmitter { inputs 3 rate 1 color {1 1 1 1} name ParticleEmitter1 selected true xpos -122 ypos 8 } ParticleCurve { curves {r {} g {} b {} a {curve l 0.2017413378 0.01293540001} size {} mass {}} name ParticleCurve1 selected true xpos -122 ypos 32 } ParticleToGeo { name ParticleToGeo1 selected true xpos -122 ypos 66 } WriteGeo { file /tmp/foo.obj file_type obj name WriteGeo1 selected true xpos 3 ypos 66 }
_______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
