» cross-process texture sharing, depth rendering
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

cross-process texture sharing, depth rendering

helo nerds,

this is to inform you that latest alphas come with a new commandline: argument


starting vvvv with this option (on windows >= vista) brings you:

  • a VideoTexture that works on two heads of one graphiccard (as you'd have always expected)
  • texture sharing
  • broken Flash (EX9) as long as original movie's resolution is non-power of two
  • broken Text (EX9.Geometry)

texture-sharing can be used to share textures e.g. between two instances of vvvv (without noticable performance penalty) and even with any other software that also supports DX9EX. check the helppatch of SharedTexture (EX9.Texture) for instructions.

apparently this can also work as a bridge to opengl if someone wants to give this a try...and for those wondering, yes this enables stuff on windows your macfriends have been bragging about for a while now using syphon.

depth rendering

another new thing (not related to dx9ex) is the possibility to render the deph of scenes directly without using an extra pixelshader pass. just set the Texture Format of a DX9Texture (EX9.Texture) to INTZ and you should get the depth of your scene rather than a colorbuffer. disclaimer: may not work on certain graphiccards, see here

available now in latest alphas, enjoy.

joreg, Friday, Jul 6th 2012 Digg | Tweet | Delicious 18 comments  
elektromeier 06/07/2012 - 17:17

dx9ex also helps for VideoTexture span across multiple graphiccards?

joreg 06/07/2012 - 17:46

no, not across multiple cards, only with non-spanned dualview setups.

sebl 06/07/2012 - 20:51

s u p e r !

and thanks

manuel 07/07/2012 - 04:48

hey joreg, why this cross process texture is activated in commandline and not directly added to vvvv default functionality ?

joreg 07/07/2012 - 13:30

since the feature is rather of special interest and we have the feeling it is not too much tested in the wild with bigger projects we thought in a first step we make it optional and if it turns out to be _the thing_ we can still make it default in a later release.

catweasel 08/07/2012 - 14:07

Would this be possible from opengl->dx?
This would be good too for ofx processing or Avenue to v4...
But one way is better than no way!
Sounds great, I'll try and test soon, thanks guys :)

sven 08/07/2012 - 17:19

Is the depth evaluation radiometric from the current point of view or is it aligned to the z-axis?

joreg 08/07/2012 - 17:49

depth is using the same camera as color.

elliotwoods 09/07/2012 - 20:33


@sven - aligned to Z of the camera view, and often not a linear response with respect to euclidean xyz world space

robi_h 11/07/2012 - 10:14

hell yeah thanks

mrboni 11/07/2012 - 10:56

@elliot - if it aint linear, what is it and why?

circuitb 31/07/2012 - 13:13

launching last alpha with the /dx9ex switch seems to break the kinect texture nodes! white renderer!!
tested with both microsoft & openni nodes

circuitb 31/07/2012 - 13:22

also changing the depth mode of the kinect (Microsoft) node throw some errors

joreg 31/07/2012 - 22:33

@circuit: thanks. fixed for openni-nodes in latest alpha.

kyy921 30/11/2012 - 17:59

will it support for unity3d?

joreg 30/11/2012 - 18:52

@kyy921: you have to check with unity3d if it supports dx9ex texture sharing. vvvv does.

vj_raul 13/09/2013 - 13:48

@joreg/electromeier: /dx9ex texture sharing works also on 2 graphic cards here ...

But I have to right-click on the renderer node (close and open) once. It's the same when both screens connected to one graphic card (GeForce 770).

I don't use SharedTexture(EX9.Texture), but VideoOut(SharedMemory) and SharedMemory(EX9.Texture)

edit: Well, it seems I don't even need the /dx9ex for this nodes. Sorry!

joreg 13/09/2013 - 14:04

vj_raul: yes, in your case it works on multiple cards because those nodes you mentioned don't make use use of gpu-texture sharing. they share via cpu-memory.

  • 1

anonymous user login


~23h ago

joreg: @ravazquez always trying to diversivvvvy...

~24h ago

ravazquez: I did not know you were making plates as well: http://www.clairewan.com/

~5d ago

evvvvil: "Pounding Aldebaran" raymarching shader live coded on Twitch. https://www.shadertoy.com/view/tt3SWB

~6d ago

joreg: Tomorrow Thrs, Feb 12: #vvvv Patching Circle: We're there to help! https://gettogether.community/events/3965/vvvv-berlin-patching-circle-5/ No excuses, it's free and there are drinks!

~11d ago

evvvvil: "The reaper's gallows" shader live coded on twitch. Abrasive comments back by popular demand. https://www.shadertoy.com/view/ttcSD4

~14d ago

~15d ago

mfan: new music vvvvideo exploring the idea of 'architecture as frozen music': https://vimeo.com/389074756

~15d ago

szphynx: Hey everyone! Calling for artworks and live performances: https://forms.gle/cjthMT2t9nyF49nL8