[Bf-committers] VRML2 Import OSX

Douglas Bischoff bf-committers@blender.org
Tue, 26 Aug 2003 10:54:29 -0400


--Apple-Mail-3--149392891
Content-Type: multipart/alternative;
	boundary=Apple-Mail-4--149392891


--Apple-Mail-4--149392891
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	delsp=yes;
	charset=US-ASCII;
	format=flowed

Hello:

I've checked into compiling OSX Blender with MXTextTools included (it  
caused link errors prior to EXP Python) and found that it does  
successfully link now. The line:
--
     PYLIB += $(NAN_MXTEXTTOOLS)
--
In source/makefile can now be un-commented successfully.

Unfortunately, the import still doesn't work. There may be no code for  
it in BPY, as here's the console readout:
--
In  
BPY_call_importloader(name=/Volumes/DBG4Data/Users/developer/Desktop/ 
chair.wrl)
--
Is there, in fact, any code associated with importing VRML2 anymore?  
Does this work on any platform?

Here's the test file used, thanks for any testing!

-Bish

--Apple-Mail-4--149392891
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

Hello:


I've checked into compiling OSX Blender with MXTextTools included (it
caused link errors prior to EXP Python) and found that it does
successfully link now. The line:

--

    PYLIB += $(NAN_MXTEXTTOOLS) 

--

In source/makefile can now be un-commented successfully.


Unfortunately, the import still doesn't work. There may be no code for
it in BPY, as here's the console readout:

--

<fixed>In
BPY_call_importloader(name=/Volumes/DBG4Data/Users/developer/Desktop/chair.wrl)

--

Is there, in fact, any code associated with importing VRML2 anymore?
Does this work on any platform?


Here's the test file used, thanks for any testing!


-Bish

</fixed>
--Apple-Mail-4--149392891--

--Apple-Mail-3--149392891
Content-Disposition: attachment;
	filename=chair.wrl
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="chair.wrl"

#VRML V2.0 utf8
#Exported from Wings 3D 0.98.06b
DEF chair1 Transform {
  children [
    Shape {
      appearance Appearance {
        material DEF gold_upholstery Material {
          diffuseColor 0.766667 0.603346 0.180889
          emissiveColor 0.00000e+0 0.00000e+0 0.00000e+0
          specularColor 0.793333 0.662857 0.220000
          ambientIntensity 1.00000
          transparency 0.00000e+0
          shininess 0.326667
        }
      }
      geometry IndexedFaceSet {
        coord Coordinate { point [
          1.23611 0.206000 3.81375,
          1.22645 1.24796 4.08571,
          1.32468 0.183882 3.68683,
          0.545658 0.215570 3.32440,
          0.267858 1.27806 3.45322,
          0.621995 0.197245 3.21829,
          1.22411 0.183882 3.65068,
          1.26932 0.435642 3.63349,
          0.704540 0.197245 3.27767,
          0.708385 0.403922 3.24179,
          1.54502 0.201924 3.27791,
          1.54981 0.452265 3.27890,
          0.933567 0.197553 2.83806,
          0.925564 0.399789 2.82984,
          0.833841 0.214447 2.76632,
          1.63946 0.219824 3.31471,
          1.06087 1.18965 3.88700,
          0.747156 1.26301 3.76946,
          0.529152 1.20469 3.50964,
          1.08688 1.23082 3.77001,
          0.893091 1.32899 3.56659,
          0.635188 1.25977 3.43995,
          1.24841 1.26543 3.85188,
          0.517614 1.30886 3.28088,
          1.41086 0.603879 3.72003,
          1.37078 0.631924 3.65111,
          1.66018 0.688451 3.21362,
          1.75963 0.663297 3.29020,
          1.42565 1.38677 3.72009,
          1.51217 1.39875 3.80977,
          1.69050 0.224370 3.23370,
          1.59606 0.206470 3.19690,
          0.598926 0.596978 3.11931,
          0.665064 0.606264 3.14038,
          0.994672 0.678953 2.66843,
          0.885597 0.660977 2.58997,
          0.989627 0.197553 2.76013,
          0.889902 0.214447 2.68839,
          0.480977 1.43553 2.96965,
          0.576267 1.41855 3.02556,
          1.10397 0.427712 3.57047,
          0.975794 0.419782 3.45579,
          0.823508 0.411852 3.37462,
          1.11730 0.351281 3.00225,
          1.32538 0.368773 3.15194,
          1.36004 0.233283 3.10543,
          1.15638 0.234641 2.95892,
          1.13898 0.206000 3.73864,
          0.880177 0.172000 3.58396,
          0.622867 0.213939 3.36561,
          0.991951 0.462506 2.71789,
          0.887928 0.462036 2.64326,
          1.72215 0.468107 3.25958,
          1.62558 0.471593 3.20460]
        }
        coordIndex [
          1, 24, 29, -1,
          1, 29, 28, 22, -1,
          4, 38, 32, -1,
          5, 14, 12, -1,
          6, 47, 48, -1,
          7, 19, 22, -1,
          8, 48, 49, -1,
          9, 23, 21, -1,
          10, 2, 6, -1,
          10, 15, 2, -1,
          11, 53, 31, -1,
          12, 8, 5, -1,
          13, 33, 9, -1,
          13, 36, 50, -1,
          16, 0, 1, -1,
          16, 47, 0, -1,
          16, 48, 47, -1,
          17, 19, 20, -1,
          17, 20, 21, -1,
          18, 3, 49, -1,
          18, 4, 3, -1,
          18, 21, 23, -1,
          18, 49, 48, -1,
          19, 7, 40, -1,
          19, 17, 16, -1,
          19, 40, 41, -1,
          21, 18, 17, -1,
          21, 41, 42, -1,
          21, 42, 9, -1,
          22, 16, 1, -1,
          22, 19, 16, -1,
          22, 28, 25, -1,
          23, 4, 18, -1,
          23, 9, 33, -1,
          23, 39, 38, -1,
          24, 0, 2, -1,
          24, 1, 0, -1,
          24, 2, 15, -1,
          24, 28, 29, -1,
          25, 7, 22, -1,
          25, 11, 7, -1,
          25, 26, 11, -1,
          25, 27, 26, -1,
          27, 25, 24, -1,
          28, 24, 25, -1,
          31, 10, 11, -1,
          32, 3, 4, -1,
          32, 5, 3, -1,
          32, 14, 5, -1,
          33, 13, 34, -1,
          33, 34, 35, -1,
          33, 39, 23, -1,
          35, 32, 33, -1,
          36, 13, 12, -1,
          38, 4, 23, -1,
          39, 32, 38, -1,
          39, 33, 32, -1,
          41, 20, 19, -1,
          41, 21, 20, -1,
          41, 44, 43, -1,
          43, 9, 42, -1,
          43, 12, 13, -1,
          43, 13, 9, -1,
          43, 42, 41, -1,
          43, 45, 46, -1,
          43, 46, 12, -1,
          44, 7, 11, -1,
          44, 10, 45, -1,
          44, 11, 10, -1,
          44, 40, 7, -1,
          44, 41, 40, -1,
          45, 10, 6, -1,
          45, 43, 44, -1,
          46, 8, 12, -1,
          46, 48, 8, -1,
          48, 16, 17, -1,
          48, 17, 18, -1,
          48, 45, 6, -1,
          48, 46, 45, -1,
          50, 34, 13, -1,
          51, 14, 32, -1,
          51, 32, 35, -1,
          51, 37, 14, -1,
          52, 15, 30, -1,
          52, 24, 15, -1,
          52, 27, 24, -1,
          53, 11, 26, -1
        ]
      }
    }
    ,
    Shape {
      appearance Appearance {
        material DEF woodCNcherry Material {
          diffuseColor 0.373333 0.135266 0.124444
          emissiveColor 0.00000e+0 0.00000e+0 0.00000e+0
          specularColor 1.00000 1.00000 1.00000
          ambientIntensity 1.00000
          transparency 0.00000e+0
          shininess 1.00000
        }
      }
      geometry IndexedFaceSet {
        coord Coordinate { point [
          1.23611 0.206000 3.81375,
          1.32468 0.183882 3.68683,
          0.545658 0.215570 3.32440,
          0.621995 0.197245 3.21829,
          1.22411 0.183882 3.65068,
          0.704540 0.197245 3.27767,
          1.54502 0.201924 3.27791,
          0.933567 0.197553 2.83806,
          0.833841 0.214447 2.76632,
          1.63946 0.219824 3.31471,
          1.66018 0.688451 3.21362,
          1.75963 0.663297 3.29020,
          1.69050 0.224370 3.23370,
          1.59606 0.206470 3.19690,
          0.994672 0.678953 2.66843,
          0.885597 0.660977 2.58997,
          0.989627 0.197553 2.76013,
          0.889902 0.214447 2.68839,
          1.13898 0.206000 3.73864,
          0.622867 0.213939 3.36561,
          1.17116 -3.70387e-4 3.78043,
          1.19517 -3.70387e-4 3.75563,
          1.22353 -3.70387e-4 3.76583,
          1.19855 -3.70387e-4 3.80162,
          1.64605 -1.66341e-3 3.24866,
          1.67420 -1.66341e-3 3.25963,
          1.65899 -1.66341e-3 3.28377,
          1.63084 -1.66341e-3 3.27281,
          0.882225 -6.07329e-5 2.72437,
          0.911943 -6.07329e-5 2.74575,
          0.895237 -6.07329e-5 2.76897,
          0.865519 -6.07329e-5 2.74760,
          0.612162 1.41589e-5 3.33898,
          0.589130 1.41589e-5 3.36378,
          0.567357 1.41589e-5 3.35216,
          0.588884 1.41589e-5 3.32223,
          1.04628 0.519179 2.63221,
          0.991951 0.462506 2.71789,
          0.941090 0.518184 2.55572,
          0.887928 0.462036 2.64326,
          1.72215 0.468107 3.25958,
          1.78518 0.524491 3.19249,
          1.68711 0.528886 3.13195,
          1.62558 0.471593 3.20460]
        }
        coordIndex [
          0, 20, 23, -1,
          0, 23, 22, -1,
          2, 35, 34, -1,
          3, 32, 35, -1,
          4, 22, 21, -1,
          7, 30, 29, -1,
          8, 31, 30, -1,
          9, 26, 25, -1,
          9, 27, 26, -1,
          12, 25, 24, -1,
          17, 29, 28, -1,
          18, 21, 20, -1,
          19, 33, 32, -1,
          19, 34, 33, -1,
          20, 0, 18, -1,
          21, 18, 4, -1,
          22, 1, 0, -1,
          22, 4, 1, -1,
          23, 20, 21, -1,
          23, 21, 22, -1,
          24, 13, 12, -1,
          24, 26, 27, -1,
          25, 12, 9, -1,
          26, 24, 25, -1,
          27, 6, 13, -1,
          27, 9, 6, -1,
          27, 13, 24, -1,
          29, 16, 7, -1,
          29, 17, 16, -1,
          30, 7, 8, -1,
          31, 8, 17, -1,
          31, 17, 28, -1,
          31, 28, 29, -1,
          31, 29, 30, -1,
          32, 3, 5, -1,
          32, 5, 19, -1,
          34, 19, 2, -1,
          35, 2, 3, -1,
          35, 32, 33, -1,
          35, 33, 34, -1,
          36, 37, 39, -1,
          37, 16, 17, -1,
          37, 17, 39, -1,
          37, 36, 14, -1,
          38, 14, 36, -1,
          38, 15, 14, -1,
          39, 15, 38, -1,
          39, 38, 36, -1,
          40, 41, 11, -1,
          40, 42, 41, -1,
          41, 10, 11, -1,
          41, 42, 10, -1,
          42, 40, 43, -1,
          43, 10, 42, -1,
          43, 12, 13, -1,
          43, 40, 12, -1
        ]
      }
    }
  ]
}


--Apple-Mail-3--149392891--