<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Issue with focal length and film gate]]></title><description><![CDATA[<p dir="auto"><em>On 04/04/2018 at 10:24, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Can we change the focal length and Film gate of the created camera using the own created GUI?</p>
<p dir="auto">I have created a prompt window, from where I want to change the focal length and gate field of the cameras. But what happen if I am trying to change the focal length to enter the value in prompt windows, it is not reflecting.</p>
<p dir="auto">Here I am using a trick here I am reading the value from the prompt and delete the existing camera and again creating a camera with new focal length, it is working but it seems complicated if there are a lot of cameras.</p>
<p dir="auto">Please give me some right solution to change the focal length and another property of camera from the own created GUI.</p>
]]></description><link>http://developers.maxon.net/forum//topic/10728/14172_issue-with-focal-length-and-film-gate</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 10:35:07 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum//topic/10728.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Sep 2018 10:16:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Issue with focal length and film gate on Sat, 01 Sep 2018 10:17:05 GMT]]></title><description><![CDATA[<p dir="auto"><em>On 10/04/2018 at 02:58, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Hi,</p>
<p dir="auto">terribly sorry, I can only apologize. Even though marked in bold red in my ToDo table, I somehow managed to loose your thread...</p>
<p dir="auto">So, <a href="https://developers.maxon.net/docs/cpp/2023_2/class_camera_object.html#aaba2b250b2eeb5493bd3fa9837291fa4" target="_blank" rel="noopener noreferrer nofollow ugc">SetFocus()</a> and <a href="https://developers.maxon.net/docs/cpp/2023_2/class_camera_object.html#a78d388adaa508ec7649c9423b2bbaa37" target="_blank" rel="noopener noreferrer nofollow ugc">SetAperture()</a> internally do not much else than setting the respective camera parameter. Only addition is clamping the input values to a valid range.</p>
<p dir="auto">But I still don't understand the actual issue? I need to repeat my question: I'm wondering, why you can not simply use the same approach on an already existing camera, but instead do the deletion and recreation?</p>
<p dir="auto">In general you react to value changes in your <a href="https://developers.maxon.net/docs/cpp/2023_2/class_ge_dialog.html" target="_blank" rel="noopener noreferrer nofollow ugc">GeDialog</a> in its <a href="https://developers.maxon.net/docs/cpp/2023_2/class_ge_dialog.html#a6951f2efd5182605431a3d10847ab406" target="_blank" rel="noopener noreferrer nofollow ugc">Command()</a> function. In reaction to changes of your for example "focus widget" in the GeDialog, you'd set the respective parameters of one or all cameras, either with above mentioned dedicated functions or by generally modifying parameters (<a href="https://developers.maxon.net/docs/cpp/2023_2/class_c4_d_atom.html#a1d4d31be513de2c8e005582e063977e3" target="_blank" rel="noopener noreferrer nofollow ugc">SetParameter()</a>).</p>
<p dir="auto">Maybe also check out the manuals about <a href="https://developers.maxon.net/docs/cpp/2023_2/page_manual_cameraobject.html" target="_blank" rel="noopener noreferrer nofollow ugc">CameraObject</a> and <a href="https://developers.maxon.net/docs/cpp/2023_2/page_manual_gedialog.html" target="_blank" rel="noopener noreferrer nofollow ugc">GeDialog</a>, the code snippets there can help a lot with understanding how things are working together.</p>
]]></description><link>http://developers.maxon.net/forum//post/54691</link><guid isPermaLink="true">http://developers.maxon.net/forum//post/54691</guid><dc:creator><![CDATA[Helper]]></dc:creator><pubDate>Sat, 01 Sep 2018 10:17:05 GMT</pubDate></item><item><title><![CDATA[Reply to Issue with focal length and film gate on Sat, 01 Sep 2018 10:17:03 GMT]]></title><description><![CDATA[<p dir="auto"><em>On 09/04/2018 at 03:13, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Hi Andreas,</p>
<p dir="auto">I am waiting for your reply since 5 days, please help me.!<code>Cry</code>[URL-REMOVED]</p>
<hr />
<p dir="auto">[URL-REMOVED] <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/maxon">@<bdi>maxon</bdi></a>: This section contained a non-resolving link which has been removed.</p>
]]></description><link>http://developers.maxon.net/forum//post/54690</link><guid isPermaLink="true">http://developers.maxon.net/forum//post/54690</guid><dc:creator><![CDATA[Helper]]></dc:creator><pubDate>Sat, 01 Sep 2018 10:17:03 GMT</pubDate></item><item><title><![CDATA[Reply to Issue with focal length and film gate on Sat, 01 Sep 2018 10:17:00 GMT]]></title><description><![CDATA[<p dir="auto"><em>On 05/04/2018 at 03:23, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">I am using C++ for the development.I am creating a CommandData plugin, where I am creating more than one camera. So here I am creating GeDialog to change the focal length of each camera. I am using the below-mentioned API to change camera focal length and sensor size.</p>
<p dir="auto">cameraObj&gt;SetFocus(f);<br />
cameraObj&gt;SetAperture(g);</p>
]]></description><link>http://developers.maxon.net/forum//post/54689</link><guid isPermaLink="true">http://developers.maxon.net/forum//post/54689</guid><dc:creator><![CDATA[Helper]]></dc:creator><pubDate>Sat, 01 Sep 2018 10:17:00 GMT</pubDate></item><item><title><![CDATA[Reply to Issue with focal length and film gate on Sat, 01 Sep 2018 10:16:57 GMT]]></title><description><![CDATA[<p dir="auto"><em>On 05/04/2018 at 02:55, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Hi,</p>
<p dir="auto">actually I'd like to move this thread either into SDK Help or Python sub-forum. Just not sure, if you are using C++ or Python for this?</p>
<p dir="auto">About your actual question(s) we will need a bit more information in order to understand the problem.</p>
<p dir="auto">In general the parameters of camera objects can be changed like any other parameter of other arbitrary entities (<a href="https://developers.maxon.net/docs/cpp/2023_2/class_c4_d_atom.html#a1d4d31be513de2c8e005582e063977e3" target="_blank" rel="noopener noreferrer nofollow ugc">C4DAtom::SetParameter()</a>). But I guess, you already know this, as you seem to be able to change the parameters for freshly created cameras. Now, I'm wondering, why you can not simply use the same approach on an already existing camera, but instead do the deletion and recreation?</p>
<p dir="auto">"Your own created GUI" is a GeDialog? Or is it something completely different? Maybe it also helps, if you tell us what type of plugin (CommandData, ObjectData,...?) you are implementing.</p>
]]></description><link>http://developers.maxon.net/forum//post/54688</link><guid isPermaLink="true">http://developers.maxon.net/forum//post/54688</guid><dc:creator><![CDATA[Helper]]></dc:creator><pubDate>Sat, 01 Sep 2018 10:16:57 GMT</pubDate></item></channel></rss>