Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  VMP for Macintosh    Problem in loading 3d obj in Mac but not in Windows

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
<Anil p>
Posted
I'm facing a problem Mac OS. Could any one of you give me the solution. I would like to explain the problem here.

I've got a 3d frame(eg., frame.mtx) published from Viewpoint Scenebuilder(Windows ver.). Also the following init1.mtx code is manually written as per mtx standards.

<MTSScene Version="3" >
<MTSSceneParms AccumMax="12" EdgeBias="1" PreliteColor="0.000000 0.000000 0.990000" >
<MTSTextureMap Name="DefLightmap">
</MTSTextureMap>

</MTSSceneParms>

<MTSCamera OrbitDist="2" CameraDistMin="1.5" CameraDistMax="7.0">
<ViewLocation x="0" y="0" z="3.2" />
<Rotate x="0" y="0" z="0" />
<Scale x="1" y="1" z="0.2" />

<Translate x="-0.1" y="0.0" z="0" />
</MTSCamera>

</MTSScene>

I'm trying to load the above init1.mtx to vmp before frame1 loaded using the following code.

vmp = new MTSPlugin("init1.mtx", 480,315, "broadcastkey.mtx", "popUp", "ContentType=1");

and on body load of the html file, i'm loading frame1.mtx using vmp.LoadMTX("C1088G-2N.MTX");

This code is working perfect with Windows but when I try the same MAC OS, The frame is not getting loaded.

Could you please suggest me what is the problem with my code.

One can have a look at my code by clicking the following link

www.shipex.com/macproblem.zip


Thanks in advance.
 
Reply With QuoteEdit or Delete MessageReport This Post
<barnaby>
Posted
Anil, your MTS3Interface.js is the wrong version.

I replaced it with the current one and it worked fine.
 
Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  VMP for Macintosh    Problem in loading 3d obj in Mac but not in Windows