Archived

This topic is now archived and is closed to further replies.

ogl

Drawing lines interactively with the mouse cursor

Recommended Posts

Hi, how could I draw lines around objects in the scene using the mouse cursor - I know it is not entirely opengl - you need to use windows commands and I can do it using the gdi but I need it for opengl - any code / ideas? cheers thanx

Share this post


Link to post
Share on other sites
depends on how many lines u wanna draw if its less than say 10000 ild just keep track of them like LINE[1](ptA->ptB). if its more ill keep an array of the whole screen and just fill that in as you go

http://members.xoom.com/myBollux

Share this post


Link to post
Share on other sites