How to get values of a Texture Tag?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/08/2010 at 07:52, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11.5
Platform: Windows ;
Language(s) : C++ ;---------
Hi,
I am making a plugin and I need to get all values and properties of a baseObject, but there are some that I don't know how to get:
In a TextureTag, how can I get the value of the following fields : Projection, Side, Offset X, Lenght X, MixTextures, etc...?
Thank you if you can help me.
Best,
Olivier -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/08/2010 at 07:37, xxxxxxxx wrote:
I have the same issue. Specifically, I'm looking for a simple way to find which is the polygon selection associated to a TextureTag. Seems that this information isn't directly stored in the TextureTag object. Any idea?
Many thanks!
Bye
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/08/2010 at 07:44, xxxxxxxx wrote:
Use SetParameter()/GetParameter() if it is a description element not stored in the BaseContainer. Also note that you will need to 'research' the description element IDs which are found down in the Resource folder (search for 'Ttexture.res').
TTag->SetParameter(DescID(TEXTURETAG_PROJECTION), GeData(TEXTURETAG_PROJECTION_UVW), DESCFLAGS_DONTCHECKMINMAX);
TTag->SetParameter(DescID(TEXTURETAG_RESTRICTION), GeData("leaf_adult"), DESCFLAGS_DONTCHECKMINMAX);
GeData gedata;
TTag->GetParameter(DescID(TEXTURETAG_RESTRICTION), gedata, 0L);
String restriction = gedata.GetString(); -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/08/2010 at 08:15, xxxxxxxx wrote:
thanks kuroyume. This mechanism about DescID, res and Parameter is a little bit "confused" and makes the functions search a little hard. I've the same problem with looking for "Center Axis To" function...There is surely some "hidden" parameter to be set or to call in a SendCommandTool that I really don't find or I find but I'm not able to understand which is that correct...
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/08/2010 at 04:58, xxxxxxxx wrote:
Thank you!