![]() |
Translating a texture and its Alpha
Hello,
I had a question on how Vizard handles alpha maps when imported from files. I've got a scene with lava spewing forth and in order to make it look like it is moving I used the tutorial for transforming a texture across an object: Code:
import viz not move with the texture as well. I am using a TGA file that I made in photoshop with an alpha imbeded which has a bunch of 'holes'. My hope was that these holes would move with the texture to give the appearance of hot lava pouring forth. Right now I've only got the lava moving but the alpha stays static. Is there a simple fix to this, or do I need to apply my own custom alpha channel and move that as well as the texture? Thanks, George |
I can't reproduce this. I tried the following test script and the alpha properly animates with the texture:
Code:
import viz |
Yes it does work.
Here is my problem. As you can see it is moving on the right side (not easy to see but the reds and yellows are moving along), but the alpha is not. Curious. http://i200.photobucket.com/albums/a...akes/lava1.jpg http://i200.photobucket.com/albums/a...akes/lava2.jpg Thanks for the help so far. ~George |
This may sound stupid, but are you sure the textures have an alpha map and it's not just the mesh that has holes in it? If you can send your files and sample script to lashkari@worldviz.com I can take a better look at it.
|
Well the reason is stupid but not because I don't know how to model. Actually, making holes in a mesh would probably mean I did know how to
model, but that is beside the point. Reviewing the files I was about to send you I noticed that my zip was a HUGE 29 megs. Looks like I may have forgotten to down-convert the original 2048x2048 to a 512x512 sized file in photoshop for the lava texture. I'm gonna see if maybe that is the source of the problem. I am familiar with Vizard not liking large textures, so maybe this is just a similar problem? I'll let you know if it fixes it. Thanks for the time, once again I feel like an idiot. George L. |
I tracked down the problem to trying to override the texture inside the IVE file.
I already had the image applied with the alpha in MAX. When I went to reapply it in Vizard it did so to the texture but not the alpha. However, when I added a flat material with no texture I lost my UV coords of the object. To FIX everything, all I did was remove my alpha parameters inside of MAX and then exported to IVE. After that I applied my texture with the alpha and now the alpha moves with the texture. Thanks for the help, I couldn't of fixed this without the troubleshooting, George L. |
All times are GMT -7. The time now is 02:11 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC