|
#1
|
|||
|
|||
3D Texture Mapping in Vizard?
Hello,
has anyone tried 3D texture mapping in Vizard? viz.texCoord() doesnīt complain when handing over three texture coordinates e.g. (1,1,1). Apparently, however, only the first two texture coordinates are fed into the rendering pipeline (I tried a fragment shader to render the third texture coordinate). The documentation of viz.addTexture() speaks about 3D textures (type = viz.TEX_3D) but they are obviously not supported throughout the Vizard toolkit. Is consistent 3D TM support to appear in new upgrades of Vizard? /stefs |
#2
|
|||
|
|||
The next release of Vizard will support using 3D texture coordinates, along with generating 3D texture data at run-time. Vizard has a quarterly release schedule, so the next release is planned for the beginning of April.
A current workaround would be to specify the 3d texture coordinates using the vertex color, then create a vertex shader that copies the color data into the texture coordinate data of the vertex. Let me know if you need any help with this. |
#3
|
|||
|
|||
3D Texture Mapping in Vizard?
Thatīs really excellent news!
Yes, the use of color as texture coords works as a temporary hack. I will await the next release of WorldViz and look forward to the possibility of creating 3D textures on the fly. Thanks again, stefs. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vizard and Augmented Reality | realvision | Vizard | 4 | 04-04-2008 10:59 AM |
Vizard won't run | wouters | Vizard | 5 | 02-05-2008 11:12 AM |
Skydome texture problem | theuberk | Vizard | 2 | 01-18-2008 05:56 AM |
Fall 2007 release of Vizard R3 | 3 D | Announcements | 0 | 10-15-2007 04:50 PM |
texture mapping problem | dellatails | Vizard | 1 | 03-12-2006 11:13 AM |