Draw virtual line in viewport [SOLVED]
-
On 20/06/2015 at 11:59, xxxxxxxx wrote:
Hi guys.
Sorry for dumb explanation, but I don't know how to explain what I want:)
I want to have a "virtual line" (or "wireframe line") that would connect Camera + Cube + Sphere.
That virtual line would not be renderable, its just displayed on viewport, same as Camera object is "drawn". In other word - a doodle line. I've no idea what to call it:)Any ideas where I should be looking at for this scenario?
Thanks in advance.
-
On 20/06/2015 at 18:20, xxxxxxxx wrote:
You can do it in an ObjectData or TagData's Draw() method.
-
On 23/06/2015 at 13:41, xxxxxxxx wrote:
If it's not too much to ask, maybe you know of any references/examples for this kind of stuff?
-
On 24/06/2015 at 12:15, xxxxxxxx wrote:
I have an example on my website. I think I called it smooth spline or something like that.
It doesn't just draw a line. It draws a cubic spline.You'll need to watch out for the Z-depth drawing bug that makes things drawn to the screen not render correctly.
It's a long time bug that Maxon insists isn't a bug...But I insist that it is.-The Ghost
-
On 24/06/2015 at 12:24, xxxxxxxx wrote:
Hi Scott, thanks.
I checked your user profile but was unable to find you website:)
-
On 24/06/2015 at 12:29, xxxxxxxx wrote:
https://sites.google.com/site/scottayersmedia/plugins
I'm posting from my local library. I'm still having trouble finding low cost internet service in my area.
So I won't be able to answer any questions about them.-The Ghost
-
On 29/06/2015 at 02:28, xxxxxxxx wrote:
Hello,
actually there are a few examples on Draw() in the Python SDK. For example:
best wishes,
Sebastian