Jump to content

southpaw

Regular Member
  • Content Count

    421
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by southpaw

  1. Exr files are rendered in Linear Colour. Is Linear Colour set up in your AE project? You can check by going to the AE project settings, select the tick box that says Linearise Workspace, and enable sRRB from the drop down menu.
  2. @bezo Thanks but I can't upload the file, due to contract contraints. @Cerbera Thanks for the advice, yes I've been doig it the manual way, the untriangulate command didn't do anything useful, so I've been going through and melting points, and dissolving faces. I'll take a look at the HB Modelling and Instant Meshes though, thanks for the heads up.
  3. Does anyone have any tips on getting the cleanest mesh possible when importing .STEP CAD files into C4D? They import easy enough in R20, but still require a lot of clean up work before I can add any thickness (with Cloth Object or Extrude) to the mesh.
  4. @jed Thanks again. I've plugged the variables you set into the width and hieght of a plane, which all works fine. Now i'm trying to set the X & Y global positions of a plane to those of whatever object is input into the python node (the text) but I've got the snytax wrong and nothing is happening. The Consol doesn't throw an error messafge so not sure where I've gone wrong. The sscene file is atteched, I won;t be able to check any repleis until tomorrow now, but thnks for you assistance so far. I know I can just do this part with Xpresso, this is just a learning excercise. utils_0001.c4d
  5. @jed Works great, and with just a few lines of code, I did search the Python SDK, but was searching for things like "Text", "Type", and "Font". Thanks again :)
  6. Is there a way in xpresso to find the height and width parameters of a text or MoText Spline? I'm trying to set the width and height of a plane object to the width/height of a text spline object with some additional padding, keeping the text parametric if possible. I tried the bounding box node but it just gave 0,0,0 to the result node, even when I make the text object editable, although that defeats the purpose. Seems strange that these parameters are available for things such a basic cubes etc, and not the text objects.
  7. For anyone who is thinking about purchasing XParticles, Insydium are having a half price sale for NAB. Here's the link to the page on the Insyduim website: https://insydium.ltd/news/nab-2019/
  8. Are you talking about a mask as a black/white render to use in the compositing phase? If so, and the object buffer doesn't give you the result you want, you could always add a white luminance material to the hair, and a black luminance ti the rest of the creature and background. That would give you a clean matte to use in post-production.
  9. @jed Thanks for sharin the project files. I can understand your code, but I was trying to read up on the c4d.VECTOR_X property in the Python SDK. I found the c4d.Vector class, and it's proprties, but couldn't find mention of the VECTOR_X, only things like vector(x,y,z). Do you know where c4d.VECTOR_x is in the SDK? Another thing that confuses me, are the statements like c4d.__init__() in the black title bars, but then the example listed beneath doesn't useit. I understand that it initizes an new vector, but the example will say say something like: c4d.Vector() Is the __init__() and the other code mentioned in the black title bars a Class that needs to be imported or something?
  10. And this is why i've been trying to learn some Python, a few lines of code and it's all sorted. No xpresso iterator node headaches ;)
  11. I think you'd need xpresso to iterate through each object, and get the size of it's bounding box, then set the position on x axis of each object to it's bounding box size (width/height/depth) plus 1. I tried, but could't get the iteration right. Someone who knows xpresso may be able to offer a better solution.
  12. Not sure, but the documentation on linear mode show a diagram with clones numbered from 1, 2.3 etc So maybe index starts from 1 and not 0? Try displaying the clones index number by electing the cloners Transform tab in the Attribute Manager, and enabling Index in the display options. This should show the cloners index numbers in the viewport next to each clone.
  13. Here is a scene file, I made two muti-shaders, one for images on odd pages of the book, the other, for images on the book's even numbered pages. The texture tag has one texture on the front face, the other material on the the back face of the polygon. The image naming starts with 001.jpg, and ends on 012.jpg The within the Multi-shader, be sure the Mode is set to Index Ratio. I've found that depending on the typoe of cloner, the results are differeent due to the index number of each clone. The clone index of a Linear cloner looks completely different to a Grid cloner for instance. Multishader Book.zip
  14. @jed Thanks for the break down, it was the inclusion of 'num' in the line ' join(str(num) ' that really through me. Now I understand it a little better. The 'for in' loop, I understannd, but I'm only familiar with the ' += ' way of doing things, zfill() is new to me, but then, I know next to no python, My only programming experience in the past has been with Javascript and ActionScript back in the days when Flash was popular. Thanks again.
  15. result = ' '.join(str(num).zfill(2) I understand that the result variable is assigned the genrerated numbers which are converted to a string, but where did 'num' variable or prooprty come from ? Also, I didn't understand why .zfill(2) only adds one zero for padding rather than two zeros as specified in the parameter?
  16. @jed, I'd definitely follow that thread, but I couldn't add anything to it at this time, as I simply don't know enough. Hopefully in the futre i'll be able to make a contribution to a thread, but yes, a good idea no ne the less. Many thanks for for sharing the lottery file, these level is much easier to start out with. A few commands I wasn't familialr with, but nothing a search in th Python SDK won't explain. Thanks again. @teknow Thanks for the hair video, and sharing the spline ponts scne file. Glad you found it of some use.
  17. @teknow, & @jed & anyone else interested, Just seen this post from Tim Clapham of Helloluxx, https://helloluxx.com/tutorials/spline-points-to-clones/ He explains how to iterate through spline points and attach them to mograph objects using expresso and a small amount of Python. Pretty much the same thing I was trying to do a few months back but could only get so far.
  18. @Teknow, Many thanks, I've seen the Entagma video previously, I didn't understand it at time, but found it much easier to follow this time around. @jed, Again many thanks, for the advice and the cheat sheets, i'll be sure to take a look. My main issue with learning C4D Python SDK is where in the dicumentation to look. For instance in the Entagma video that Teknow shared, at around 17 minutes, they mention the "insertUnder" function to insert the newly created splines under the Geo Null, which makes perfect sense when watchng the video, but I'd struggle to work out that I even needed that function in the first place, and wouldn't really know where to search for it without knowing the name. I would find it easier if the Python SDK was layed out in a simlar fashion to a book on programing languages, a little more chronological so to speak. I understand that proir knowledge of Python is a big help, but just think the SDK would benefit from a few simple'ish tutorials explaining importing a classes, geometry creation, event updates etc. Just enough to get you going. Will keep trying though, I've always throught that things like loops and arrays in Python are much simpler and to create than they are in xpresso. That's not a dig at xpresso, just a preference of mine.
  19. Love this stuff, thnaks for sharing. Trying to learn Python which isn't too bad. It's the Python/C4D intergration that I have trouble understanding.
  20. I think they meant take a screen grab of your current screen, or post a still image. I think it's Command/SHIFT/3 on a mac. That will save a jpg image of you current screen onto your desktop. This would give the viewer an indication of what your talking about without the needing to click on the link (which they may think is just click bate) to see your video/scene file.
  21. See the last post on this page, I uploaded an explanation & scene file which seemed to fix similar problems, with lag and connectiions not holding up. You'll need to move the contol nulls around to see the effect.
  22. Thanks for sharing the Netcreator link. I'll check it out.
  23. MoSplines and L-Systems might be worth a look. Under the Simple tab in MoSpline settings (Attribute Manager) There's a Curve parameter that you can enter formula into to get various curve types.
  24. The darkness may be the result of the render using Linear Colour Space, while using 8Bit colour depth. Make sure you render in 16/32bit if using Linear Colour Space and Multi-passes. The Depth Of Filed should show in Photoshop as a black/White Depth Pass layer, which you then need to use as a source for the Camera Blur Effect. I don't think you'll see the DOF in a multiples unless you'e looking at the standard rgb image rendered separately from the passes. (The image rendered in the top Save dialogue box).

YOUTUBE CHANNEL:

ABOUT US:

C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :) Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, get your own private messenger, post status updates, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, Cafe is the right place.
×
×
  • Create New...