Jump to content

Hey, you need a renderfarm? If that's the case, make sure you check this topic for more info! 


SHDEdits

New Member
  • Content count

    7
  • Joined

  • Last visited

Community Reputation

0 Poor

Profile Information

  • First Name
    Seth
  • Last Name
    Baldwin
  • C4D Ver
    After Effects / C4D Lite
  1. Tracking Light Falloff

    I'm a working DP in the film industry, I have been developing photo metrically accurate lighting fixtures to match real world examples, so the next appropriate step is to make it quicker to be readable through camera. If cinema 4d doesn't supply this information anywhere, even in the source files, I'll have to work out the theory based on basic inverse square law ratios. Single lights are easy to measure and keep track of but when they start blending, bouncing off walls. That's when it turns into hell.
  2. Tracking Light Falloff

    How will XParticles make that possible?
  3. Hello, Not very experienced with Python, The only threads available online about this topic were all dated back to 2012, so it's either this is old news, it never got solved or I just don't understand the scripting. Essentially, I am wanting to create a python script that will completely lock and grey out certain user data based on integers, I already have a Null object set with a user data entitled "Color Modes", It contains 3 integers I would like to be the driving force. These 3 integers are individually controlling 3 separate Xpresso tags to Enable/Disable accordingly. Those 3 Xpresso tags each individually contain color values that output and feed back up to the same Null object with 3 other user data Entitled; "CCT" = ID 10" "HSI" = ID 6" "Rosco" = ID 13 I want the script to grey out the 2 color modes that are not selected basically. I'm aware of what the source files ID is to hide/grey out something, which is "container[c4d.DESC_HIDE] = True", with it's ID being 15. My issue is I have no idea how to go about structuring this function with the little experience I have with this language. Here's a basic script that apparently is suppose to grey out user data based on integers, It doesn't work at all so I'm sure I'm missing something obvious, not to mention this script isn't connected at all yet to the "Color Modes", that'll need to be the driving force. Hope this helps give you an idea of where I'm at, what my goal is and how you can best help me Cheers Basic Integer Hide Userdata Script (Not intended to work for my needs) import c4d ColorTemp = 11 Test = op.GetUserDataContainer() for descId, container in Test: id = descId[11].id if id == ColorTemp: container[c4d.DESC_HIDE] = True op.SetUserDataContainer(descId, container)
  4. Hello, I'm currently trying my luck at creating a light metre tool in cinema with a combination of xpresso and potentially python. I have the conversion formula's needed and can work all that math fine, but what I'm in need of and haven't tested the possibility of yet, is if cinema in any way shape or form can dynamically display light falloff values from specific distances, Considering there is obvious background processes to allow cinema to display light fall off in the viewport, does that also mean there is any way to retrieve that information through any form of data type? Whether that be vector values or some jumble of code. Would really like to find this out and use it to my advantage to study and find a way to convert it to a functioning light metre. Cheers!
  5. Cheers for that Jed! Figured it out
  6. Hello, I ran into my biggest issue yet, which I don't even know is possible to fix... It's either I'm the first person to discover this or I'm missing something all together, because I can't find any information about this online. I've setup 234 different integer buttons in my user data. In Xpresso I linked the user data node containing the 234 integers to 234 different Compare nodes, each outputting the correct corresponding integer number. They all then individually go through a basic range mapper which all contain the same input and output values. All the range mappers are then linked to 234 math:add nodes which contain individually 234 different colors. Each math:add node is then connected to one main condition node, so I've basically setup 234 different functions that all connect into 234 different inputs of a condition node, including the switch being set to the main user data integer node so it can alternate integers accordingly. To finish it off, the condition node then outputs to a lighting fixture's light color. So the purpose of all this is to have 234 different integer buttons that change the color of my light to 234 different colors depending on which I click. NOW... Let's get to the issue... Every single block of node functions are connected exactly the same to one another, Copied and Pasted from the start... But... as soon as I linked integer number "160", it would NOT, no matter what I checked and tried, output ANYTHING. In fact, every single integer number above 160 will not output the function assigned to it, even though they are all connected exactly the same. So this got me thinking, is 160 the limit to which integers stop functioning? Cinema 4D's limit? Is there really a limit? or am I missing something all together. Please care to help, been looking for answers for days so any information would be greatly appreciated. Cheers Seth
  7. I have many xpresso tags and nodes deadicated to user data sliders in allowing me to control area light color. So far I’ve setup a color temperature slider, hue and saturation sliders, 600 different singular colour combinations linked to individual integer buttons. But, I’m wanting one more color control function... to be able to link specifically green and magenta tint from a -90 to 90 real funcation slider like done with my color temperature slider. The only issue is there seems to be no deadicated nodes to something that specific through my efforts of testing. I’m needing all this because I’m recreating a film industry lighting fixture that supplies many different color mode options, I want the user to be limited to these exact color control modes rather then them freely being able to change color through the basic color wheel, hense why everything is linked to sliders.. So I understand to most of you it seems pointless, but for my strange terms of use, it’s necessary. Is it possible through xpresso or will a python script be of need? Cheers

×