![]() |
|
#2
|
|||
|
|||
|
Hi all,
As I am slowly learning the very basics, I would really like some help to know the following... is it possible to display a gui slider vertically? I have displayed one horizontally and after much fiddling around (I dont know python, still learning slowly) I managed to do what i want , i.e i wanted to display an object and scale it bigger and smaller with a slider with this code def myslider(obj, pos): bed.setScale( .01*pos, .01*pos, .01*pos ) viz.callback(viz.SLIDER_EVENT,myslider) However, can I add: 1) a vertical slider so that the object can be moved up and down? if so what would the code look like? 2) I wanted to use a live webcam as the background image. there is a tutorial that maps the webcam as a texture to a quad. Can the live webcam image just be mapped as the "background" just like you can clear the background to a basic color, can it be "cleared" to the webcam image? I tried unsuccessfully to map the webcam live image to the skydome, but that just distorts the webcam image ![]() Thanks in advance! |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| General question and question regarding arrays | dan12345 | Vizard | 1 | 01-15-2008 11:15 AM |
| Stereo Overlap question | JMOwens | Vizard | 2 | 01-08-2008 09:54 AM |
| viztask question | asimbh | Vizard | 1 | 11-20-2007 10:12 AM |
| question about yaw, pitch, roll | TunTun | Vizard | 2 | 05-23-2007 01:46 PM |
| Lots of Question | Karthi | Vizard | 4 | 02-20-2004 07:42 PM |