Crystal Space
Welcome, Guest. Please login or register.
September 03, 2014, 07:05:23 am

Login with username, password and session length
Search:     Advanced search
9009 Posts in 2043 Topics by 8379 Members
Latest Member: Hamlock3
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Game Content Creation
| | |-+  how to make portal in 3ds max?
« previous next »
Pages: [1] Print
Author Topic: how to make portal in 3ds max?  (Read 4496 times)
Jr. Member
**
Posts: 81


View Profile Email
« on: November 19, 2007, 01:35:16 pm »

    I have red the "exporterguide" in 3ds max. And followed the guide to build a portal, but when I use "walktest" to ran the map which I build in 3ds max, I can't see the portal, and the second room i build. I dont know why! The map i built followed the "exportguide" strickly, and I tried many times, but i still can't see the portal.
    The portal which i built in 3ds max only set one properities "PORTAL=_sect_room02". Are there any other properities I should set?If you know any information about this, please help me! Thank you very much!!

the map's xml file is below.
<world>
 <variables>
  <variable name="lightning reset"><color red="0" green="0" blue="0"/></variable>
  <variable name="LodM" value="-0.00666667" /><variable name="LodA" value="1.33333" />
 </variables>
  <textures>
    <texture name="mystone2.gif"> <file>mystone2.gif</file></texture>
    <texture name="blobby.jpg"> <file>blobby.jpg</file></texture>
    <texture name="marble_09_bs___128.jpg"> <file>marble_09_bs___128.jpg</file></texture>
    <texture name="floors_1_d1n__128.jpg"> <file>floors_1_d1n__128.jpg</file></texture>
  </textures>
  <materials>
    <material name="mystone2.gif"> <texture>mystone2.gif</texture></material>
    <material name="blobby.jpg"> <texture>blobby.jpg</texture></material>
    <material name="marble_09_bs___128.jpg"> <texture>marble_09_bs___128.jpg</texture></material>
    <material name="floors_1_d1n__128.jpg"> <texture>floors_1_d1n__128.jpg</texture></material>
  </materials>

  <plugins>
    <plugin name="thing">crystalspace.mesh.loader.thing</plugin>
    <plugin name="thingFact">crystalspace.mesh.loader.factory.thing</plugin>
    <plugin name="meshFact">crystalspace.mesh.loader.factory.genmesh</plugin>
    <plugin name="mesh">crystalspace.mesh.loader.genmesh</plugin>
  </plugins>

  <meshfact name="ceiling"><plugin>thingFact</plugin><params>
      <v x="9.39734" y="-0.1" z="15.7992" />
      <v x="-8.87677" y="-0.1" z="15.7992" />
      <v x="-8.87677" y="-0.1" z="-2.47496" />
      <v x="9.39734" y="-0.1" z="-2.47496" />
      <v x="9.39734" y="0.1" z="15.7992" />
      <v x="-8.87677" y="0.1" z="15.7992" />
      <v x="-8.87677" y="0.1" z="-2.47496" />
      <v x="9.39734" y="0.1" z="-2.47496" />
      <material>blobby.jpg</material>
      <p name="_f_ceiling_0_1">      <v>5</v><v>1</v><v>0</v><v>4</v>
      </p>
      <p name="_f_ceiling_0_3">      <v>6</v><v>2</v><v>1</v><v>5</v>
      </p>
      <p name="_f_ceiling_0_5">      <v>7</v><v>3</v><v>2</v><v>6</v>
      </p>
      <p name="_f_ceiling_0_7">      <v>4</v><v>0</v><v>3</v><v>7</v>
      </p>
      <p name="_f_ceiling_0_9">      <v>0</v><v>1</v><v>2</v><v>3</v>
      </p>
      <p name="_f_ceiling_0_11">      <v>4</v><v>7</v><v>6</v><v>5</v>
      </p>
    </params></meshfact>
  <meshfact name="floor"><plugin>thingFact</plugin><params>
      <v x="9.39734" y="-0.1" z="15.7992" />
      <v x="-8.87677" y="-0.1" z="15.7992" />
      <v x="-8.87677" y="-0.1" z="-2.47496" />
      <v x="9.39734" y="-0.1" z="-2.47496" />
      <v x="9.39734" y="0.1" z="15.7992" />
      <v x="-8.87677" y="0.1" z="15.7992" />
      <v x="-8.87677" y="0.1" z="-2.47496" />
      <v x="9.39734" y="0.1" z="-2.47496" />
      <material>blobby.jpg</material>
      <p name="_f_floor_0_1">      <v>5</v><v>1</v><v>0</v><v>4</v>
      </p>
      <p name="_f_floor_0_3">      <v>6</v><v>2</v><v>1</v><v>5</v>
      </p>
      <p name="_f_floor_0_5">      <v>7</v><v>3</v><v>2</v><v>6</v>
      </p>
      <p name="_f_floor_0_7">      <v>4</v><v>0</v><v>3</v><v>7</v>
      </p>
      <p name="_f_floor_0_9">      <v>0</v><v>1</v><v>2</v><v>3</v>
      </p>
      <p name="_f_floor_0_11">      <v>4</v><v>7</v><v>6</v><v>5</v>
      </p>
    </params></meshfact>
  <meshfact name="wall"><plugin>thingFact</plugin><params>
      <v x="9.39734" y="-4.0" z="15.7992" />
      <v x="-8.87677" y="-4.0" z="15.7992" />
      <v x="-8.87677" y="-4.0" z="-2.47496" />
      <v x="9.39734" y="-4.0" z="-2.47496" />
      <v x="9.39734" y="4.0" z="15.7992" />
      <v x="-8.87677" y="4.0" z="15.7992" />
      <v x="-8.87677" y="4.0" z="-2.47496" />
      <v x="9.39734" y="4.0" z="-2.47496" />
      <v x="8.89734" y="-4.0" z="-1.97496" />
      <v x="-8.37677" y="-4.0" z="-1.97496" />
      <v x="-8.37677" y="-4.0" z="15.2992" />
      <v x="8.89734" y="-4.0" z="15.2992" />
      <v x="8.89734" y="4.0" z="-1.97496" />
      <v x="-8.37677" y="4.0" z="-1.97496" />
      <v x="-8.37677" y="4.0" z="15.2992" />
      <v x="8.89734" y="4.0" z="15.2992" />
      <material>mystone2.gif</material>
      <p name="_f_wall_0_1">      <v>5</v><v>1</v><v>0</v><v>4</v>
      </p>
      <p name="_f_wall_0_3">      <v>6</v><v>2</v><v>1</v><v>5</v>
      </p>
      <p name="_f_wall_0_5">      <v>7</v><v>3</v><v>2</v><v>6</v>
      </p>
      <p name="_f_wall_0_7">      <v>4</v><v>0</v><v>3</v><v>7</v>
      </p>
      <p name="_f_wall_0_9">      <v>13</v><v>9</v><v>8</v><v>12</v>
      </p>
      <p name="_f_wall_0_11">      <v>14</v><v>10</v><v>9</v><v>13</v>
      </p>
      <p name="_f_wall_0_13">      <v>15</v><v>11</v><v>10</v><v>14</v>
      </p>
      <p name="_f_wall_0_15">      <v>12</v><v>8</v><v>11</v><v>15</v>
      </p>
      <p name="_f_wall_0_17">       <v>11</v><v>8</v><v>0</v>
      </p>
      <p name="_f_wall_0_18">       <v>3</v><v>0</v><v>8</v>
      </p>
      <p name="_f_wall_0_19">       <v>2</v><v>3</v><v>8</v>
      </p>
      <p name="_f_wall_0_20">       <v>2</v><v>8</v><v>9</v>
      </p>
      <p name="_f_wall_0_21">       <v>1</v><v>2</v><v>9</v>
      </p>
      <p name="_f_wall_0_22">       <v>1</v><v>9</v><v>10</v>
      </p>
      <p name="_f_wall_0_23">       <v>0</v><v>1</v><v>10</v>
      </p>
      <p name="_f_wall_0_24">       <v>0</v><v>10</v><v>11</v>
      </p>
      <p name="_f_wall_0_25">       <v>15</v><v>4</v><v>12</v>
      </p>
      <p name="_f_wall_0_26">       <v>7</v><v>12</v><v>4</v>
      </p>
      <p name="_f_wall_0_27">       <v>6</v><v>12</v><v>7</v>
      </p>
      <p name="_f_wall_0_28">       <v>6</v><v>13</v><v>12</v>
      </p>
      <p name="_f_wall_0_29">       <v>5</v><v>13</v><v>6</v>
      </p>
      <p name="_f_wall_0_30">       <v>5</v><v>14</v><v>13</v>
      </p>
      <p name="_f_wall_0_31">       <v>4</v><v>14</v><v>5</v>
      </p>
      <p name="_f_wall_0_32">       <v>4</v><v>15</v><v>14</v>
      </p>
    </params></meshfact>
  <settings><clearzbuf>yes</clearzbuf><lightmapcellsize>32</lightmapcellsize></settings>

  <sector name="room01">
    <cullerp>crystalspace.culling.frustvis</cullerp>
    <meshobj name="_f_ceiling_01">
      <plugin>thing</plugin>
      <params><factory>ceiling</factory>
      </params>
      <move><v x="-9.53674e-007" y="4.00559" z="-20.8358" />
      <matrix><rotx>0.0</rotx><roty>0.0</roty><rotz>0.0</rotz></matrix>
      </move>
    </meshobj>
    <meshobj name="_f_wall_01">
      <plugin>thing</plugin>
      <params><factory>wall</factory>
      </params>
      <move><v x="-9.53674e-007" y="0.147466" z="-20.8848" />
      <matrix><rotx>0.0</rotx><roty>0.0</roty><rotz>0.0</rotz></matrix>
      </move>
    </meshobj>
    <meshobj name="_f_floor_01">
      <plugin>thing</plugin>
      <params><factory>floor</factory>
      </params>
      <move><v x="-9.53674e-007" y="-3.71014" z="-20.8866" />
      <matrix><rotx>0.0</rotx><roty>0.0</roty><rotz>0.0</rotz></matrix>
      </move>
    </meshobj>
    <portal name="_p_door">
    <autoresolve />
      <v x="8.17938" y="-0.0757073" z="-23.6202" />
      <v x="8.17938" y="-0.0757075" z="-28.0351" />
      <v x="8.17938" y="-3.77276" z="-28.0351" />
      <v x="8.17938" y="-3.77276" z="-23.6202" />
      <ww x="-0.0145477" y="0.00282478" z="0.0481598" />
     <sector>_sect_room02</sector>
    </portal>

    <light name="Omni02room01">
    <attenuation>none</attenuation>
      <center x="-8.58307e-007" y="2.19976" z="-20.7227" />
      <radius>20.0</radius>
      <color red="1.0" green="1.0" blue="1.0" />
    </light>
  </sector>

  <sector name="room02">
    <cullerp>crystalspace.culling.frustvis</cullerp>
    <meshobj name="_f_floor_02">
      <plugin>thing</plugin>
      <params><factory>floor</factory>
<replacematerial old="blobby.jpg" new="floors_1_d1n__128.jpg" />
      </params>
      <move><v x="16.4716" y="-3.90263" z="-20.8579" />
      <matrix><rotx>0.0</rotx><roty>0.0</roty><rotz>0.0</rotz></matrix>
      </move>
    </meshobj>
    <meshobj name="_f_wall_02">
      <plugin>thing</plugin>
      <params><factory>wall</factory>
<replacematerial old="mystone2.gif" new="marble_09_bs___128.jpg" />
      </params>
      <move><v x="16.472" y="-0.00282478" z="-20.8579" />
      <matrix><rotx>0.0</rotx><roty>0.0</roty><rotz>0.0</rotz></matrix>
      </move>
    </meshobj>
    <meshobj name="_f_ceiling_02">
      <plugin>thing</plugin>
      <params><factory>ceiling</factory>
      </params>
      <move><v x="16.4736" y="3.89733" z="-20.8579" />
      <matrix><rotx>0.0</rotx><roty>0.0</roty><rotz>0.0</rotz></matrix>
      </move>
    </meshobj>
    <light name="Omni01room02">
    <attenuation>none</attenuation>
      <center x="19.4546" y="-0.00282478" z="-18.0824" />
      <radius>20.0</radius>
      <color red="1.0" green="1.0" blue="1.0" />
    </light>
    <light name="Omni03room02">
    <attenuation>none</attenuation>
      <center x="10.9837" y="-0.00282478" z="-25.9791" />
      <radius>20.0</radius>
      <color red="1.0" green="1.0" blue="1.0" />
    </light>
  </sector>

  <start name="Camera01"><sector>room01</sector><position x="-6.67572e-007" y="-2.25218" z="-15.6998" /></start>
   <sequences>
   </sequences>
   <triggers>
   </triggers>
</world>
Logged
Kriss
Newbie
*
Posts: 49



View Profile
« Reply #1 on: November 23, 2007, 07:14:28 am »

Not an answer, just a quick quastion.
I see <sector>_sect_room02</sector>
but there is no sector with this name...
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 5.286 seconds with 15 queries.