<?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 - Viewer3ds and Ab3d.Reader3ds]]></title>
		<link>https://forum.ab4d.com/</link>
		<description><![CDATA[AB4D Forum - https://forum.ab4d.com]]></description>
		<pubDate>Thu, 23 Apr 2026 10:01:50 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Forum closed]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4515</link>
			<pubDate>Wed, 01 Apr 2026 13:46:17 +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=4515</guid>
			<description><![CDATA[This forum is closed because of problems with sending emails.]]></description>
			<content:encoded><![CDATA[This forum is closed because of problems with sending emails.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Triangulation method inquiry]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4442</link>
			<pubDate>Fri, 08 Mar 2024 05:35:39 +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=4442</guid>
			<description><![CDATA[I read the data using Reader3DS and wrote the code below, but something went wrong and the basic shape came out fine, but the triangular face came out broken.<br />
help<br />
<br />
for (int i = 0; i &lt; model3D.Children.Count; i++)<br />
{<br />
    switch (model3D.Children[i].GetType().Name)<br />
    {<br />
        case "GeometryModel3D":<br />
            foreach (var item in ((model3D.Children[i] as GeometryModel3D).Geometry as MeshGeometry3D).Positions)<br />
            {<br />
                double x = item.X; double y = item.Y; double z = item.Z;<br />
                mesh.Positions.Add(new Point3D(x, y, z));<br />
            }<br />
<br />
            foreach (int item in ((MeshGeometry3D)((GeometryModel3D)model3D.Children[i]).Geometry).TriangleIndices)<br />
            {<br />
                mesh.TriangleIndices.Add(item);<br />
                //double x = item.X; double y = item.Y; double z = item.Z;<br />
                //mesh.Positions.Add(new Point3D(x, y, z));<br />
            }<br />
<br />
            foreach (var item in ((MeshGeometry3D)((GeometryModel3D)model3D.Children[i]).Geometry).Normals)<br />
            {<br />
                double x = item.X; double y = item.Y; double z = item.Z;<br />
                mesh.Normals.Add(new System.Windows.Media.Media3D.Vector3D(x, y, z));<br />
            }<br />
<br />
            foreach (var item in ((MeshGeometry3D)((GeometryModel3D)model3D.Children[i]).Geometry).TextureCoordinates)<br />
            {<br />
                double x = item.X; double y = item.Y;<br />
                mesh.TextureCoordinates.Add(new Point(x, y));<br />
            }<br />
            gmodel.Material = ((GeometryModel3D)model3D.Children[i]).Material;<br />
            gmodel.Geometry = mesh;<br />
            break;<br />
        case "Model3DGroup":<br />
            break;<br />
<br />
        default:<br />
            break;<br />
    }<br />
<br />
}<br />
<br />
thank you]]></description>
			<content:encoded><![CDATA[I read the data using Reader3DS and wrote the code below, but something went wrong and the basic shape came out fine, but the triangular face came out broken.<br />
help<br />
<br />
for (int i = 0; i &lt; model3D.Children.Count; i++)<br />
{<br />
    switch (model3D.Children[i].GetType().Name)<br />
    {<br />
        case "GeometryModel3D":<br />
            foreach (var item in ((model3D.Children[i] as GeometryModel3D).Geometry as MeshGeometry3D).Positions)<br />
            {<br />
                double x = item.X; double y = item.Y; double z = item.Z;<br />
                mesh.Positions.Add(new Point3D(x, y, z));<br />
            }<br />
<br />
            foreach (int item in ((MeshGeometry3D)((GeometryModel3D)model3D.Children[i]).Geometry).TriangleIndices)<br />
            {<br />
                mesh.TriangleIndices.Add(item);<br />
                //double x = item.X; double y = item.Y; double z = item.Z;<br />
                //mesh.Positions.Add(new Point3D(x, y, z));<br />
            }<br />
<br />
            foreach (var item in ((MeshGeometry3D)((GeometryModel3D)model3D.Children[i]).Geometry).Normals)<br />
            {<br />
                double x = item.X; double y = item.Y; double z = item.Z;<br />
                mesh.Normals.Add(new System.Windows.Media.Media3D.Vector3D(x, y, z));<br />
            }<br />
<br />
            foreach (var item in ((MeshGeometry3D)((GeometryModel3D)model3D.Children[i]).Geometry).TextureCoordinates)<br />
            {<br />
                double x = item.X; double y = item.Y;<br />
                mesh.TextureCoordinates.Add(new Point(x, y));<br />
            }<br />
            gmodel.Material = ((GeometryModel3D)model3D.Children[i]).Material;<br />
            gmodel.Geometry = mesh;<br />
            break;<br />
        case "Model3DGroup":<br />
            break;<br />
<br />
        default:<br />
            break;<br />
    }<br />
<br />
}<br />
<br />
thank you]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[assimpWpfExporter conversion issue]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4439</link>
			<pubDate>Fri, 16 Feb 2024 08:02:07 +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=4439</guid>
			<description><![CDATA[hello  <br />
<br />
          // Here we export Viewport3D:<br />
            assimpWpfExporter.AddViewport3D(viewport3D);<br />
<br />
            AssimpWpfExporter.ExportViewport3D(viewport3D, "D:\\test1.glb", exportFormatId);<br />
            bool isExported;<br />
            <br />
            try<br />
            {<br />
                isExported = assimpWpfExporter.Export(fileName, exportFormatId);<br />
<br />
                // To export to an in-memory object use the ExportToDataBlob that returns a ExportDataBlob with byte array<br />
                //var dataBlob = assimpWpfExporter.ExportToDataBlob(exportFormatId);<br />
<br />
                //if (!isExported)<br />
                //    MessageBox.Show("Not exported");<br />
            }<br />
            catch (Exception ex)<br />
            {<br />
                //MessageBox.Show("Error exporting:\r\n" + ex.Message);<br />
                isExported = false;<br />
            }<br />
<br />
            return isExported;<br />
<br />
When you run the code above, a test.glb file is created, but when you open it in the viewer, it says it is an incorrect file.<br />
I did the same as the example and it worked fine.<br />
I would like to know where the problem is.<br />
<br />
thank you]]></description>
			<content:encoded><![CDATA[hello  <br />
<br />
          // Here we export Viewport3D:<br />
            assimpWpfExporter.AddViewport3D(viewport3D);<br />
<br />
            AssimpWpfExporter.ExportViewport3D(viewport3D, "D:\\test1.glb", exportFormatId);<br />
            bool isExported;<br />
            <br />
            try<br />
            {<br />
                isExported = assimpWpfExporter.Export(fileName, exportFormatId);<br />
<br />
                // To export to an in-memory object use the ExportToDataBlob that returns a ExportDataBlob with byte array<br />
                //var dataBlob = assimpWpfExporter.ExportToDataBlob(exportFormatId);<br />
<br />
                //if (!isExported)<br />
                //    MessageBox.Show("Not exported");<br />
            }<br />
            catch (Exception ex)<br />
            {<br />
                //MessageBox.Show("Error exporting:\r\n" + ex.Message);<br />
                isExported = false;<br />
            }<br />
<br />
            return isExported;<br />
<br />
When you run the code above, a test.glb file is created, but when you open it in the viewer, it says it is an incorrect file.<br />
I did the same as the example and it worked fine.<br />
I would like to know where the problem is.<br />
<br />
thank you]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to get a mesh and get mesh points]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4438</link>
			<pubDate>Wed, 14 Feb 2024 00:19:56 +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=4438</guid>
			<description><![CDATA[<span style="color: #202124;" class="mycode_color">How to get a mesh and get mesh points</span><br />
<br />
<span style="color: #202124;" class="mycode_color"><span style="font-size: small;" class="mycode_size">I am trying to create a triangular mesh on the web screen using Ab3d.Reader3ds.</span></span><br />
<span style="color: #202124;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><br />
thank you</span></span>]]></description>
			<content:encoded><![CDATA[<span style="color: #202124;" class="mycode_color">How to get a mesh and get mesh points</span><br />
<br />
<span style="color: #202124;" class="mycode_color"><span style="font-size: small;" class="mycode_size">I am trying to create a triangular mesh on the web screen using Ab3d.Reader3ds.</span></span><br />
<span style="color: #202124;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><br />
thank you</span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to read a 3DS file and output it to the Tree.js screen as json]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4436</link>
			<pubDate>Wed, 24 Jan 2024 23:21:02 +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=4436</guid>
			<description><![CDATA[<span style="color: #202124;" class="mycode_color"><span style="font-size: x-large;" class="mycode_size">I'm currently using ab3d.Reader3D.<br />
I would like to read and display 3DS files on the web.<br />
Is there a way?<br />
Can you please write an example code?<br />
please answer about my question.</span></span>]]></description>
			<content:encoded><![CDATA[<span style="color: #202124;" class="mycode_color"><span style="font-size: x-large;" class="mycode_size">I'm currently using ab3d.Reader3D.<br />
I would like to read and display 3DS files on the web.<br />
Is there a way?<br />
Can you please write an example code?<br />
please answer about my question.</span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Earlier versions of Reader3ds]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=4213</link>
			<pubDate>Wed, 09 Sep 2020 20:24:51 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=12006">Jens</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=4213</guid>
			<description><![CDATA[Hi <br />
<br />
Where is the archive to retrive your download to your older purchased software ?<br />
<br />
Best regards<br />
/Jens]]></description>
			<content:encoded><![CDATA[Hi <br />
<br />
Where is the archive to retrive your download to your older purchased software ?<br />
<br />
Best regards<br />
/Jens]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Reader for DWG files]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=3963</link>
			<pubDate>Wed, 10 Feb 2016 07:56:56 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=9964">shanadas</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=3963</guid>
			<description><![CDATA[Is it possible to render Autocad DWG files using AB4D component? Any samples or reference available in this regard?]]></description>
			<content:encoded><![CDATA[Is it possible to render Autocad DWG files using AB4D component? Any samples or reference available in this regard?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Difference in animation]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=3931</link>
			<pubDate>Mon, 06 Apr 2015 23:55:01 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=9903">Totoyami</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=3931</guid>
			<description><![CDATA[Hi,<br />
<br />
Some .3ds files are animated different in 3D Max and in Viewer3ds. Example is here <a href="https://www.dropbox.com/s/noa9apnmhlnmmhg/123.3DS?dl=0" target="_blank" rel="noopener" class="mycode_url">https://www.dropbox.com/s/noa9apnmhlnmmhg/123.3DS?dl=0</a>.<br />
<br />
Brief description: Static image looks fine in both programs, animation - not. If we play it in 3D Max - everything is fine, but when we try to read and play it with Viewer3ds we can see one of elements, which is supposed to be inside of the main model object, is flying somewhere nearby. And during the animation, instead of rising from the model, it at first sinks in one side and then appears from another.<br />
<br />
Is any possible solution to this problem?<br />
<br />
Thanks<br />
Andrew]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
Some .3ds files are animated different in 3D Max and in Viewer3ds. Example is here <a href="https://www.dropbox.com/s/noa9apnmhlnmmhg/123.3DS?dl=0" target="_blank" rel="noopener" class="mycode_url">https://www.dropbox.com/s/noa9apnmhlnmmhg/123.3DS?dl=0</a>.<br />
<br />
Brief description: Static image looks fine in both programs, animation - not. If we play it in 3D Max - everything is fine, but when we try to read and play it with Viewer3ds we can see one of elements, which is supposed to be inside of the main model object, is flying somewhere nearby. And during the animation, instead of rising from the model, it at first sinks in one side and then appears from another.<br />
<br />
Is any possible solution to this problem?<br />
<br />
Thanks<br />
Andrew]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Ab3d.Reader3ds library]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=3927</link>
			<pubDate>Mon, 09 Feb 2015 10:08:09 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=9895">josep</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=3927</guid>
			<description><![CDATA[I want to buy the SW "Viewer3ds" to open files with .3ds format and export to XAML.<br />
<br />
I read in the description that the version without "Ab3d.Reader3ds library" puts "You can use Viewer3ds application to convert 3ds files into xaml. You can not use batch conversion Viewer3ds with application".<br />
<br />
As stated in the initial message, I only I want to open the 3ds file and export the model exactly to XAML. I only need to use your SW to generate the XAML, I understand that I do not need the library, is that correct?<br />
<br />
I've searched and it is not clear for me which means "batch conversion"<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[I want to buy the SW "Viewer3ds" to open files with .3ds format and export to XAML.<br />
<br />
I read in the description that the version without "Ab3d.Reader3ds library" puts "You can use Viewer3ds application to convert 3ds files into xaml. You can not use batch conversion Viewer3ds with application".<br />
<br />
As stated in the initial message, I only I want to open the 3ds file and export the model exactly to XAML. I only need to use your SW to generate the XAML, I understand that I do not need the library, is that correct?<br />
<br />
I've searched and it is not clear for me which means "batch conversion"<br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[reset colors]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=3924</link>
			<pubDate>Sun, 04 Jan 2015 12:18:21 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=9876">fred_2420</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=3924</guid>
			<description><![CDATA[Last question I promise,<br />
<br />
Is their anyway of reapplying a models normal colors (i.e how it was imported). I have a some models and when parts are clicked i have written code to change that parts color. (in this case to blue) but i am having a nightmare finding a good way to reset the color back to its original. <br />
<br />
many thanks<br />
<br />
fred]]></description>
			<content:encoded><![CDATA[Last question I promise,<br />
<br />
Is their anyway of reapplying a models normal colors (i.e how it was imported). I have a some models and when parts are clicked i have written code to change that parts color. (in this case to blue) but i am having a nightmare finding a good way to reset the color back to its original. <br />
<br />
many thanks<br />
<br />
fred]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[name of object]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=3922</link>
			<pubDate>Fri, 07 Nov 2014 14:30:57 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=9876">fred_2420</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=3922</guid>
			<description><![CDATA[Hi,<br />
<br />
I have been struggling with getting the name of a clicked object,<br />
<br />
using the following code i can grasp the 3d model hit and change its color but i am struggling to get its name.<br />
<br />
................<br />
  If rayMeshResult IsNot Nothing Then<br />
                Dim hitgeo As GeometryModel3D = TryCast(rayMeshResult.ModelHit, GeometryModel3D)<br />
<br />
  Dim mo As Model3D = (rayMeshResult.ModelHit)<br />
<br />
end if<br />
<br />
How can i now get the "GetNamedObjectsText"<br />
<br />
any help much appreciated <br />
<br />
fred]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I have been struggling with getting the name of a clicked object,<br />
<br />
using the following code i can grasp the 3d model hit and change its color but i am struggling to get its name.<br />
<br />
................<br />
  If rayMeshResult IsNot Nothing Then<br />
                Dim hitgeo As GeometryModel3D = TryCast(rayMeshResult.ModelHit, GeometryModel3D)<br />
<br />
  Dim mo As Model3D = (rayMeshResult.ModelHit)<br />
<br />
end if<br />
<br />
How can i now get the "GetNamedObjectsText"<br />
<br />
any help much appreciated <br />
<br />
fred]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Hierarchy of NamedObjects]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=3917</link>
			<pubDate>Sat, 19 Jul 2014 12:26:40 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=9876">fred_2420</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=3917</guid>
			<description><![CDATA[Hi, <br />
<br />
I have just purchased reader3ds and power tools, so far really impressed but I am a bit lost on how i get the named objects in a model.<br />
<br />
This is the code i am using to load in the model (In vb)<br />
Dim file As String = "some location"<br />
<br />
        Dim modelgroup As New Model3DGroup<br />
<br />
        Dim Ab4dReader As New Ab3d.Reader3ds<br />
        modelGroup = Ab4dReader.ReadFile(file)<br />
        Dim ModelVisual3d As New ModelVisual3D<br />
        ModelVisual3d.Content = modelGroup<br />
        MainViewport.Children.Add(ModelVisual3d)<br />
        Dim myreader3ds As New Ab3d.Reader3ds<br />
<br />
How can i now see the Hierarchy as a set of strings or lists? Ive looked at the robot arm demo and that is what i am after but i am not quite getting it.<br />
<br />
any help would be great<br />
<br />
Thanks<br />
<br />
Fred]]></description>
			<content:encoded><![CDATA[Hi, <br />
<br />
I have just purchased reader3ds and power tools, so far really impressed but I am a bit lost on how i get the named objects in a model.<br />
<br />
This is the code i am using to load in the model (In vb)<br />
Dim file As String = "some location"<br />
<br />
        Dim modelgroup As New Model3DGroup<br />
<br />
        Dim Ab4dReader As New Ab3d.Reader3ds<br />
        modelGroup = Ab4dReader.ReadFile(file)<br />
        Dim ModelVisual3d As New ModelVisual3D<br />
        ModelVisual3d.Content = modelGroup<br />
        MainViewport.Children.Add(ModelVisual3d)<br />
        Dim myreader3ds As New Ab3d.Reader3ds<br />
<br />
How can i now see the Hierarchy as a set of strings or lists? Ive looked at the robot arm demo and that is what i am after but i am not quite getting it.<br />
<br />
any help would be great<br />
<br />
Thanks<br />
<br />
Fred]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Writing files in .3ds or .obj formats]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=3913</link>
			<pubDate>Wed, 26 Feb 2014 16:49:31 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=9866">lloyd32552</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=3913</guid>
			<description><![CDATA[I see that there is both a reader and a vierer for .3ds (and .obj), but it is not clear to me whether I can write or export a file in these formats.  I need to be able to create objects in my application and then open them in SketchUp PRO which can open either of these file formats.<br />
<br />
Is this possible using your solution(s)?<br />
<br />
Thanks,<br />
Lloyd]]></description>
			<content:encoded><![CDATA[I see that there is both a reader and a vierer for .3ds (and .obj), but it is not clear to me whether I can write or export a file in these formats.  I need to be able to create objects in my application and then open them in SketchUp PRO which can open either of these file formats.<br />
<br />
Is this possible using your solution(s)?<br />
<br />
Thanks,<br />
Lloyd]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Rotate the camera]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=3910</link>
			<pubDate>Thu, 16 Jan 2014 14:50:35 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=9862">mibe</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=3910</guid>
			<description><![CDATA[Hi,<br />
<br />
I´ve successfully realized the Rotation of a camera by code:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var rotateTransform3D = new RotateTransform3D { CenterX = 0, CenterZ = 0 };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var axisAngleRotation3D = new AxisAngleRotation3D { Axis = new Vector3D(0, 1, 0), Angle = Convert.ToDouble(Slider2.Value) };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rotateTransform3D.Rotation = axisAngleRotation3D;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_robotArmReader3ds.Cameras[0].Transform = rotateTransform3D;</code></div></div><br />
I´m using a slider to set the rotation angle.<br />
I want to rotate all 3 axes of the camera:<br />
<br />
Therefore I implemented 3 slides with the following codes:<br />
Rotating x-axis:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var rotateTransform3D = new RotateTransform3D { CenterX = 0, CenterZ = 0 };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var axisAngleRotation3D = new AxisAngleRotation3D { Axis = new Vector3D(1, 0, 0), Angle = Convert.ToDouble(Slider1.Value) };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rotateTransform3D.Rotation = axisAngleRotation3D;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_robotArmReader3ds.Cameras[0].Transform = rotateTransform3D;</code></div></div><br />
Rotating y-axis:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var rotateTransform3D = new RotateTransform3D { CenterX = 0, CenterZ = 0 };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var axisAngleRotation3D = new AxisAngleRotation3D { Axis = new Vector3D(0, 1, 0), Angle = Convert.ToDouble(Slider2.Value) };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rotateTransform3D.Rotation = axisAngleRotation3D;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_robotArmReader3ds.Cameras[0].Transform = rotateTransform3D;</code></div></div><br />
And rotating z-Axis:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var rotateTransform3D = new RotateTransform3D { CenterX = 0, CenterZ = 0 };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var axisAngleRotation3D = new AxisAngleRotation3D { Axis = new Vector3D(0, 0, 1), Angle = Convert.ToDouble(Slider3.Value) };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rotateTransform3D.Rotation = axisAngleRotation3D;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_robotArmReader3ds.Cameras[0].Transform = rotateTransform3D;</code></div></div><br />
The problem is, that I rotate the x-axis by 30°. Than I rotate the y-axis by 20°. Now, the rotation of the x-axis is resetted to 0° first and the the y-Axis.<br />
How can I rotate all 3axis by 3 sliders, without resetting axis?<br />
<br />
michael]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I´ve successfully realized the Rotation of a camera by code:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var rotateTransform3D = new RotateTransform3D { CenterX = 0, CenterZ = 0 };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var axisAngleRotation3D = new AxisAngleRotation3D { Axis = new Vector3D(0, 1, 0), Angle = Convert.ToDouble(Slider2.Value) };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rotateTransform3D.Rotation = axisAngleRotation3D;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_robotArmReader3ds.Cameras[0].Transform = rotateTransform3D;</code></div></div><br />
I´m using a slider to set the rotation angle.<br />
I want to rotate all 3 axes of the camera:<br />
<br />
Therefore I implemented 3 slides with the following codes:<br />
Rotating x-axis:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var rotateTransform3D = new RotateTransform3D { CenterX = 0, CenterZ = 0 };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var axisAngleRotation3D = new AxisAngleRotation3D { Axis = new Vector3D(1, 0, 0), Angle = Convert.ToDouble(Slider1.Value) };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rotateTransform3D.Rotation = axisAngleRotation3D;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_robotArmReader3ds.Cameras[0].Transform = rotateTransform3D;</code></div></div><br />
Rotating y-axis:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var rotateTransform3D = new RotateTransform3D { CenterX = 0, CenterZ = 0 };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var axisAngleRotation3D = new AxisAngleRotation3D { Axis = new Vector3D(0, 1, 0), Angle = Convert.ToDouble(Slider2.Value) };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rotateTransform3D.Rotation = axisAngleRotation3D;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_robotArmReader3ds.Cameras[0].Transform = rotateTransform3D;</code></div></div><br />
And rotating z-Axis:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var rotateTransform3D = new RotateTransform3D { CenterX = 0, CenterZ = 0 };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var axisAngleRotation3D = new AxisAngleRotation3D { Axis = new Vector3D(0, 0, 1), Angle = Convert.ToDouble(Slider3.Value) };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rotateTransform3D.Rotation = axisAngleRotation3D;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_robotArmReader3ds.Cameras[0].Transform = rotateTransform3D;</code></div></div><br />
The problem is, that I rotate the x-axis by 30°. Than I rotate the y-axis by 20°. Now, the rotation of the x-axis is resetted to 0° first and the the y-Axis.<br />
How can I rotate all 3axis by 3 sliders, without resetting axis?<br />
<br />
michael]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Textures are Not Applying]]></title>
			<link>https://forum.ab4d.com/showthread.php?tid=3906</link>
			<pubDate>Thu, 18 Jul 2013 11:23:23 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ab4d.com/member.php?action=profile&uid=9839">prashant1207</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ab4d.com/showthread.php?tid=3906</guid>
			<description><![CDATA[Hi,<br />
<br />
When I am applying texture to specific Model3D from Model3d Group, its not displaying in the viewport. This is happening to very specific parts of the the models, whereas it working fine on other parts. <br />
<br />
We have commercial license of Reader3ds, please let us know the issue.]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
When I am applying texture to specific Model3D from Model3d Group, its not displaying in the viewport. This is happening to very specific parts of the the models, whereas it working fine on other parts. <br />
<br />
We have commercial license of Reader3ds, please let us know the issue.]]></content:encoded>
		</item>
	</channel>
</rss>