Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
AW: mr shader interface

AW: mr shader interface

2004-12-14       - By xsi@(protected)

 Back
Reply:     1     2     3  

Why does the value flag not work in the parameter definition of the spdl?
value = "expression";
If I set a default with value the parameter it just empty in the
interface. I want to set a default in the spdl.

--- Urspr�ngliche Nachricht ---
Datum: 14.12.2004 09:19
Von: XSI@(protected)
An: XSI@(protected)
Betreff: Re: mr shader interface

> Thanks, Guy, it helped!
>
> Guy Rabiller wrote:
>
> >In your spdl:
> > Parameter "myfile" input
> > {
> >  title = "File";
> >  guid = "{########-####-####-####-############}";
> >  type = string;
> >  flags = 0;
> >  texturable = off;
> >  writable = on;
> >  persistable = on;
> >  readable = on;
> >  inspectable = on;
> > }
> >
> >This gives you a parameter of type 'miTag' in your header:
> >../..
> >miTag m_myfile;
> >../..
> >
> >Then:
> >miTag  tagFile = *mi_eval_tag(&params->m_myfile);
> >char*  charFile = (char*)mi_db_access(tagFile);
> >
> >Hope this helps.
> >--
> >guy rabiller | 3d technical director @ LaMaison
> >
> >
> >-- -- Original Message -- --
> >From: "Sascha Robitzki" <xsi@(protected)>
> >To: <XSI@(protected)>
> >Sent: Monday, December 13, 2004 9:17 PM
> >Subject: Re: mr shader interface
> >
> >
> >
> >
> >>No answers so far?
> >>I know there is a string type parameter but I had no luck so far to
get
> >>access to it in my shader, the parameter seems to be empty. There
must
> >>be a way to retrieve a string and I'm confident it's quite simple.
> >>
> >>xsi@(protected) wrote:
> >>
> >>
> >>
> >>>How can I define a file path parameter in a spdl and how can I access
it
> >>>
> >>>
> >in
> >
> >
> >>>C?
> >>>---
> >>>Unsubscribe? Mail Majordomo@(protected) with the following text in
> >>>
> >>>
> >body:
> >
> >
> >>>unsubscribe xsi
> >>>
> >>>
> >>>
> >>>
> >>>
> >>---
> >>Unsubscribe? Mail Majordomo@(protected) with the following text in
body:
> >>unsubscribe xsi
> >>
> >>
> >>
> >>
> >
> >
> >---
> >Unsubscribe? Mail Majordomo@(protected) with the following text in
body:
> >unsubscribe xsi
> >
> >
> >
>
> ---
> Unsubscribe? Mail Majordomo@(protected) with the following text in
body:
> unsubscribe xsi
>


---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi