#1
|
|||
|
|||
3d painting?
some know how to draw in realtime in the virtual applications?, im trying to do a virtual classroom where some can draw on the blackboard with the wiimote or the mouse at the momment.
Im trying to this with on-the-fly, but with no results. and maybe this is too dificult but also there is a way to recognize the draw? for example if the user draws a duck the application will load a duck model but maybe this is asking too much just with the paiting thing im happy |
#2
|
|||
|
|||
i'm happy cause now i know it can be done because i was searching through internet and found this
http://www.youtube.com/watch?v=kKm99tHR1fg and this exactly what i'm referring, some know how they do this(is done using vizard)? |
#3
|
|||
|
|||
I think you're on the right track using on-the-fly objects. You could call a function every frame that would draw a point at the tracker's position.
|
#4
|
|||
|
|||
3D drawing plugin
Here's a 3D drawing plugin which you might find useful.
Put gldraw.dlr in the same folder as mousedraw.py. In your case, you could also use the Wii to provide x,y,z instead of the mouse. |
#5
|
|||
|
|||
Wow thanks this going to be very helpful.
Just a question there is a way to control the size of the brush? |
#6
|
|||
|
|||
I just saw the parameter of width my bad.
Just what i don't saw is how i can make it follow the drawing where my viewpoint is, because if i move to another place it starts to drawing in the same place that was before and now the cursor doesn't match the draw. |
#7
|
|||
|
|||
The plugin simply draws at the x,y,z location in space which you
give to it. It's up to you to figure out how to take the x,y,z from your input device (mouse, wii, ppt, etc.) and convert that location to the location where you want the drawing to appear. |
#8
|
|||
|
|||
Try this version. You can move around and draw on objects in the scene
by holding down the middle mouse button (the wheel). |
#9
|
|||
|
|||
thanks this going to be very helpful in my project
|
#10
|
|||
|
|||
hello,
sry darkmax for hijacking this thread, Jerry deos this plug-in support a cmommand to clear drawed lines? |
#11
|
|||
|
|||
Yes. Look under "def mykey(num)" at the 'e' and 'm' keys.
|
#12
|
|||
|
|||
hi jerry, was using your version of paint library, but when i upgrade the library doesn't work so i dont know if is possible that you share your paint library working on vizard 4?
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to create an painting application | yak | Vizard | 0 | 07-06-2009 02:46 PM |