WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-20-2008, 02:51 AM
stefs stefs is offline
Member
 
Join Date: Mar 2008
Posts: 10
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
Reply With Quote
  #2  
Old 03-20-2008, 10:07 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
  #3  
Old 03-25-2008, 03:34 AM
stefs stefs is offline
Member
 
Join Date: Mar 2008
Posts: 10
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.
Reply With Quote
Reply

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

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


All times are GMT -7. The time now is 10:17 PM.


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