WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 10-08-2004, 03:50 PM
vsully vsully is offline
Member
 
Join Date: Sep 2004
Posts: 24
Send a message via AIM to vsully
Here's a section of the code I'm running in the constructor:

---
viz.startlayer(viz.LINE_STRIP)
viz.vertexcolor(Color)
viz.linewidth(Size)

for x in range(trailSize):
viz.vertex(x,0.3,0)
self.trail = viz.endlayer(viz.SCREEN)
---

Spot anything?

Secondly, I can't seem to get the transparency working right.
With this line of code:

---
trail.vertexcolor((cur_vertex+1)%TRAIL_SIZE, viz.YELLOW, 0)
---

The line still shows up bright yellow. viz.BLEND has been enabled. Spot anything here?

Sorry for the spam, and thanks for your help.

-Aaron
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:27 PM.


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