ShiVa3D
Draw a line between two points
iOS Development and xCode questionsDraw a line between two points
by d4dhanuj » 14 Feb 2012, 06:10
Can any one tell me how to draw a line between two points, if the points are given.
- d4dhanuj
- Fresh Boarder

- Posts: 18
Re: Draw a line between two points
by Markuzzzz » 14 Feb 2012, 07:49
You can use curves to draw simple lines, if you want to create a line using a brush I would recommend using curves icw. pixelmaps. Check out the 3d paint sample of ShiVa.
Markus
Markus
http://www.nifty-inspirations.com, because simple things are hard to find!
- Markuzzzz
- Platinum Boarder

- Posts: 558
- Location: Netherlands
Re: Draw a line between two points
by giggsy » 14 Feb 2012, 07:57
I think there's also debug.drawLine, but it's intended to be used for debugging (not sure about speed
)
Or as Markuzzzz said, shape.addCurvePoint (or so)
Or use the mesh API and create your own plane if it's not for debugging but production ...
Or as Markuzzzz said, shape.addCurvePoint (or so)
Or use the mesh API and create your own plane if it's not for debugging but production ...
-

giggsy - Platinum Boarder

- Posts: 1008
- Location: Austria
Re: Draw a line between two points
by d4dhanuj » 27 Feb 2012, 12:30
can you give me an example for using curves to draw a line
- d4dhanuj
- Fresh Boarder

- Posts: 18
4 posts
• Page 1 of 1