WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 02-26-2013, 02:48 PM
pswaney pswaney is offline
Join Date: Feb 2013
Posts: 1
Create a clipping box

I was wondering if it is possible to create a clipping box, such that an object inside the box would appear fully, but if the object was scaled such that any part of it fell outside the box, that portion would be clipped.

I have tried to use multiple clipping planes, but when creating the box, I am only able to create clipping planes on three sides of the box, and never two parallel sides. If, for example, I try to create two clipping planes that would form the top and bottom of the box, the plane I create second supersedes the first. See the example below for this behavior. Any help would be greatly appreciated, thanks!

import viz
import vizshape


sphere = vizshape.addSphere(radius=3)


import vizcam
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
Clipping Plane envisC Vizard 8 10-23-2012 12:36 PM
Can I make a moving clipping plane? Salvar Vizard 3 04-18-2012 12:32 PM
Near and far clipping on infinite terrain vijaykiran Vizard 2 01-21-2011 04:59 AM
Create Button or Text Chrissy2009 Vizard 1 07-15-2009 05:34 PM
How to create a sky? guxmy01 Vizard 1 05-28-2008 12:07 PM

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

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