View Single Post
  #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