WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 08-11-2003, 11:53 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

In the latest version you can control the filter mode of textures. So in your case you would do something like this:

Code:
tex = viz.add('texture.jpg')
tex.filter(viz.MIN_FILTER,viz.NEAREST)
tex.filter(viz.MAG_FILTER,viz.NEAREST)
object.texture(tex)
However, this method seems like it would be very inefficient if you have a lot of textures that you want to change. So, I'm going to add a new appearance mode, viz.TEXMIPMAP and viz.TEXNEAREST. We are planning on creating an installer for the latest version today, so you can test it out tomorrow morning.
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 05:03 AM.


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