WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: farshizzo
Forum: Vizard 09-08-2006, 09:54 AM
Replies: 14
Views: 27,408
Posted By farshizzo
Here is a version of the shader that implements...

Here is a version of the shader that implements exponential fog:uniform sampler2D BaseTexture;
uniform sampler2D DetailTexture;

const float LOG2E = 1.442695;

void main (void)
{
float...
Forum: Vizard 09-07-2006, 11:01 AM
Replies: 14
Views: 27,408
Posted By farshizzo
Hi, I agree, the close-up shot looks really...

Hi,

I agree, the close-up shot looks really cool! But the tiling is noticeable from far away. The second example you posted would fix the tiling problem, but it might be harder to create the...
Forum: Vizard 09-06-2006, 08:09 PM
Replies: 14
Views: 27,408
Posted By farshizzo
Hi, Sorry about that. Replace the the code...

Hi,

Sorry about that. Replace the the code in the shader file with the following:uniform sampler2D BaseTexture;
uniform sampler2D DetailTexture;

void main (void)
{
vec4 detailColor =...
Forum: Vizard 09-06-2006, 07:29 PM
Replies: 14
Views: 27,408
Posted By farshizzo
Hi, Looks good. I just realized that the...

Hi,

Looks good. I just realized that the texblend operation is not the same as the blending in the example website you posted. I've attached another example that uses a shader to perform the...
Forum: Vizard 09-06-2006, 05:48 PM
Replies: 14
Views: 27,408
Posted By farshizzo
Hi, I just double checked to make sure this...

Hi,

I just double checked to make sure this works and was able to create this sample script.import viz
viz.go()

#Create quad and place it in front of user
quad = viz.add(viz.TEXQUAD,pos =...
Forum: Vizard 09-06-2006, 05:44 PM
Replies: 14
Views: 27,408
Posted By farshizzo
Hi, The texture coordinates were probably...

Hi,

The texture coordinates were probably not exported for the second texture unit. Try setting the texture matrix like I mentioned in my previous post.m = viz.Transform.scale(20,20,1) #Repeat 20...
Forum: Vizard 09-06-2006, 09:42 AM
Replies: 14
Views: 27,408
Posted By farshizzo
Hi, I'm not sure what you mean by "overlay"....

Hi,

I'm not sure what you mean by "overlay". The examples you pointed to apply multiple textures to a mesh and blend them together. This technique is possible within Vizard. To apply multitple...
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT -7. The time now is 03:23 PM.


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