How to blend 2 textures based on vertex alpha in real time?

Date : Sun, 06 May 2007 23:34:33 +0200
To : xsi(at)Softimage.COM
From : "Fred Jacob" <3freduard(at)gmx.de>
Subject : How to blend 2 textures based on vertex alpha in real time?
Good morning list!

I've been trying to set up a shading network that would show 2 textures blended over each other on a per vertex alpha value basis in the viewports.
I want to paint the vertex alpha values using the paint tool, but I don't want to render region after every paint stroke I do to see the effect so I need this to be displayed in realtime.

So far I was not very successful in setting up a realtime shader that would
do that. I tried with the fixed function DX, Cg and OpenGl shading nodes XSI provides out of the box to no avail, and I also tried using an fx file I created with the ShaderFX plugin for 3dsMax (which seems to fail to render in XSI propery because the shader queries the vertex colors in a Max-compatible way, which seems to be different in XSI).

Any hint towards an alternative approach, a link to a working OpenGL shader (or whatever allows me to work in the viewports, 'cause in DirectX display mode no tools seem to display 
correctly, including manipulators of the SRT tools and the paint tools, which renders DX display a bit useless for anything than previewing) is highly appreciated.

Also, I was wondering if ne1 one of you knows whether Softimage has any plans of integrating Mental Mill into XSI at some point.

Thanks a lot,

Stefan
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.