Forum: Vizard
09-04-2009, 01:02 AM
|
|
Replies: 5
Views: 28,353
|
Forum: Vizard
09-01-2009, 09:26 AM
|
|
Replies: 5
Views: 28,353
The lines should be drawn in 3D.
= = =
...
The lines should be drawn in 3D.
= = =
I want to draw three lines:
If I click with the left mousebutton, the first line would be drawn from P(0/0) to the acutal mouseposition and if I click...
|
Forum: Vizard
08-25-2009, 04:22 PM
|
|
Replies: 5
Views: 28,353
Draw line and rotate it
Hi,
I try to re-define my problem from the other thread:
I want to draw a line two ways:
1)
begin = [0,0,0]
end = [-2,1,2]
|
Forum: Vizard
08-24-2009, 12:12 PM
|
|
Replies: 9
Views: 49,577
|
Forum: Vizard
08-20-2009, 10:36 AM
|
|
Replies: 9
Views: 49,577
Oh yes, thanks a lot!
If I draw one line, it...
Oh yes, thanks a lot!
If I draw one line, it works fine.
If I draw one line and afterthat I draw a second one it works fine, too.
But:
If I draw the two lines and turn this lines around the...
|
Forum: Vizard
08-13-2009, 12:27 AM
|
|
Replies: 9
Views: 49,577
|
Forum: Vizard
08-11-2009, 09:49 AM
|
|
Replies: 9
Views: 49,577
|
Forum: Vizard
08-11-2009, 02:41 AM
|
|
Replies: 9
Views: 49,577
|
Forum: Vizard
08-06-2009, 05:08 AM
|
|
Replies: 9
Views: 49,577
|
Forum: Vizard
08-05-2009, 08:46 AM
|
|
Replies: 9
Views: 49,577
Draw line with a triangle at the end
Hi,
I want to draw a line and at the end of this line I want to draw an arrow.
I've made:
viz.startlayer(viz.LINES)
viz.linewidth(5)
viz.vertexcolor(0,0.6,0)
viz.vertex(punkt1)
|
Forum: Vizard
07-21-2009, 09:49 AM
|
|
Replies: 1
Views: 30,412
Draw a triangle instead of a point
Hi,
how can I draw a traingle at the end of my line, instead of points?
I've done this:
viz.startlayer(viz.LINES)
viz.linewidth(5)
viz.vertexcolor(viz.RED)
|
Forum: Vizard
07-20-2009, 11:53 AM
|
|
Replies: 2
Views: 28,775
Hi,
I still tested this, but it doesn't...
Hi,
I still tested this, but it doesn't work!
while tmpnumber == 0:
yield viztask.waitMouseDown(viz.MOUSEBUTTON_LEFT)
tmpMousePOS = viz.screentoworld(viz.Mouse.getPosition())...
|
Forum: Vizard
07-18-2009, 06:49 AM
|
|
Replies: 2
Views: 28,775
Create line and vertex
Hello,
I want to draw a line with my mouse. So I made:
def drawLine():
global tmpnumber
while tmpnumber == 0:
yield viztask.waitMouseDown(viz.MOUSEBUTTON_LEFT)
|
Forum: Vizard
07-13-2009, 11:09 AM
|
|
Replies: 1
Views: 49,012
Create Button or Text
Hello,
I want to create buttons and text in my different scenes.
Therefore I want to use the GUI of Vizard. So I right-click on the window 'resources' and choose 'Add Button'. Afterthat I enter...
|
Forum: Vizard
07-13-2009, 10:49 AM
|
|
Replies: 2
Views: 36,041
|
Forum: Vizard
07-13-2009, 09:08 AM
|
|
Replies: 2
Views: 36,041
Active scene
Hi,
is it possible to ask for the active scene?
I want to write an if-query and only want to do actions, if the active scene is scene 2.
Thanks a lot....
|
Forum: Vizard
05-24-2009, 12:56 AM
|
|
Replies: 2
Views: 36,802
Draw Vector in viewpoint lookat direction
Hi,
I want to draw a line from one object in a special direction for a given amount.
The amount (or the length) is from a slider and that works fine!
But the direction of the line should be...
|
Forum: Vizard
05-16-2009, 10:09 AM
|
|
Replies: 6
Views: 42,650
|
Forum: Vizard
05-15-2009, 05:25 AM
|
|
Replies: 6
Views: 42,650
Hey Gladsomebeast,
I've got the same...
Hey Gladsomebeast,
I've got the same problem. I want to create points in the world, not on the screen.
But I don't understand your answer. Could you write down the code, please?
THANKS!
|
Forum: Vizard
05-15-2009, 05:20 AM
|
|
Replies: 11
Views: 35,223
|
Forum: Vizard
05-15-2009, 05:18 AM
|
|
Replies: 3
Views: 41,570
|
Forum: Vizard
05-13-2009, 05:42 AM
|
|
Replies: 2
Views: 44,351
Hi,
thanks a lot!
And how can I stop...
Hi,
thanks a lot!
And how can I stop the schedule, so I'm able to draw only two lines and no more??
Is there a possibility to save the separate positions of all these four vertex?
|
Forum: Vizard
05-12-2009, 02:33 AM
|
|
Replies: 2
Views: 44,351
Draw Line between Points
Hi,
I want to create a line between two points. The first point at the mouseDown Position and the second point at the mouseUp Position. Between these two points I want to draw a line.
This...
|
Forum: Vizard
05-12-2009, 02:21 AM
|
|
Replies: 1
Views: 23,447
Norm of a vector
Hi,
how can I calculate the norm of a vector or how can I extract a root in pyhton?
Sorry, but I can't find any information about this.. :(
Thanks a lot.
|
Forum: Vizard
05-10-2009, 02:16 PM
|
|
Replies: 8
Views: 34,451
|