WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-26-2011, 07:13 AM
knightgba knightgba is offline
Member
 
Join Date: Jul 2010
Posts: 8
Lighting relevant text?

Hi, guys

I am trying to implement a lighting relevant text effect but not quite sure

Basically the "lighting relevant text means" the text's color is be decided by the lights in the scene depends on the text's orientation (Assume the text spins)
L1 L3

Text(Spins)

L2 L4

My idea is giving different ambient values to the text based on calculating the orientation value(use text.getAlignment?) of the text node every frame.

Appreciate any advice, cheers
Reply With Quote
  #2  
Old 01-26-2011, 05:33 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You could use the getEuler() command to get the orientation of the text object every frame.
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
basic lighting question malte Vizard 6 12-01-2010 12:25 PM
Informationboxes with text snoopy78 Vizard 3 07-16-2009 10:23 AM
Create Button or Text Chrissy2009 Vizard 1 07-15-2009 05:34 PM
Vizard tech tip: Text to Speech Jeff Vizard 1 01-15-2009 09:39 PM
3d Text with Transparent Borders vjosh Vizard 3 12-01-2004 10:50 AM


All times are GMT -7. The time now is 07:18 PM.


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