Search the Community
Showing results for tags 'imageprop'.
I have some custom plants intermixed with stock VW plants(the ones in the rightmost rectangle) When I export them to TwinMotion using C4D, note how some of the object have a black background where it should be transparent. The image props were constructed by masking a photograph in Photoshop and/or Affinity Photo to create a texture and saved as PNG with a transparent background. The imageprops were created in VW by using the aforementioned texture file with the options shown in these dialog boxes. Everything behaves as expected in VW, but the black in place of alpha rears its head when VW is exporting the textures. Note the image below. On the left is how my plant with alpha appears outside of VW, as created by me. The same plant as it appears as a texture exported from VW, either via extract image or C4D export. The tree on the right is a default VW tree image prop exported via C4D. I suspect something is slightly different with the alpha channel or image definition, I just can't figure out why the images I am creating are behaving this way. I'm beyond frustrated by this mystery. Any help is appreciated.
Hi, I am currently looking into creating a script to import a folder of images and create image probs from them. I found a completely undocumented function vs.CreateImageProp(...). But as it is takes in a texture, i got lost trying to create the corresponding texture object from the images loaded. Anyone having some scripts which could help me on my path? Thanks in advance. Cheers Jonas