|
|
|
Tell us what you think of the site.
|
Autodesk Media & Entertainment User Community
|
Autodesk® 3ds Max®
|
|
Autodesk® Maya®
|
|
Autodesk® Softimage®
|
|
Autodesk® MotionBuilder®
|
|
Autodesk® Mudbox™
|
|
Autodesk® ImageModeler™
|
|
Autodesk® Sketchbook® Pro
|
|
Autodesk® Smoke on Mac®
|
|
I have questions about RT shaders on XS7. I’m trying to import shaders from Mental Mill to XSI7. I have try several files : Cg, FX, GLSL. I get some results with DirectX .FX
files (I do not manage to import or visualize effects with the other languages). My question concern lighting : the FX file import a point light that is not displayed in XSI (I
can move it only with the parameters). Is there a way to display this light or use one of the scene instead? By the way, when I switch the view to another display mode (i.e.
OpenGL) and come back to directX I can not see the shaders anymore.
Thank You for your help.
|
Attachment
|
|
|
|
|
|
..dude .!! :helpsmilie:
where can i find some good tutorials about rt shading in xsi.!?!?
|
|
|
My question concern lighting : the FX file import a point light that is not displayed in XSI (I can move it only with the parameters). Is there a way to display this light or
use one of the scene instead? By the way, when I switch the view to another display mode (i.e. OpenGL) and come back to directX I can not see the shaders anymore.
http://cryrid.com/images/temp/XSI/videos/visually_controlling_lights.avi
Basically, create an object and use it to drive the parameter of the shader-light’s x/y/z positions. Then when you move that object around, it’ll take the light with it.
|
|
|
|
Cryrid, Thank you it’s a nice tip !
farhaad_yousefi, I would advice you to look at Mental Mill (it comes with a tutorial), it’s a nice software that is “similar” to XSI’s RenderTree. I think it should be
integrated within Softimage ! If you like programming have a look at nVidia FX composer or AMD Rendermonkey.
|
|
|
|
..thanks i’m not into scripting...but i’ll give a try to that mental mill..!!! thanks again..:)
|
|
|
|
More questions about RT shaders…
1. I try to use nVidia’s SceneLineDraw shader but it produces no effect whereas the other one mostly works. It’s maybe a problem with Vertex attributes? The “main”
technique does not work but the “Deph Only” works well. Have you any idea how to fix this?
2. I would like to animate the opacity of a realtime shader. How can I do this?
PS : the link to this shader :
http://developer.download.nvidia.com/shaderlibrary/webpages/shader_library.html
or
http://developer.download.nvidia.com/shaderlibrary/webpages/screenshots/shaders/scene_lineDraw.html
|
Attachment
|
|
|
|
|
|
I’m not sure if you’ve done this already, but I found that all of my shaders that used Cg, especially in OpenGL, would not work until I installed http://developer.nvidia.com/object/cg_toolkit.html. To someone new to this, like
myself, this isn’t made clear that it’s required. But after installation, my shaders worked.
Also, to add to Cryrid’s post. I normally use the lights in my scene to link to the shader light’s global values. It keeps things organized. Haven’t found a
way to link color and intensity.
|
|
|
|
Intensity seems to link easily the same way for me. As for the color, as a quick test I used the Parameter Connection Editor to link the light’s scale values to the
shader-light’s color, and it seems to work (scaling the light to 0/0/1 makes it blue, 0/1/0 makes it green, etc)

Should also open up a few possibilities in case you don’t want to use the light-controller’s scale values.
|
|
|
|
Hi,
I have been struggling to get a realtime shader created in Mental Mill to work in XSI 7.
In XSI after assigning a sphere with realtime Nvidia CgFX shader and loading the cgfx file, I get this error “ CgFX: technique T0 did not validate” and in the realtime display,
all I see is dull grey sphere.
I have also tried to replace cg.dll and cgGL.dll files in XSI with the Cg toolkit 2.1 dlls.
Appreciate if someone could help.
Thanks
|
|
|
|
|
Settings
|
Choose Theme color:
|
|
|
|
|
|
|
|
|