#1
|
|||
|
|||
Do you have output dialog.
I happened to find the viz.input() in your demo, why don't you put this method in your help file
if you have some dialog like warning dialog or output dialog, I don't need to work on TK at all. |
#2
|
|||
|
|||
I have another question , in my vrml file, some picture posted on box, some picture posted on plain, they are all shown well in the vrml viewer.but in vizard, the picture posted on the plain didn't show
|
#3
|
|||
|
|||
Hi,
This is a somewhat newer feature and somehow didn't make it into the documentation. Here is a description of viz.input and another command viz.choose. viz.input(prompt, value='') prompt - A Message that will appear above the input box value - The initial value of the input box This method will return the text inside the box viz.choose(prompt,choices, selection=0) prompt - A message that will appear above the selection list choices - A list of strings that represent the possible choices selection - The index of the initial selected value in the list This method will return the index number of the selected option. Also if you want to just output a message you can do the following command: Code:
import win32ui win32ui.MessageBox("Some message","Title") |
#4
|
|||
|
|||
thanks, it shows well now, but it looks like the viz doesn't support the repeatS and repeatT in VRML.ImageTexture too, so how can I repeat the image in some surface.
|
#5
|
|||
|
|||
Hi,
repeatS and repeatT should be working. Does your vrml file look something like this? Code:
texture ImageTexture { repeatS TRUE repeatT TRUE url "texture.jpg" } |
#6
|
|||
|
|||
do you have some example to show the repeat texture, I tried many times. hope to get your help.
|
#7
|
|||
|
|||
Hi,
I attached a zip file which contains a vrml file with a texture. The texture is repeated 2 times in the x axis and 3 times in the y axis. Hope this helps. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|