WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-10-2011, 04:22 PM
Kaminski Kaminski is offline
Member
 
Join Date: Nov 2010
Posts: 36
Change group alpha but not color?

Hi all,
I am having trouble changing the alpha values of all nodes in a group without changing the color. Any advice?

Code:
import viz
import vizshape
viz.go(viz.FULLSCREEN)

groupL = viz.addGroup(pos=[0,1.0,5.0])

boxL = vizshape.addBox(parent=groupL,color=viz.BLUE,pos=(-2.0,0,0))
sphereL = vizshape.addSphere(parent=groupL,color=viz.GREEN,pos=(1.0,0,0))

groupL.alpha(.5)
Reply With Quote
Reply

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
Change avatar color Chapre Vizard 1 10-20-2010 08:21 AM
Change textbox color? renama Vizard 2 10-19-2010 07:44 PM
change the color of a specific part of an avatar? Green Vizard 1 03-04-2010 08:28 AM
Change model alpha and memory leak hosier Vizard 2 06-25-2009 10:55 AM
trouble changing subnode (child node) color, alpha, etc. michaelrepucci Vizard 7 01-14-2009 08:38 PM


All times are GMT -7. The time now is 11:06 AM.


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