WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 05-06-2008, 06:56 AM
Frank Verberne Frank Verberne is offline
Join Date: Mar 2008
Location: Netherlands
Posts: 148
changing paintings of art gallery demo

Hi all,

How can I change the paintings in the art gallery demo? I need to change the painting with the self portret of Van Gogh on it. How can I manipulate that painting? I tried using this code
gallery = viz.add('gallery.ive')
and changed the four of 'art04-FACES' to all kinds of numbers, but none would give me control over the painting I want. I also tried this one
list = gallery.getChildren()
but then the list only has [viz.VizNode(2)] in it. Does anybody know how to fix my problem?
Reply With Quote
Old 05-06-2008, 09:24 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
The following will texture the Van Gogh self portrait with a new texture:
texture = viz.add('ball.jpg')

gallery = viz.add('gallery.ive')

portrait = gallery.getChild('VanGoghSelfPortrait')
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPT Demo mikestatic Precision Position Tracker (PPT) 1 09-23-2007 10:31 AM
demo of new hand.getFingerTip() halley Vizard 9 12-14-2006 12:40 AM
using demo with intersense G-Chan Vizard 1 02-06-2006 02:05 PM

All times are GMT -7. The time now is 04:05 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC