WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-13-2009, 07:29 PM
John P John P is offline
Member
 
Join Date: Jun 2006
Posts: 8
on the fly points

I'm doing a project where I use lots of on the fly objects. I'm trying to draw a single vertex but there seems to be a bug in that you must draw two or more vertices.

Code:
viz.startlayer(viz.POINTS)
viz.pointsize(10)
viz.vertex(0,2,5)
#viz.vertex(0,2,5.5) #this line will make it work..
p = viz.endlayer()
It seems that even with two vertices, if they are so close that they translate onto the same screen coordinate they will be culled. It could be a graphics card issue. This was really confusing me for a while so I thought I would drop this note.

Thanks
Reply With Quote
  #2  
Old 07-15-2009, 05:22 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
A single point will be culled by the scene graph. You can disable culling on the object using the following code:
Code:
p.disable(viz.CULLING)
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
Draw Line between Points Chrissy2009 Vizard 2 05-13-2009 04:42 AM
3ds pivot points theuberk Vizard 16 07-21-2007 05:31 PM
Trafffic ideas.. anyone? k_iwan Vizard 13 12-10-2006 03:13 PM
Pivot points for child objects in Vizard with 3ds Max Gladsomebeast Vizard 0 09-19-2006 11:21 AM
Draw Line between Points selected by mouse Johannes Vizard 7 01-07-2005 02:50 PM


All times are GMT -7. The time now is 02:39 AM.


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