Forum: Vizard
09-04-2009, 12:02 AM
|
Replies: 5
Views: 11,879
|
Forum: Vizard
09-01-2009, 08:26 AM
|
Replies: 5
Views: 11,879
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, 03:22 PM
|
Replies: 5
Views: 11,879
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, 11:12 AM
|
Replies: 9
Views: 19,476
|
Forum: Vizard
08-20-2009, 09:36 AM
|
Replies: 9
Views: 19,476
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-12-2009, 11:27 PM
|
Replies: 9
Views: 19,476
|
Forum: Vizard
08-11-2009, 08:49 AM
|
Replies: 9
Views: 19,476
|
Forum: Vizard
08-11-2009, 01:41 AM
|
Replies: 9
Views: 19,476
|
Forum: Vizard
08-06-2009, 04:08 AM
|
Replies: 9
Views: 19,476
|
Forum: Vizard
08-05-2009, 07:46 AM
|
Replies: 9
Views: 19,476
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, 08:49 AM
|
Replies: 1
Views: 12,849
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, 10:53 AM
|
Replies: 2
Views: 11,150
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, 05:49 AM
|
Replies: 2
Views: 11,150
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, 10:09 AM
|
Replies: 1
Views: 20,178
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, 09:49 AM
|
Replies: 2
Views: 13,801
|
Forum: Vizard
07-13-2009, 08:08 AM
|
Replies: 2
Views: 13,801
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-23-2009, 11:56 PM
|
Replies: 2
Views: 15,410
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, 09:09 AM
|
Replies: 6
Views: 18,696
|
Forum: Vizard
05-15-2009, 04:25 AM
|
Replies: 6
Views: 18,696
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, 04:20 AM
|
Replies: 11
Views: 15,834
|
Forum: Vizard
05-15-2009, 04:18 AM
|
Replies: 3
Views: 18,799
|
Forum: Vizard
05-13-2009, 04:42 AM
|
Replies: 2
Views: 18,809
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, 01:33 AM
|
Replies: 2
Views: 18,809
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, 01:21 AM
|
Replies: 1
Views: 10,614
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, 01:16 PM
|
Replies: 8
Views: 14,403
|