How are you, Mr. Glenn!
I want to draw 3D ribbon which is made from given 3D path. I think I can use feature.
This ribbon should be created along the path and the path should be laid on center of this ribbon.
- Create a path which is defined by N vertices.(solved) - Create a ribbon which is defined by path. It can have width and color attributes.
Users can change its width.
Just for your information, I've attached screenshot. The green solid geometry is ribbon, and red line is path in the middle of that.
How can I draw ribbon from path by using feature? or by other technique? Where can I find sample code?
Please help me.
Thanks for your time.
I tried to render this ribbon by using Feature Node of osgEarth but one issue was occurred.
I want to match green ribbon to red line (3D path) but z value of all vertices of this feature segment was 0(geom). Please look attached images.
How can I fix it?