<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[AB4D Forum - Ab3d.PowerToys]]></title>
		<link>https://forum.ab4d.com/</link>
		<description><![CDATA[AB4D Forum - https://forum.ab4d.com]]></description>
		<pubDate>Sat, 23 May 2026 17:46:09 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Forum closed, use Issues on GitHub instead]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4514</link>
			<pubDate>Wed, 01 Apr 2026 13:45:08 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=1">abenedik</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4514</guid>
			<description><![CDATA[This forum is closed because of problems with sending emails.<br />
<br />
Please use <a href="https://github.com/ab4d/Ab3d.PowerToys.Wpf.Samples/issues" target="_blank" rel="noopener" class="mycode_url">Issues </a> or <a href="https://github.com/ab4d/Ab3d.PowerToys.Wpf.Samples/discussions" target="_blank" rel="noopener" class="mycode_url">Discussions</a> on the <a href="https://github.com/ab4d/Ab3d.PowerToys.Wpf.Samples" target="_blank" rel="noopener" class="mycode_url">GitHub Ab3d.PowerToys.Wpf.Samples repo</a>.]]></description>
			<content:encoded><![CDATA[This forum is closed because of problems with sending emails.<br />
<br />
Please use <a href="https://github.com/ab4d/Ab3d.PowerToys.Wpf.Samples/issues" target="_blank" rel="noopener" class="mycode_url">Issues </a> or <a href="https://github.com/ab4d/Ab3d.PowerToys.Wpf.Samples/discussions" target="_blank" rel="noopener" class="mycode_url">Discussions</a> on the <a href="https://github.com/ab4d/Ab3d.PowerToys.Wpf.Samples" target="_blank" rel="noopener" class="mycode_url">GitHub Ab3d.PowerToys.Wpf.Samples repo</a>.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[AxesBoxVisual3D font scaling]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4492</link>
			<pubDate>Mon, 01 Sep 2025 10:36:04 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=11421">SLH</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4492</guid>
			<description><![CDATA[Hi,<br />
<br />
I am drawing a heightmap inside an axesbox.<br />
<br />
To make things more visible in the heightmap I apply a scaletransform to increase the apparent height. <br />
<br />
However, if I also apply this to the axesbox then the fonts of the values on the axis get stretched.  Is there a way to avoid this?  I can't find the text visuals objects in the hierarchy.<br />
<br />
Thanks in advance!]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I am drawing a heightmap inside an axesbox.<br />
<br />
To make things more visible in the heightmap I apply a scaletransform to increase the apparent height. <br />
<br />
However, if I also apply this to the axesbox then the fonts of the values on the axis get stretched.  Is there a way to avoid this?  I can't find the text visuals objects in the hierarchy.<br />
<br />
Thanks in advance!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Collision Detection]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4485</link>
			<pubDate>Thu, 26 Jun 2025 18:14:25 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=11421">SLH</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4485</guid>
			<description><![CDATA[Hello,<br />
<br />
Just wondering if there is any support in these tools for collision detection between two Meshes/Visuals/etc?<br />
<br />
Unfortunately the meshes have rotations, so bounding box checks aren't quite enough.<br />
<br />
Thanks in advance for your help!]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
Just wondering if there is any support in these tools for collision detection between two Meshes/Visuals/etc?<br />
<br />
Unfortunately the meshes have rotations, so bounding box checks aren't quite enough.<br />
<br />
Thanks in advance for your help!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Boolean subtraction over a transformed distance]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4483</link>
			<pubDate>Tue, 20 May 2025 11:51:59 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=12957">geometry3d</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4483</guid>
			<description><![CDATA[Hi. I am interested in this product. I need to do boolean subtractions on a mesh and display them.<br />
<br />
I need the subtraction to be done over a distance. I think this would be done using a transform. However, the code :<br />
<br />
            TranslateTransform3D translateTransform3D = new TranslateTransform3D();<br />
            translateTransform3D.Transform(new Vector3D(0, 0, 200));<br />
            var subtractedMesh1 = Ab3d.Utilities.MeshBooleanOperations.Subtract(boxMesh, combinedMesh, translateTransform3D, processOnlyIntersectingTriangles: true, generateInnerTriangles: generateInnerTriangles); <br />
            ShowMesh(subtractedMesh1, -120);<br />
<br />
Starts to get confused between MeshGeometry3D, Geometry3D and ModelVisual3D. Is it possible? I need to be able to have<br />
a pointed cone like a pencil tip, and the drag this across a the surface of a cube mesh.]]></description>
			<content:encoded><![CDATA[Hi. I am interested in this product. I need to do boolean subtractions on a mesh and display them.<br />
<br />
I need the subtraction to be done over a distance. I think this would be done using a transform. However, the code :<br />
<br />
            TranslateTransform3D translateTransform3D = new TranslateTransform3D();<br />
            translateTransform3D.Transform(new Vector3D(0, 0, 200));<br />
            var subtractedMesh1 = Ab3d.Utilities.MeshBooleanOperations.Subtract(boxMesh, combinedMesh, translateTransform3D, processOnlyIntersectingTriangles: true, generateInnerTriangles: generateInnerTriangles); <br />
            ShowMesh(subtractedMesh1, -120);<br />
<br />
Starts to get confused between MeshGeometry3D, Geometry3D and ModelVisual3D. Is it possible? I need to be able to have<br />
a pointed cone like a pencil tip, and the drag this across a the surface of a cube mesh.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to output an object to upper left corner]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4463</link>
			<pubDate>Sun, 04 Aug 2024 01:53:19 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=11886">HelloSupport</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4463</guid>
			<description><![CDATA[I have a diagram that I wish to start in the upper left corner.  I can do this setting the camera with FitIntoView but I don't want the entire diagram to be displayed.   <br />
<br />
My understanding is that position (0, 0, 0)  is the center of the screen and if I make the X coordinate of an objet negative, the object location moves to the left.  <br />
<br />
In your sample code Lines3DSample, the first line is drawn with:<br />
<br />
              &lt;visuals:LineVisual3D StartPosition="-50,0,220" EndPosition="50,0,220" LineColor="Silver" LineThickness="1"/&gt;<br />
  <br />
How do I calculate the StartPosition so that that line starts in the upper left hand corner?]]></description>
			<content:encoded><![CDATA[I have a diagram that I wish to start in the upper left corner.  I can do this setting the camera with FitIntoView but I don't want the entire diagram to be displayed.   <br />
<br />
My understanding is that position (0, 0, 0)  is the center of the screen and if I make the X coordinate of an objet negative, the object location moves to the left.  <br />
<br />
In your sample code Lines3DSample, the first line is drawn with:<br />
<br />
              &lt;visuals:LineVisual3D StartPosition="-50,0,220" EndPosition="50,0,220" LineColor="Silver" LineThickness="1"/&gt;<br />
  <br />
How do I calculate the StartPosition so that that line starts in the upper left hand corner?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Rotation problem]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4461</link>
			<pubDate>Fri, 02 Aug 2024 10:23:17 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=12696">matteocarbonara</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4461</guid>
			<description><![CDATA[Hi, <br />
<br />
I wanted to report a problem in the Ab3d samples, in particular in the section "ModelMover and ModelRotator" which refers to the file ModelMoverAndRotatorSample.xaml.cs.<br />
If I initialize the variable "_zAxisAngleRotation3D" with the z axis and an angle of 90 degrees i.e. I apply to the object an initial rotation of 90 degrees around the z axis, then there are some problems with the rotation. For example, if I rotate the object around the x axis, it rotates around another axis different from x.<br />
I think that the problem is in the following line:<br />
<br />
"_transform3DGroup.Children.Insert(_transform3DGroup.Children.Count - 2, rotateTransform3D) "<br />
<br />
The comment before this line tells "insert before TranslateTransform3D" but in order to insert before TranslateTransform3D I think that the index should be "_transform3DGroup.Children.Count - 1". If I implement this modification, then I have no more problems with the rotation.<br />
<br />
Thank you for your time,<br />
Matteo]]></description>
			<content:encoded><![CDATA[Hi, <br />
<br />
I wanted to report a problem in the Ab3d samples, in particular in the section "ModelMover and ModelRotator" which refers to the file ModelMoverAndRotatorSample.xaml.cs.<br />
If I initialize the variable "_zAxisAngleRotation3D" with the z axis and an angle of 90 degrees i.e. I apply to the object an initial rotation of 90 degrees around the z axis, then there are some problems with the rotation. For example, if I rotate the object around the x axis, it rotates around another axis different from x.<br />
I think that the problem is in the following line:<br />
<br />
"_transform3DGroup.Children.Insert(_transform3DGroup.Children.Count - 2, rotateTransform3D) "<br />
<br />
The comment before this line tells "insert before TranslateTransform3D" but in order to insert before TranslateTransform3D I think that the index should be "_transform3DGroup.Children.Count - 1". If I implement this modification, then I have no more problems with the rotation.<br />
<br />
Thank you for your time,<br />
Matteo]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Create a HeightMapVisual3D map from a list of Point3D]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4444</link>
			<pubDate>Mon, 01 Apr 2024 11:10:40 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=12231">Onisim</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4444</guid>
			<description><![CDATA[Hi,<br />
I want to create a HeightMapVisual3D map from a list of Point3D. I have a bunch of 2000 point3D points and I want to create a heightMap from those points. How to do that?]]></description>
			<content:encoded><![CDATA[Hi,<br />
I want to create a HeightMapVisual3D map from a list of Point3D. I have a bunch of 2000 point3D points and I want to create a heightMap from those points. How to do that?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Checking availability of assimp c++ source]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4441</link>
			<pubDate>Sat, 02 Mar 2024 13:30:06 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=12259">kanta8819@cadian.com</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4441</guid>
			<description><![CDATA[hello. I'm currently using Ab3d.PowerToys. Can you provide libraries or source to integrate with C++?<br />
<br />
I'm trying to write a tool using QT, but I need a C++ library or source code.<br />
<br />
thank you]]></description>
			<content:encoded><![CDATA[hello. I'm currently using Ab3d.PowerToys. Can you provide libraries or source to integrate with C++?<br />
<br />
I'm trying to write a tool using QT, but I need a C++ library or source code.<br />
<br />
thank you]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[WPF UserControl Issues]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4440</link>
			<pubDate>Fri, 23 Feb 2024 03:53:24 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=12259">kanta8819@cadian.com</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4440</guid>
			<description><![CDATA[When a Winform with WPF UserControl added is displayed in an MDI window, the size cannot be changed.<br />
<br />
Please confirm.<br />
<br />
thank you]]></description>
			<content:encoded><![CDATA[When a Winform with WPF UserControl added is displayed in an MDI window, the size cannot be changed.<br />
<br />
Please confirm.<br />
<br />
thank you]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Redimension the List of SphereVisual3D]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4434</link>
			<pubDate>Thu, 04 Jan 2024 09:35:05 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=12231">Onisim</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4434</guid>
			<description><![CDATA[How can I redimension the size of the list of spheres but not depending on the spheres' position?<br />
I have an ensemble of 200-300 spheres and I want to redimension them proportionally, in order so that the nodes are the same size visually.<br />
I want all the nodes to have the same dimension indifferent to the node position. In my case, when I zoom the camera with the mouse, many nodes (spheres) will not be seen.<br />
This is the codebase:<br />
// for nodes (list of sphere visual 3d)            <br />
            for (int i = 0; i &lt; nodes.Count; i++)<br />
            {<br />
                try<br />
                {<br />
                    var centerPoint = new Point3D(0, 0, 0);<br />
                    var selectedNodes = nodes.Where(s =&gt; s.Radius == 0.51).ToList();<br />
                    if (selectedNodes.Count() == 1)<br />
                    {<br />
                        centerPoint = selectedNodes[0].CenterPosition;<br />
                    }<br />
<br />
                    Size worldSize = Camera1.GetWorldSize(new Size(6.2, 2), centerPoint); // not sure how it works (to be investigated)<br />
                    var scaleTransform3D = nodes[i].Transform as ScaleTransform3D; // not sure how it works (to be investigated)<br />
<br />
                    scaleTransform3D = new ScaleTransform3D();<br />
<br />
                    // To prevent scaling the position (multiplying it with the scale factor), we need to set the center of scale<br />
                    scaleTransform3D.CenterX = nodes[i].CenterPosition.X;<br />
                    scaleTransform3D.CenterY = nodes[i].CenterPosition.Y;<br />
                    scaleTransform3D.CenterZ = nodes[i].CenterPosition.Z;<br />
<br />
                    nodes[i].Transform = scaleTransform3D;<br />
<br />
                    double scaleFactor = worldSize.Width / 1;<br />
                    scaleTransform3D.ScaleX = scaleFactor;<br />
                    scaleTransform3D.ScaleY = scaleFactor;<br />
                    scaleTransform3D.ScaleZ = scaleFactor;<br />
                }<br />
                catch { }<br />
            }]]></description>
			<content:encoded><![CDATA[How can I redimension the size of the list of spheres but not depending on the spheres' position?<br />
I have an ensemble of 200-300 spheres and I want to redimension them proportionally, in order so that the nodes are the same size visually.<br />
I want all the nodes to have the same dimension indifferent to the node position. In my case, when I zoom the camera with the mouse, many nodes (spheres) will not be seen.<br />
This is the codebase:<br />
// for nodes (list of sphere visual 3d)            <br />
            for (int i = 0; i &lt; nodes.Count; i++)<br />
            {<br />
                try<br />
                {<br />
                    var centerPoint = new Point3D(0, 0, 0);<br />
                    var selectedNodes = nodes.Where(s =&gt; s.Radius == 0.51).ToList();<br />
                    if (selectedNodes.Count() == 1)<br />
                    {<br />
                        centerPoint = selectedNodes[0].CenterPosition;<br />
                    }<br />
<br />
                    Size worldSize = Camera1.GetWorldSize(new Size(6.2, 2), centerPoint); // not sure how it works (to be investigated)<br />
                    var scaleTransform3D = nodes[i].Transform as ScaleTransform3D; // not sure how it works (to be investigated)<br />
<br />
                    scaleTransform3D = new ScaleTransform3D();<br />
<br />
                    // To prevent scaling the position (multiplying it with the scale factor), we need to set the center of scale<br />
                    scaleTransform3D.CenterX = nodes[i].CenterPosition.X;<br />
                    scaleTransform3D.CenterY = nodes[i].CenterPosition.Y;<br />
                    scaleTransform3D.CenterZ = nodes[i].CenterPosition.Z;<br />
<br />
                    nodes[i].Transform = scaleTransform3D;<br />
<br />
                    double scaleFactor = worldSize.Width / 1;<br />
                    scaleTransform3D.ScaleX = scaleFactor;<br />
                    scaleTransform3D.ScaleY = scaleFactor;<br />
                    scaleTransform3D.ScaleZ = scaleFactor;<br />
                }<br />
                catch { }<br />
            }]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[After upgrading to PowerToys 11.0 i have a problem with "BoxVisual3d.Children"]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4433</link>
			<pubDate>Sat, 25 Nov 2023 13:09:25 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=11935">close</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4433</guid>
			<description><![CDATA[Hi,<br />
<br />
After upgrading to PowerToys 11.0 i have a problem with "BoxVisual3d.Children".<br />
<br />
When i use the PowerToys 9.4 version the following code draws 2 boxes.<br />
<br />
            BoxVisual3D b = new BoxVisual3D();<br />
            b.Size = new Size3D(1000,1000, 1000);<br />
            b.Material = new DiffuseMaterial(new SolidColorBrush(Colors.Gold));<br />
            b.CenterPosition = new Point3D(0, 2000, 0);<br />
<br />
            b.Children.Add(new BoxVisual3D(){Size = new Size3D(500,500,500),CenterPosition = new Point3D(0,0,0),Material = b.Material});<br />
<br />
            MainViewPort3D.Children.Add(b);<br />
<br />
<br />
But with the 11.0 version the "child" BoxVisual3D is not shown anymore.]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
After upgrading to PowerToys 11.0 i have a problem with "BoxVisual3d.Children".<br />
<br />
When i use the PowerToys 9.4 version the following code draws 2 boxes.<br />
<br />
            BoxVisual3D b = new BoxVisual3D();<br />
            b.Size = new Size3D(1000,1000, 1000);<br />
            b.Material = new DiffuseMaterial(new SolidColorBrush(Colors.Gold));<br />
            b.CenterPosition = new Point3D(0, 2000, 0);<br />
<br />
            b.Children.Add(new BoxVisual3D(){Size = new Size3D(500,500,500),CenterPosition = new Point3D(0,0,0),Material = b.Material});<br />
<br />
            MainViewPort3D.Children.Add(b);<br />
<br />
<br />
But with the 11.0 version the "child" BoxVisual3D is not shown anymore.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Importing GLB with texture]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4432</link>
			<pubDate>Tue, 21 Nov 2023 19:04:28 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=12153">Nickelnext</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4432</guid>
			<description><![CDATA[Hi.<br />
We are trying to import a GLB file with texture but it shows without any texture in the viewer.<br />
<br />
Can you please help?<br />
Is there some particular property that must be set to correctly load the GLB?<br />
<br />
<a href="https://fifthingenium-my.sharepoint.com/:u:/p/luigi_oliveto/ERax1GAIbIFGpKRPlyf7jCYBv8KieTwwSbVwK49slZQVeg?e=08VJwG" target="_blank" rel="noopener" class="mycode_url">File GLB</a><br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[Hi.<br />
We are trying to import a GLB file with texture but it shows without any texture in the viewer.<br />
<br />
Can you please help?<br />
Is there some particular property that must be set to correctly load the GLB?<br />
<br />
<a href="https://fifthingenium-my.sharepoint.com/:u:/p/luigi_oliveto/ERax1GAIbIFGpKRPlyf7jCYBv8KieTwwSbVwK49slZQVeg?e=08VJwG" target="_blank" rel="noopener" class="mycode_url">File GLB</a><br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Lines intersection]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4431</link>
			<pubDate>Fri, 17 Nov 2023 09:58:27 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=12231">Onisim</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4431</guid>
			<description><![CDATA[How to get the Point3D of a two intersected lines?<br />
I want to get the intersection Point3D of two or more lines (LineVisual3D) from VisualSpace (or ViewPort).]]></description>
			<content:encoded><![CDATA[How to get the Point3D of a two intersected lines?<br />
I want to get the intersection Point3D of two or more lines (LineVisual3D) from VisualSpace (or ViewPort).]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[RenderToBitmap poor performance]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4430</link>
			<pubDate>Wed, 18 Oct 2023 10:14:10 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=11421">SLH</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4430</guid>
			<description><![CDATA[Hi,<br />
<br />
RenderToBitmap takes a long time (~60 seconds consistently) to render a 2048x2048 image. This seems excessive as in the onscreen view I can render in realtime. <br />
<br />
Is this expected behaviour? If so, are there any workarounds for it?<br />
<br />
I'm calling this routine:<br />
public RenderTargetBitmap RenderToBitmap(Brush backgroundBrush = null, int dpi = 96);<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>   &nbsp;&nbsp;var viewport3D = new Viewport3D();<br />
<br />
   &nbsp;&nbsp;viewport3D.Width = 2048;<br />
   &nbsp;&nbsp;viewport3D.Height = 2048;<br />
<br />
   &nbsp;&nbsp;var camera = new FirstPersonCamera();<br />
   &nbsp;&nbsp;camera.Position = new Point3D(0, 0, 0);<br />
   &nbsp;&nbsp;camera.Bank = 0;<br />
   &nbsp;&nbsp;camera.Heading = 0;<br />
   &nbsp;&nbsp;camera.Attitude = -90;<br />
   &nbsp;&nbsp;camera.FieldOfView = 92;<br />
   &nbsp;&nbsp;camera.TargetViewport3D = viewport3D;<br />
<br />
   &nbsp;&nbsp;var displayModels = objs.AsModel3DGroup();<br />
<br />
   &nbsp;&nbsp;foreach (var m in objs.Values)<br />
   &nbsp;&nbsp;{<br />
       &nbsp;&nbsp;viewport3D.Children.Add(m.CreateModelVisual3D());<br />
   &nbsp;&nbsp;}<br />
<br />
   &nbsp;&nbsp;camera.Refresh();<br />
<br />
   &nbsp;&nbsp;Stopwatch renderStopWatch = new Stopwatch();<br />
   &nbsp;&nbsp;renderStopWatch.Start();<br />
<br />
   &nbsp;&nbsp;var img = camera.RenderToBitmap(backgroundBrush);  &nbsp;&nbsp;<br />
<br />
   &nbsp;&nbsp;renderStopWatch.Stop();</code></div></div>]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
RenderToBitmap takes a long time (~60 seconds consistently) to render a 2048x2048 image. This seems excessive as in the onscreen view I can render in realtime. <br />
<br />
Is this expected behaviour? If so, are there any workarounds for it?<br />
<br />
I'm calling this routine:<br />
public RenderTargetBitmap RenderToBitmap(Brush backgroundBrush = null, int dpi = 96);<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>   &nbsp;&nbsp;var viewport3D = new Viewport3D();<br />
<br />
   &nbsp;&nbsp;viewport3D.Width = 2048;<br />
   &nbsp;&nbsp;viewport3D.Height = 2048;<br />
<br />
   &nbsp;&nbsp;var camera = new FirstPersonCamera();<br />
   &nbsp;&nbsp;camera.Position = new Point3D(0, 0, 0);<br />
   &nbsp;&nbsp;camera.Bank = 0;<br />
   &nbsp;&nbsp;camera.Heading = 0;<br />
   &nbsp;&nbsp;camera.Attitude = -90;<br />
   &nbsp;&nbsp;camera.FieldOfView = 92;<br />
   &nbsp;&nbsp;camera.TargetViewport3D = viewport3D;<br />
<br />
   &nbsp;&nbsp;var displayModels = objs.AsModel3DGroup();<br />
<br />
   &nbsp;&nbsp;foreach (var m in objs.Values)<br />
   &nbsp;&nbsp;{<br />
       &nbsp;&nbsp;viewport3D.Children.Add(m.CreateModelVisual3D());<br />
   &nbsp;&nbsp;}<br />
<br />
   &nbsp;&nbsp;camera.Refresh();<br />
<br />
   &nbsp;&nbsp;Stopwatch renderStopWatch = new Stopwatch();<br />
   &nbsp;&nbsp;renderStopWatch.Start();<br />
<br />
   &nbsp;&nbsp;var img = camera.RenderToBitmap(backgroundBrush);  &nbsp;&nbsp;<br />
<br />
   &nbsp;&nbsp;renderStopWatch.Stop();</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Where I find MouseMovableUIElement3D]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4412</link>
			<pubDate>Thu, 31 Aug 2023 06:09:59 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=12231">Onisim</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4412</guid>
			<description><![CDATA[I need to use MouseMovableUIElement3D in my solution, and I didn't find the MouseMovableUIElement3D class. I thought that it would be in Ab3d.Controls but it wasn't. Where I will find it, to import it?]]></description>
			<content:encoded><![CDATA[I need to use MouseMovableUIElement3D in my solution, and I didn't find the MouseMovableUIElement3D class. I thought that it would be in Ab3d.Controls but it wasn't. Where I will find it, to import it?]]></content:encoded>
		</item>
	</channel>
</rss>