Hi, I was trying to add a custom ViewCube to my viewport, without sucess.
Following CustomViewCuboDemo I've added a 'ScreenSpacedGroup3D' to my 'Viewport3DX' (The project uses 'HelixToolkit.SharpDX.Core.Wpf').
If I set ScreenSpacedGroup3D's content as in the demo, everything works.
In my attemps I tried to set ScreenSpacedGroup3D's content via nodes systems as in image above.
ViewCubeNode is structured like this:
'GroupNode' containing 3 'LineNode', one for each axis.
Sadly the ViewCube don't appear where it should, but instead in the main scene, with all the other nodes.
Currently the ScreenSpacedGroup3D only supports one layer of children. I will need to figure out a way to support multiple layers.
@Gravemind2401 You need to tune the depth bias to avoid z fighting.
Hello, I'm using the component process of Gis to load Google maps section of ellipsoid, the different layers of the biopsy, after treatment, the depth of the calculated error problem may cause the depth buffer, through access to information, I found that you can use the logarithmic depth buffer, to adjust the depth to solve this problem, but I did not found in the components of the depth of description, the position of the sources are vec4, but the position of the component is vec3, so what is the component of the depth of the attribute name?
Where is the depth of the model stored?
Hi, I want to create a coordinate model on MouseDown whenever I click on the model. I already got the Point and Normal Vector from Raycast -> Triangle Facet. I did create Arrow model: Point 0 = position -> Point1 = position + direction |length of arrow|. Howevers, I don't know how to apply that to create a coordinate model CoordinateSystemVisual3D*
I guess we must kinda do some transformation since every created coordinate model is at the orgin 0,0,0
Hello, how can we serialize our nested objects that include WPF 3D components inside (ModelVisual3D, Model3D...). I tried Json Newtonsoft but every time I serialize, I got a StackOverFlow error.
Is Json the correct path to go? Or I need to seek for something else? My goal is to:
1- Save a scene, with lists of objects inside, so next time I start the app I can import back the scene with my objects (they are declared globally).
2- Save a list of objects, so I can later import into a parent object.
@artipo I implemented the hit test for billboard in screen space group. Also supports group model inside screen space group. Please try latest nightly build.
Hi! I've notice only now your message!
THANK YOU VERY MUCH! I wasn't expecting some work from you!
After the holidays I was even thinking of asking help to contribute myself to fix these problems.
Anyway I'll try to give you feedback as soon as I can.