WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-22-2006, 09:58 AM
v-clizzin v-clizzin is offline
Member
 
Join Date: Sep 2006
Posts: 15
Model tessellation and lighting effects

Hi, I am writing a program that uses the user-defined lighting effects supplied by Vizard (specifically, viz.LIGHT). I'm figuring out how to do this using the 'spotlights.py' file included in the Techniques & Examples help section. The file notes that in order for lighting effects to work correctly, the models must be tesselated into small enough pieces. Since I'm working with custom models that I didn't make myself, I am looking for help on how to tesselate these models. The models I'm working with are a custom room model and some avatar models (one is the generic Vizard male.cfg and the other is a custom avatar from the Complete Characters package).

In addition, when I port the code for a spotlight from the sample file into another program using a custom room model with two partitioned rooms, the spotlight shines on the outside wall, but doesn't seem to affect the partition wall at all. That is, the room looks like this:

___B__
A |__|__| D
C

The light shines on the inside sides of walls A, B, C, and D, but does not affect the divider wall at all. This might be related to the tesselation problem, but I'm noting it here in case it is a separate problem.

Any help/advice would be appreciated. You can post here or email me at clizzin@stanford.edu. Thank you very much!

Christopher Lin

Last edited by v-clizzin; 11-22-2006 at 10:01 AM.
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


All times are GMT -7. The time now is 10:00 AM.


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