Page 1 of 1

The noobiest question you can think about

Posted: Mon Oct 03, 2011 12:03 am
by panurge
Ok, the title tells it all. Anyway:

What's the simplest way to draw a dot at (x,y,z)?

The next step would be "how to draw a line from (x1,y1,z1) to (x2,y2,z2)?" etc. Probably this should be done with a RenderNet component, but i think i don't really know what a net is, actually.

Sorry for the noobiness, but err...

Thanks.

Posted: Mon Oct 03, 2011 1:41 pm
by Kjell
Hi panurge,

Unfortunately ZGE doesn't have any components for rendering points & lines, so your best option is to call OpenGL directly ( attached is a example ).

Keep in mind that this isn't exactly lightning-fast .. in particular for static line-meshes there are better solutions ( that require more work though ).

K

Posted: Sun Oct 09, 2011 1:49 am
by panurge
Oooooh, i like this!

Megathanks! :shock: