Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Thanks for your answer, it solved my problem. I used: Vector::ClampMax() and Vector::ClampMin() to limit the tangent to the value I want.
Vector::ClampMax()
Vector::ClampMin()
Thank, AiMiDi
Hi everybody. I find when edit a interior scene or a huge map, it is hard to navigate through only mouse. The best way to control the camera is like FPS games or UE4.
There was vitual walkthrough in cinema 4d however it performs laggy and it's not a flying camera,then it was removed.
My friend write a plugin which make camera read keyboard, however it can only move along the world axis. Besides, it moves about 5 times per sec, laggy too. If anybody knows how to correctly do it, pls tell me thanks.
I used to take in game footage with a xbox controller, find it works perfectly.
So if a combine gamepad and real time keying(cappuccino in c4d), animating camera would be much easier.
These 2 videos demonstrates real time keying with mouse and keyboard to make camera movement and mechanical animations. https://www.youtube.com/watch?v=eoSRMxMDYsk&t=307s https://www.youtube.com/watch?v=a7qyW1G350g
But with a gamepad, we can even achieve this level of control inside the soft ware. Follow character movement, focus on the face, camera shake you name it.
https://www.youtube.com/watch?v=MAFVglxzkhI
3D Connexion SpaceMouse can navigate like a gamepad, but not everybody afford that, and using 1 stick simultaneously to move and rotate is not that accurate.
If you knows how to get the right API, pls leave a comment. That would be really appriciated!
@kbar and @m_magalhaes, Thank you for your reply. I know that parameter changes can be determined by overriding SetDParameter(). But I don't know how to override SetDParameter() to know whether the user has added / deleted keyframes, or changed the value of keyframes (whether the small button next to the parameter is pressed). Thank you again for your help.
SetDParameter()
Thank, AiMiD
As I demonstrated above, how to track the user's changes to the parameter animation in a custom ObjectPlugin, or receive a message when the user changes the animation. Do I need to listen to the above events in ObjectData::Message()?Can someone help me?
ObjectPlugin
ObjectData::Message()
@ferdinand Thank you for your reply. My plugin is written in C++. Is there a way to call redshift.GetRSMaterialNodeMaster() in C++ 's existing sdk? (or call the python code through C++)
redshift.GetRSMaterialNodeMaster()
I need to get the node information on the Redshift material for a plugin that automatically adds maps, reads maps, and converts Redshift materials to default materials. I don't know how to get the XPresso stored on the Redshift material. Can someone help me?
I use ZipFile::CopyInFileInZip() to compress the file into a zip package. However, when the file name contains non ASCII characters, the file name is replaced with an underscore. Is there a way to use non ASCII file names in zip without using external libraries?
ZipFile::CopyInFileInZip()
AutoAlloc<ZipFile> zf; if (zf == nullptr) return maxon::OutOfMemoryError(MAXON_SOURCE_LOCATION); if (!zf->Open(fnZip, false, ZIP_APPEND_CREATE)) return maxon::UnknownError(MAXON_SOURCE_LOCATION); Filename fnCopy; while (fnCopy.FileSelect(FILESELECTTYPE::ANYTHING, FILESELECT::LOAD, "Select file to add to Zip File"_s)) { zf->CopyInFileInZip(fnCopy, "textures/" + fnCopy.GetFileString()); }
Thank, AiMiDi
@m_magalhaes Thank you for your advice. Is the dynamics engine in Cinema4D called in a thread? How does it update the location of the object? Can you provide a general reference for my project?
@ferdinand @fwilleke80 Thank you for your reply. I'm writing an IPR (Interactive Photorealistic Rendering) rendering plugin like octane or redshift. I need to send scene polygons and materials to the outside through IPC (Inter-Process Communication). BaseDocument.Polygonize() solved my problem very well. I need further optimization, and I need to check whether the scene (tags, objects, et cetera) has been changed. Does BaseDocument.Polygonize()copy the Dirty and HDirty of the object?
octane
redshift
BaseDocument.Polygonize()
Dirty
HDirty
@m_magalhaes Thank you for your reply, I'm sorry I didn't make it clear. I wanted to create my own implementation of Bullet Engine. Because the dynamic systems of MMD and Cinema4D are different, the transformation is complicated. I need to do is:
stepSimulation()
Hi everybody. I need to introduce the Bullet Physics engine into C4D to build the Physics system of MMD, AND I need to update objects just like the dynamics system of C4D. Is there any information that was sent out before the calculation of dynamics? Is there a more efficient update method?
Hi everybody. I need to get the final polygon of the current active scene, lights and other objects for synchronization to the external renderer. I learned that VolumeData can do this. I don't know how a dialog plugin gets the final VolumeData for synchronization. If you knows how to get the right API, pls leave a comment. That would be really appriciated!