Page 1 of 2
playing with the new plugin 1.8
Posted: Wed Nov 12, 2008 1:27 pm
by PatSieb
Hi,
This is my first scene using the new plugin for c4d and it's a pleasure working with it compare to the old one!
a great job you done JDHill, keep the good work! thanks
Just for information : the texture preview has a little bug by reopening a scene created with the plugin 1.8.
Here is an example before and after reopen the scene:
How about the native materials in c4d, will the alpha channel for example working again? I use a lot of 3d trees using this channel in c4d.
Regards
Patrice
Posted: Wed Nov 12, 2008 3:19 pm
by paperless
Patrice...
reload the texture via MXED (opt: active texture).
luca
Posted: Wed Nov 12, 2008 3:41 pm
by PatSieb
thanks luca, i knew this

Posted: Wed Nov 12, 2008 4:22 pm
by JDHill
Hi Patrice, yes I have more recently figured out how to prevent the texture-corruption from happening, so you will not see it anymore in the next version of the plugin. Regarding the alpha channel, do your tree clipmaps generally use black & white images, or ones with alpha?
Posted: Wed Nov 12, 2008 5:03 pm
by PatSieb
Hi JDHill,
Thanks for the texture-corruption thing.
I'm using black & white TGA images for the trees.
here is an example how the textures are applied in c4d11:
Will tiff+alpha channel working in the future? (Xfrog use tiff+alpha images for 3d trees)
Regards
Patrice
Posted: Wed Nov 12, 2008 5:46 pm
by JDHill
Thanks, it seems to me that the (c4d) alpha channel is not being translated right in 1.8; it is putting maps into the Maxwell weight channels, but it is also putting one into the transmittance channel when it shouldn't, so I've changed the code. In the meantime, let me know if it works okay when you export, open in Studio, and disable the transmittance maps for the clipped materials. As far as supporting clipping via rgba files, I cannot say for sure yet, but it might be possible - I will look into it.
Cheers...and thanks for posting some of your images.

Posted: Wed Nov 12, 2008 6:21 pm
by dynaraton
Great job on the new plug-in JDHill. I have started to use Maxwell again!
Can't wait for the new version. Please give us a much needed Sun-Ball (or similar) in C4D and better instancing tool.
Posted: Wed Nov 12, 2008 6:26 pm
by PatSieb
Thanks JDHill for your hard/fast working on this new c4d plugin.
Anyway, i never export scenes from c4d to Studio, sorry for that.
I know it was already mention but the invert, saturation, contrast settings don't show up in the material editor, i think this is important for the users!
Cheers
Posted: Thu Nov 13, 2008 3:35 pm
by PatSieb
Ok JDHill, i have try to export the tree scene to studio, but no textures are showing up, even the textures without alpha channel. So, what i'm doing wrong, or is it yet a bug?
example:
Thanks
Patrice
Posted: Thu Nov 13, 2008 4:05 pm
by spekoun
Hi. I mentioned alpha before. I would like to see clipmaped material in C4D viewport. I use B&W pictures for alpha too, because maxwell cannot use alpha from tiff, as I know. It would be nice if C4d would use textures from Maxwell material for bump too (enhanced OpenGL can display bump)
Posted: Thu Nov 13, 2008 4:31 pm
by JDHill
Well, after the conversation above, I've written some new code, where I check if a Cinema material's alpha channel has 'Image Alpha' checked, and whether or not there's actually alpha in the image -- if both of them are true, I can use the alpha to create a copy of the file in b&w and give that to Maxwell as a weightmap, so clipping via Cinema alpha can work automatically using alpha-based clip maps. As far as doing the opposite, i.e. changing b&w maps given in an MXM into alpha maps to show in Cinema's viewport, it is not so simple, because I have no way to determine whether or not that is really your intent - maybe you mean to use it as a clip map, and maybe not.
As far as bump/etc., it is not really the intention that Maxwell Materials in the plugin would be used for setting up pretty Cinema scenes - the function of showing any given texture in the viewport is meant to be used as a utility, the main purpose of which is to provide you with an accurate idea of how textures will be placed in the Maxwell render.
About the screenshot Patrice, I see the 'default' material is selected - could you show me a shot of one of the materials that's supposed to be clip-mapped? It should have two layers, each one using the alpha map for its weight, with one inverted. The second layer should then have the map in its transmittance channel - that is being put there erroneously, so it should be removed. The Cinema material's color channel texture should be getting put into the first layer's Reflectance 0 channel.
Posted: Thu Nov 13, 2008 4:42 pm
by PatSieb
Hi spekoun, i know about the alpha problem, thanks.
But this tree scene is working well in cinemaxwell 1.7 with the c4d materials only.(diffuse and alpha black+white).
Concerning the Studio and the material editor, no textures are showing up in my example, strange?...by the way, i never use Studio.
Cheers
Posted: Thu Nov 13, 2008 4:57 pm
by PatSieb
Ok, i have disabled the transmittance map as you mentioned above and it's working. Thanks

Posted: Thu Nov 13, 2008 5:07 pm
by JDHill
Thanks for confirming that Patrice - it will work better in the next version, and you will be able to use alpha-based clip maps.
Posted: Thu Nov 13, 2008 5:20 pm
by PatSieb
you are the man
