Thank you.
mfersaoui
@mfersaoui
Posts made by mfersaoui
-
RE: How to add Layers Shader - C++
I have another question, is it possible to edit the Blur Offset and Blur Scale of shader via c++?
Thanks.
-
RE: How to add Layers Shader - C++
@r_gigante
Hi Riccardo,
Thank you, I will try to import my material from a scene file. -
How to add Layers Shader - C++
Hello,
How to add Layers Shader that contain two layers (Bitmap shader and Hue/Saturation/Lightness effects) with HSL -100 %.
BaseMaterial *Mat = BaseMaterial::Alloc(Mmaterial); if (!Mat) return maxon::OutOfMemoryError(MAXON_SOURCE_LOCATION); BaseContainer *Data = Mat->GetDataInstance(); if (!Data) return true; BaseShader* bsXlayer = BaseShader::Alloc(Xlayer); if (!bsXlayer) return false; Data->SetLink(MATERIAL_ENVIRONMENT_SHADER, bsXlayer); Mat->InsertShader(bsXlayer);
Thanks.
-
RE: Enable/Disable parameters in the Attribute Manager by their parent Group ID
Hi,
Sorry I forgot to mention that I'm working in C++.
Never mind, after testing the Classic Method I noticed that is simple and not take lot of lines of code. So, I will just use the classic methodThanks again.
-
RE: Enable/Disable parameters in the Attribute Manager by their parent Group ID
@zipit
Hi,I thought to use list or dictionary of elements to enable/disable them, I thought it was possible to automatically get all elements ids inside an group and then enable/disable them.
Thank you for your help.
-
Enable/Disable parameters in the Attribute Manager by their parent Group ID
Hello,
Is it possible to enable/disable parameters in the Attribute Manager by their parent group id (enable/disable all the Description Resource inside an group). I don't want to do enable/disable parameters separately one by one in the NodeData::GetDEnabling().
Thanks.
-
RE: Visual Studio - Debugging Plugin Error
@Cairyn Thank you so much, this has solved the problem.
-
RE: Visual Studio - Debugging Plugin Error
@Cairyn said in Visual Studio - Debugging Plugin Error:
Linker/Debugging
Here is screenshot of the Linker/Debugging panel:
-
RE: Visual Studio - Debugging Plugin Error
@Cairyn
Hi,I had already set Cinema4D as the debugging host program.
I don't understand what mean the Command Arguments that you used in your screenshot, is it the path to the preferences folder? I tried this: g_prefspath="C:\Users\ComputerName\AppData\Roaming\MAXON\Cinema 4D R19_BFE04C39"
but I get the same error message.