Hints on Per-vertex UVs and Normals; FOV Animation
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/01/2011 at 07:50, xxxxxxxx wrote:
I need to load up per-vertex UV coordinates and normal vectors into a polygon object, anyone have some code snippets or hints so I don't have to thrash around as much?
Also, what is the right DescID code to create a CTrack for a camera's field of view? (Is there somewhere to look these up? Or are they just magic pixiedust?)
Thanks for the earlier help on animation, I've got that up and running no problem.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/01/2011 at 08:01, xxxxxxxx wrote:
Originally posted by xxxxxxxx
Also, what is the right DescID code to create a CTrack for a camera's field of view? (Is there somewhere to look these up? Or are they just magic pixiedust?)
You can obtain IDs simply by dragging them into the console or the script editor. See attached image.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/01/2011 at 08:18, xxxxxxxx wrote:
I know about that, that code lets me SET the FOV already.... but is it used for the DescID code? ie
c4d.DescLevel(c4d.CAMERAOBJECT_FOV,c4d.DTYPE_REAL,0)
Or is there a separate ID_.... code like there was for the position? I haven't seen anything that describes what this overall scheme is.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/01/2011 at 09:02, xxxxxxxx wrote:
Left out the DescID part around that FOV DescID... does work though for future readers.
Still hoping for help on the main question about per-vertex UV's and normals ... let's just say the documentation leaves a lot to the imagination. Tags ... am I getting warmer?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/01/2011 at 15:42, xxxxxxxx wrote:
OK, I have UVWTags figured out. Please correct the documentation for UVWTag.SetSlow so that the types of a..d are Vector, not int.... believing they were int I tried for a while to pass in UV vertex indices and pass in the actual data with SetAllHighlevelData but that was a big fail. I have to say I'm a bit concerned when I have to call something named GetSlow thousands of times in a row.
I'm assuming there must be a similar way to set up a NormalTag but I don't see anything to support that idea.... I can jam a lot of normal data into a VariableTag, but what is the right type? And should it be 4 normals per facet as with UVWs?