WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-01-2005, 02:10 PM
vjosh vjosh is offline
Member
 
Join Date: Sep 2004
Posts: 17
Overlaying Textures with Alpha Masks

Hey,

I need to overlay one or more textures with alpha masks on top of an object's original texture within Vizard. Will multitexturing work for this? What blend settings should I use? Ideally, the alpha masks on the additional textures would dictate how the textures are blended...

I'm also having problems with texturing faces. I looked at a previous post that suggested using the following code in order to make the texture coordinates work:
newtexture = viz.add(texture)
newtexture.wrap(viz.WRAP_S,viz.REPEAT)
newtexture.wrap(viz.WRAP_T,viz.REPEAT)
This works when applying the texture to the default layer (textureNum 0) with the following code for example:
self.head.texture(newtexture, 'geom_0')
But it doesn't seem to work correctly for code like this (regardless of how I blend the textures afterwards):
self.head.texture(newtexture, 'geom_0', 1)
Any suggestions?

Thanks!

-Josh
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 02:31 AM.


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