If you just want an outline:
you could hide all other objects from the camera and set it to orthographic projmode, color the background white, then turn off all lights & ambient light or color the object so it appears totally black. Render the camera to an imagebuffer and save it.
If you would like a line around the edge, set up a pixel scan, and just write say a green dot on any pixel where a neibouring pixel is white
Then scan it again and replace all white pixels back to black.
and you should have just a green frame where the object was.
Commands you need to read(if you dont know em) arecameraproject*, setbuffer, imagebuffer, savebuffer, writepixel & readpixel, cameraclscolor*
(*i think its called).
Let me know how you got on, i may find this useful too :)
you could hide all other objects from the camera and set it to orthographic projmode, color the background white, then turn off all lights & ambient light or color the object so it appears totally black. Render the camera to an imagebuffer and save it.
If you would like a line around the edge, set up a pixel scan, and just write say a green dot on any pixel where a neibouring pixel is white
Then scan it again and replace all white pixels back to black.
and you should have just a green frame where the object was.
Commands you need to read(if you dont know em) arecameraproject*, setbuffer, imagebuffer, savebuffer, writepixel & readpixel, cameraclscolor*
(*i think its called).
Let me know how you got on, i may find this useful too :)