THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/11/2007 at 07:15, xxxxxxxx wrote:
Cinema 4D Version: 9.6+
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
my Standard texture Tag with a vraymaterial don't work as expected when i try to generate UVW coordinate, for example, from a spherical projection.
So must be a code inside the material attached in the texture tag.
What appened when i generate uvw coordinate?
What's the function called in this case?
On 26/11/2007 at 00:00, xxxxxxxx wrote:
I can confirm this. Seems to happen with all non standard Cinema materials (Banji, Danel etc.). I will ask the developers.
On 26/11/2007 at 03:54, xxxxxxxx wrote:
On 30/11/2007 at 03:35, xxxxxxxx wrote:
do you have any news?
On 30/11/2007 at 04:39, xxxxxxxx wrote:
not yet, sorry
Maybe you could do it manually. In the TexData docu is the source code for the non-UVW projections.
On 30/11/2007 at 04:42, xxxxxxxx wrote:
but how i can know when a user use the generate UVW coordinate?
Is cinema 4d calling a virtual routine for it?
On 04/12/2007 at 10:57, xxxxxxxx wrote:
On 04/12/2007 at 11:48, xxxxxxxx wrote:
Matthias is on shore leave until Dec. 9.
On 04/12/2007 at 13:23, xxxxxxxx wrote:
Any idea about my question?
On 04/12/2007 at 14:41, xxxxxxxx wrote:
I thought about it and unless there were no UVW tag to begin with, you couldn't tell by finding that tag type. (There can be more than one UVW tag on an object).
Not to go too far off the topic here, wouldn't it be excellent if every action sent a unique message so that we could *know* when users do things.
Sounds like you want to create UVs when the texture mapping is procedural - instead of reinventing the wheel of how their procedural texture mappings work (understood there). Maybe you could use CallCommand() to get "Generate UVW Coordinates" enacted. Most of the time, this option is greyed out (disabled) so I'm not exactly certain under what circumstances it can be called properly.
I hope that you find your answer!
On 04/12/2007 at 16:22, xxxxxxxx wrote:
the GenerateUVW map is enable only when the object is editable, so the UVW coordinate can be applied for each vertex. I think that don't matter for a type of material, if procedural or not, because i think that the generateUVW map project the uvw coordinate for each vertex for the specified type of projection in the Texture Tag.
I'm waiting for the Matthias for the right answer
On 04/12/2007 at 16:48, xxxxxxxx wrote:
Ah. I didn't see that happen but will trust you on that. As I said, thought about it but couldn't quite get a firm understanding of what you wanted and how the UVW generation works (besides Make Editable and Current State to Object).
When I say 'procedural', I mean the UV mapping (on the Texture tag) not the material. Spherical, Flat, Frontal, Camera, Cubic, etc. are procedural UV mappings (as you are aware for sure). You are trying to get UVW coordinates from these non-UVW texture mappings but it's not working (?). Is there any way for you to do 'Make Editable' or 'Current State to Object' to get a UVW tag on the polygon object created?
On 04/12/2007 at 17:30, xxxxxxxx wrote:
i know how to get the correct projection. In the same way i pass the UVW from cinema to Vray.
The problem is when a user use the "generate UVW map" from the menu with a texture tag selected, it don't work like expected. With a c4d mat the coordinate from any procedural projection are applied for each vertex and the result is to have the same projection (ie sperical) transformed in UVW for each vertex. So the texture tag will have UVW like projection type.
I hope that i'm clear :).. sorry for my english.
On 17/12/2007 at 00:32, xxxxxxxx wrote:
This is maybe a bug or a limitation. I wait for a confirmation from the developers.
On 17/12/2007 at 06:01, xxxxxxxx wrote: