instantreality forum
news: Welcome to the instantreality forums!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 17, 2018, 08:25:50 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: ProximitySensor VRML-Export 3dsmax  (Read 4593 times)
riedt
Newbie
*
Posts: 10


View Profile
« on: September 29, 2008, 03:54:08 pm »

Why does instantreality not support standard VRML2.0 ProximitySensor definition? I think that there is full VRML2.0 support? After export from 3dsmax the following extract of code will be generated. The animation don't start:

DEF ProxSensor01 Transform {
  translation 0 0.005 0
  children [
      DEF ProxSensor01 ProximitySensor {
        enabled TRUE
        center 0 2 0
        size 2 4 2
      }
  ]
}

ROUTE ProxSensor01.enterTime TO Torus01-TIMER.startTime

DEF Torus01 Transform {
  translation 0 2.002 0
  rotation -1 0 0 -1.571
  children [
  DEF Torus01-TIMER TimeSensor { loop FALSE cycleInterval 10 },
  DEF Torus01-ROT-INTERP OrientationInterpolator {
    key [0, 0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1,
        0.11, 0.12, 0.13, 0.14, 0.15,................

Viewers like cortona or BS Contact show animation of geometry correctly. Is there just X3D-Support? Then the only chance to do that not manually is using the old exporter for 3dsmax6. Do you have any ideas?
Logged
torsten
Jr. Member
**
Posts: 66


View Profile
« Reply #1 on: November 20, 2008, 01:38:59 pm »

Hi,

there seems to be an error in your scene: ProxSensor01 is defined twice: As transform and as ProximitySensor. The route may not work because of that.

HTH,

Torsten
Logged
pja7518
Newbie
*
Posts: 2


View Profile
« Reply #2 on: August 05, 2011, 05:48:59 pm »

Hey i have the same problem. Just change the Vrml 2 to to vrml 97 because it will not supress other nodes and hence your animation will be perfect.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.15 | SMF © 2011, Simple Machines