Forum

"DirectX Renderer" can be changed!

Hi, after using vvvv a while, it is really amazing.

Right now i’m on a project which can’t fullscreen the renderer(EX9), for i have three video output with only one graphic card. if i combine this three renderer(Ex9) to one use dx9texture, the texture isn’t good enough though i’ve changed the width and height param in dx9texture.

so i’ve search the forum, and find that the Window node can change width and height for renderer(EX9), but it can’t remove window title and change its name.
For now i have to write a vc++ code to remove the window title.
Wish i can change the “DirectX Renderer” to other name in next version.

You can change by using The Inspektor and type your title in first row ;)
edit: you can combine videos by a group node to one renderer only. thus you avoid unnecessary power. See patch

titlechange.v4p (1.8 kB)
video.v4p (18.5 kB)

To frank:
Thanks a lot, i never expected that the discriptive name will change the name before!! it really save me a lot of time.

As you can see in “demo.v4p”, i have one graphic card with 3 renderer(1024*768), so if i use three seperate renderer, vvvv will only fullscreen one window instead of three.
i have no idea about how to optimize the code, can you give me some advice?

demo.v4p (19.8 kB)

Hi, after using vvvv a while, it is really amazing.

Right now i’m on a project which can’t fullscreen the renderer(EX9), for i have three video output with only one graphic card. if i combine this three renderer(Ex9) to one use dx9texture, the texture isn’t good enough though i’ve changed the width and height param in dx9texture.

so i’ve search the forum, and find that the Window node can change width and height for renderer(EX9), but it can’t remove window title and change its name.
For now i have to write a vc++ code to remove the window title.
Wish i can change the “DirectX Renderer” to other name in next version.

Hello dieyingao,
Don’ t know if it helps but…

Ctrl and * will remove the title and the borders of your render window too which is very handy in some circumstances.

stu

Ctrl and * will remove the title and the borders of your render > > window too which is very handy in some circumstances.

Hi stu,thanks, ctrl+* will work, but vvvv doesn’t save the state, when i reopen the vvvv, it will appear.

to stu:
sorry, for i’ve alt+2 the window, so i show the window title again.
i works out.
thanks.
by the way, is there any documentation about ctrl+*?

for me it is CTRL+8

see keyboard shortcuts

ha ha…

yeah ctrl and 8, but, i always see stars. ***

@dieyingao:
What is your goal? I dont see any need for putting it into one renderer. You can use 3 separate windows and place them at screen seamless.
-If you need to have all 3 videos in synch, best is to merge them into one large videofile and play it. You can split these videotexture into 3 parts by using the transform node and plug it into texture transform pin of quad, constant, etc see patch

demo.v4p (17.9 kB)

@frank:
thanks for the file. i haven’t expected array can be used that way.
Actually I’m on a project of “120 arc screen”, I have one computer with three projector.So i wanna every render’s related param can be changable.
After I writer the three render, I got another issue, I can only fullscreen one of these three renderers.
So i get two idea:

  1. make the dx9 render window same size as screen window, and remove the title bar. but it works bad after reboot.
  2. use one render together three renderers using dx9texture. but the video quanlity isn’t good enough.

cylinder.rar (6.0 kB)

Im still confused about your goal. 120 arc screen?
Anyway, if you need somehow a cylinder distortion and its not going to be changed during runtime, its easiest to prerender it into your sourcevideo and just playing this video using V4 multiprojection patch. Thus you need one renderer only, which you can set fullscreen and resolution will be set automatically to your screensize. And you get a nice seamless multiprojection.
Be sure to set your windows desktop settings to Spanmode, otherwise you will go into trouble playing video onto three screens. (There are some threads about this issue)

Your questions:
After I writer the three render, I got another issue, I can only fullscreen one of these three renderers.
-That is a directX issue. And I bet its always same monitor which sets fullscreen. I dont know a way of solving it.

  1. make the dx9 render window same size as screen window, and remove the title bar. but it works bad after reboot.
    -I did it at one installation and its not going to run in a trustful way. There are some workarounds like crtl+8 patch, but it wont work always. So, if this should work automatically aka without someone looking every morning, dont try it.
  2. use one render together three renderers using dx9texture. but the video quanlity isn’t good enough.
    You can set resolution of every render by hand. This way you get your desired resolution. But your renderer can be only as good as your video is. If video is 3068x768, three separete renderer should be 1024x768 and last one 3068x768. Take filter node at every quad and set everything to point, thus forcing renderer not to interpolate.

version2.v4p (22.2 kB)

why not use a tripleHead2Go and use 3 projectors with 1 renderer?

@frank,
Thanks for your patience, i mean “120-degree arc screen”, it’s a 120-degree arc wall,not the monitor… and i’m gona to play a video on the screen with three projectors.but i only have one computer.
I want three seperated cylinder and camera. besides, they can affect the overlap area(i mean the black area).

@xd_nitro:
sorry, but i didn’t find tripleHead2Go…

http://www.matrox.com/graphics/en/products/gxm/th2go/

To xd_nitro, kalle,

ye, i’m using tripleHead2Go, i thought you’re talking about some vvvv node. -.-
and actually i don’t know how to use 1 renderer.

actually i don’t know how to use 1 renderer.

yes you do, your attached demo.v4p shows you combining 3 separate renderers into one.

I’ve attached a modified version that correctly configures the width and height of the DX textures.

Once you send the final renderer (3072 x 768) full screen it is probably setting the screen res to 1024 x 768 and only going full screen on one window. After going full screen you must open the inspector and select from the drop down menu 3072 x 768 and this should bring it fullscreen across the 3 projectors?

Another method to force 3072 x 768 is using this MSBerger module > SetRes

Also, are you using the tripleHead2go Analog or Digital addition? This matters because they only support certain refresh rates at certain resolutions. Check here for analog and here for digital. As you can see, with the analog and 3072 x 768 you can only use 75Hz, if you need to use 60Hz because of your projector support you’ll have to use an output res of 3840 x 1024. In this case you’d have to set the width and height of your DX texture to 1280 x 1024 to not lose any quality.

demo-1.v4p (22.3 kB)

@xd_nitro,

thanks, but i want to avoid using dx9texture. as in “demo.v4p”, i’ve added a cylinder mesh to the video, and convert the renderer to texture using dx9texture, the quality is far from good.
frank’s “vesion2.v4p” is something like what i want, but there’s only a clyinder and camera, for me, i want three cylinders and cameras.

there is nothing wrong with using a DX9texture in these numbers unless you have a really really really really rubbish graphics card.

You shouldn’t see any loss in quality going from a renderer>texture>renderer. No reason at all unless you have not set your back buffer widths and heights correctly.

Can you attach a patch showing this loss in quality please.

@xd_nitro,

you can download “cylinder.rar”, and combine them in one renderer.

…and…??