WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 08-08-2005, 10:09 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

1) Vizard does not currently have shadow lighting, so the shading of objects stays the same regardless of what other objects are between it and the light source.

2) The problem is that mouse navigation is enabled on the main viewpoint. So the jumpiness is caused by the default mouse navigation fighting with your mouse navigation over control of the viewpoint.

3) You should probably use the vizact library for this. Create an action that perfroms the first two animations, and use a callback to deteremine when to perform the last part.
Code:
#Create the action once
GoAndSpin = vizact.sequence(vizact.goto(0.3,0.5,0.2,0.1),vizact.spinto(0,1,0,0,2,viz.TIME))

#Later in the code add the action to the object
arrowOrangeGlTemp.add(GoAndSpin)

#Use callback to determine when action is finished

def ActionEnd(obj,action,pool):
    if action == GoAndSpin:
        arrowResultant.translate(posBlueArrow.get())
        arrowResultant.rotate(45,0,0)
        arrowResultant.scale(1,1,0.1)
        arrowResultant.visible(1)
        arrowResultant.size(1,1,1,2,viz.TIME)

viz.callback(viz.ACTION_END_EVENT,ActionEnd)
4)I'll have to see a screenshot to understand what is going on there. But my guess is you have a problem with the draw order. Transparent objects should always be rendered after opaque objects. Also, rendering complex objects with transparency will usually create some weird artifacts also.
Reply With Quote
 


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


All times are GMT -7. The time now is 02:48 PM.


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