Skip to main content

3D texture mapping on Mac

5 replies [Last post]
priya21
Offline
Joined: 2010-10-11

Hi,

I am trying to do some 3D texture mapping on Mac. I have been able to get the code working on Linux and Windows, but not on Mac. On an earlier thread, I found this link

http://download.java.net/media/java3d/webstart/test/QueryProperties.jnlp

This checks if the card supports 3D textures. On multiple mac's, the Texture3Davailable parameter is set to false. Does this mean that none of the mac's support 3D texture mapping? Is some workaround possible?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
priya21
Offline
Joined: 2010-10-11

Thanks darwin.

The problem was with the java3d version. The default java3d 1.5.2 installation instructions did not work. I found the correct instructions on this blog:

http://blogs.sun.com/mart/entry/installing_java3d_1_5_on

darwinjob
Offline
Joined: 2004-11-16

Installer for Mac made by one of the forum members:
http://create.ife.no/vr/tools/j3d/java3d_1_5_2-macosx.pkg.zip

darwinjob
Offline
Joined: 2004-11-16

>Does this mean that none of the mac's support 3D texture mapping?

Nope. What matters is the videocard and the drivers. I have a mac with ATI HDxxxx (don't remember the number) and Texture3D is fine.

priya21
Offline
Joined: 2010-10-11

Thanks darwinjob.

I did check on a few Mac's and i found that they have the ATI Radeon HD2400XT and ATI Radeon HD 4670 graphics cards. Both these graphics cards are listed as having a texture mapping unit, so i assume they should be able to support 3D texture mapping. Could there another reason for the problem?

darwinjob
Offline
Joined: 2004-11-16

>Both these graphics cards are listed as having a texture mapping unit, so i assume they should be able to support 3D texture mapping.

Just to clarify, having texture mapping unit does not mean that that texture3d is supported.

You need this:
texture3DAvailable = true
textureNonPowerOfTwoAvailable = true (optionally)

Whole HDxxxx series should be fine, X series do not support texture3d, Intel videocards are crap.

Be sure that you have latest Java3d 1.5.2 (by default Mac has old version), do all updates, check the drivers. HD4670 must work.