Draw_line3d or draw_point3d

Posted By: Dooley

Draw_line3d or draw_point3d - 10/04/17 13:54

I want to draw lines to show the orbit of planets in my game. Does Draw_Line3d Allow for curves, or would I have to use Draw_point3d ... or is there another draw command I am not aware of ... i.e. draw_curve?
Posted By: painkiller

Re: Draw_line3d or draw_point3d - 10/04/17 15:43

probably you have to divide the curve in small straight lines
Posted By: Realspawn

Re: Draw_line3d or draw_point3d - 10/04/17 15:59

perhaps circle sprites will do the trick better.
Posted By: 3run

Re: Draw_line3d or draw_point3d - 10/04/17 17:07

Maybe using simple shader for this kind of visualisations will be better/easier. Unfortunately, I'm no good in shaders to write one. Draw_ functons all use particles, I'm afraid it's not possible to do such things with particles (like bending a streight line into a curve etc).

Greets!
Posted By: Kartoffel

Re: Draw_line3d or draw_point3d - 10/04/17 17:31

using draw line with small segments should work fine
Posted By: Dooley

Re: Draw_line3d or draw_point3d - 10/06/17 00:56

All helpful ... thanks!
© 2024 lite-C Forums