Drawing polylines
2 posters
Drawing polylines
I need to dynamically draw a polyline at runtime ... anyone know how to do this?
phil- Posts : 7
Join date : 2009-04-10
polyline
Actually it's a very simple question ... is there any way to draw a polyline at runtime? If I could successfully export a polyline from blender that would be ok too.
I want to end up generating glDrawArray(GL_POINTS)... or glDrawArray(GL_LINE_STRIP)...
I guess I could do it manually in templateRender after sio2 has finished, but that seems weird...
I want to end up generating glDrawArray(GL_POINTS)... or glDrawArray(GL_LINE_STRIP)...
I guess I could do it manually in templateRender after sio2 has finished, but that seems weird...
phil- Posts : 7
Join date : 2009-04-10
Re: Drawing polylines
What you can do is export from blender and easily override the sio2ObjectRender method and create your own... checkout the drawing code in sio2_vertexgroup.cc
Re: Drawing polylines
ok - so there's no way to draw a polyline in blender (none that I saw) much less export it ...
I'm comfortable overriding the objectRender as you mentioned. Just didn't want to do that if I was missing something obvious
Thank you!
-Phil
I'm comfortable overriding the objectRender as you mentioned. Just didn't want to do that if I was missing something obvious
Thank you!
-Phil
phil- Posts : 7
Join date : 2009-04-10
Similar topics
» Drawing over an UIImagePickerController image
» Problem with drawing on the screen in a 3d game
» Importing to blender from other 3D drawing software
» Problem with drawing on the screen in a 3d game
» Importing to blender from other 3D drawing software
Permissions in this forum:
You cannot reply to topics in this forum