THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/02/2003 at 13:18, xxxxxxxx wrote:
Cinema 4D Version: 8.012
Platform: Mac ;
Language(s) : C.O.F.F.E.E ;
I wasn trying to write a shader but I'm stuck with the dialog part :-(
I'm using a resorce to display the dialog. But I can't seem to deal with it. I can set the values but I is always setting the same values, even if I change them :-(
Well, I also have some other problems... but, this is my first shader. What I was looking for was some reference listing, that uses a resorce to display the dialog. I don't even need the part that calculates the pixel color value. Anyone willing to share a listing? ;-)
Thank you very much in advance.
On 27/02/2003 at 05:16, xxxxxxxx wrote:
Anyone? Please! Is it so hard? All the .cof shaders I could get hold to (one or two) create the dialog in coffee. I want to be able to use a resorce and I need to know how to get and set values to it. It seems to work in a different way than the other plug-ins I did.
Any listing available? PLEASE!!!
Thank you in advance.
On 27/02/2003 at 13:04, xxxxxxxx wrote:
I don't know what could be different in a shader than in a regular plugin when it comes to dialogs. How about you sharing some listings... ;-)
On 28/02/2003 at 03:13, xxxxxxxx wrote:
It is a long list to post here. Can I send it over through mail to you? :-)
On 28/02/2003 at 04:33, xxxxxxxx wrote:
Please remove all parts not related to the dialog problem you're having first, i.e. as much shader code as possible.
On 28/02/2003 at 05:35, xxxxxxxx wrote:
Not very possible :-( It is very convoluted.
One of the problem I'm having is that the Init routine is always being run whenever I press Edit... and it shows the dialog... this way, it is always starting with the same values :-(