Ab3d.Reader3ds library
#5
I would advise you to check the samples that come with Reader3ds - for example the Reader3dsSamples.sln solution contains the RobotArm sample - Code/RobotArmSample.xaml.cs file contains all the login in code behind. It changes the models, camera and lights.

First, put the breakpoint into the line 106 and then start the project. When you hit the breakpoint, open the Immediate window in VS and can run the "_robotArmReader3ds.DumpNamedObjects();" (as wrtten in the comments). This will write the hierarchy of the read objects and their names.

After you will know the object names, you can get the 3D objects by their names with using NamedObjects dictionary - for example:

_robotArmReader3ds.NamedObjects["Hand1"]

Note that you have the WPF's 3D objects - if you are new to WPF 3D please check some tutorials on the web to get familiar with basic objects and concepts.


To work more easily with WPF 3D graphics, I advise you to also check the Ab3d.PowerToys library - it can greatly help work with 3D graphics. The library also comes with lots of samples (you can check the http://www.ab4d.com/quick-start-guide-fo...ation.aspx to see what samples come with the library). When working with Reader3ds I would advise to check the "Ab3d.PowerToys Reader3dsSamples" solution.

A quick start guide for Ab3d.PowerToys library can be also read from http://blog.ab4d.com/post/2012/09/11/The...phics.aspx (also available in Ab3d.PowerToys help file).

If you are new to WPF 3D, you might be overwhelmed with the number of samples.

But I can help you if you tell me more what you would like to achieve.
Andrej Benedik
  


Messages In This Thread
Ab3d.Reader3ds library - by josep - 02-09-2015, 11:08 AM
RE: Ab3d.Reader3ds library - by abenedik - 02-09-2015, 10:54 PM
RE: Ab3d.Reader3ds library - by josep - 02-10-2015, 09:33 AM
RE: Ab3d.Reader3ds library - by eddy25 - 03-05-2015, 04:18 PM
RE: Ab3d.Reader3ds library - by abenedik - 03-10-2015, 09:29 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)