![]() |
|
#1
|
|||
|
|||
|
This seems like it should be easy, but it's not working for me, so perhaps someone could figure it out.
Anyway, I'm trying to create a large plane with a "grass" looking texture on it. (Pretty simple!) The plane is a VRML file (attached) containing an IndexedFaceSet. (I found that Vizard's physics engine didn't work right on objects with small numbers of triangles, so I had to tesselate the "plane" a lot) However, I can't get the plane to get a texture! I figure maybe it's getting one but really stretched out, however I can't seem to get it to tile a scaled down version of the texture, either. Any ideas on how to do this? Thanks! |
|
#2
|
|||
|
|||
|
It maybe your model does not have texture coordinates. Was it exported without a texture?
|
|
#3
|
|||
|
|||
|
Also, make sure the wrap mode on the texture object is set to viz.REPEAT.
Code:
texture = viz.addTexture('grass.jpg',wrap=viz.REPEAT)
|
![]() |
| Tags |
| plane, texture, vrml |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to render a texture of the transparent object and then blur it | whj | Vizard | 1 | 09-25-2012 03:15 PM |
| Texture applid on a plane gets inverted in one of its the sides | Renato Lima | Vizard | 1 | 03-14-2011 06:16 PM |
| How to apply shader and render texture to an object | whj | Vizard | 0 | 04-23-2010 12:23 PM |
| Randomly and Continuously Change Avatar's Face Texture | Karla | Vizard | 4 | 08-22-2008 12:14 PM |
| Texture tiling | ChrisB | Vizard | 2 | 08-13-2004 11:49 AM |