setting depth for multipass renderings
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/03/2011 at 09:56, xxxxxxxx wrote:
Hi,
How can I switch on DEPTH for multipass-renderings in a rendersetting?
I manage to switch on multipass itself, but cannot find the id for switching on any of the multipass-options. drag and drop to the konsole only results in the message "Das Objekt 'Tiefe' /Zmultipass' wurde hinzugefügt".
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/03/2011 at 10:14, xxxxxxxx wrote:
Here is a small piece of code to create a depth multipass object:
import c4d from c4d import gui """ Create a depth object in the multipass object list """ def main() : rd=doc.GetActiveRenderData() #get the current renderdata vdepth=c4d.BaseList2D(c4d.Zmultipass) #create a multipass object vdepth.GetDataInstance()[c4d.MULTIPASSOBJECT_TYPE]=c4d.VPBUFFER_DEPTH #set type to 'Depth' rd.InsertMultipass(vdepth) #insert into Multipass list c4d.EventAdd() #send global event if __name__=='__main__': main()
I will add this example to the documentation.
You can also check out this link:
https://developers.maxon.net/forum/topic/5269/5268_py-change-gi-settingsAlso take a look at the c4d_videopostdata.h to get a list of all videopost IDs.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/03/2011 at 08:33, xxxxxxxx wrote:
hi sebastian,
excellent work, thank you