Subject:
|
Re: Solution (DAT2LWS & Bryce)
|
Newsgroups:
|
lugnet.cad, lugnet.cad.ray
|
Date:
|
Mon, 7 May 2001 20:01:40 GMT
|
Viewed:
|
33 times
|
| |
| |
I rushed together a little program that removes the lines that confuse Bryce.
It has four buttons:
* Suggest: Suggests the lines to be removes by checking them.
* Change: Removes the checked lines.
* Save: Saves the file by overwriting the old, (including any checked but not
removed lines) and clears window.
* All: Executes all the three commands above.
http://home.swipnet.se/simlego/ldraw/bryprep.zip 167 kb zip
/Tore
Tore Eriksson wrote:
> Wow! It really works!
> Danke Schön!
>
> /Tore
>
> Willy Tschager wrote:
>
> > This is a workaround and a little bit laborious, but it works fine on my
> > German version of Bryce 4.0, even with a 23 Mbytes converted Lightwave-file.
> > Please let me know if this workaround works with the US version and the 4.1
> > Update by Corel (R).
> >
> > 1.) Open the Lightwavescene-file (*.lws) with a Wordprozessor-program like
> > "Microsoft Word (R)" or "Corel Wordperfect (R)". Also a simple editor like
> > "Notepad" or "Wordpad" will do the work. For the example below I used a file
> > named "1499.lws" which is located in the directory c:\Programs\Ldraw2lws\,
> > made of three *.lwo (Lightwaveobject-file) which present the single
> > converted *.dat-files. You will see a text like the following:
> >
> > LWSC
> > 1
> >
> > FirstFrame 1
> > LastFrame 60
> > FrameStep 1
> > PreviewFirstFrame 1
> > PreviewLastFrame 60
> > PreviewFrameStep 1
> > FramesPerSecond 25.000000
> >
> > AmbientColor 255 255 255
> > AmbIntensity 0.250000
> >
> > AddNullObject Look At Point
> > ShowObject 8 7
> > ObjectMotion (unnamed)
> > 9
> > 1
> > 0.000000 0.382399 -0.380000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > ShadowOptions 7
> >
> > ShowCamera 1 7
> > CameraMotion (unnamed)
> > 9
> > 1
> > 7.271999 7.654399 6.891999 222.264389 35.264389 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > TargetObject 1
> > ZoomFactor 3.200000
> > Resolution 1
> > PixelAspectRatio 2
> > SegmentMemory 22000000
> > Antialiasing 0
> > AdaptiveSampling 1
> > AdaptiveThreshold 16
> > FilmSize 2
> > FieldRendering 0
> > MotionBlur 0
> > DepthOfField 0
> >
> > AddNullObject 1499
> > ShowObject 8 7
> > ObjectMotion (unnamed)
> > 9
> > 1
> > 0.000000 0.000000 0.000000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > ShadowOptions 7
> >
> > LoadObject C:\Programs\Ldraw2lws\1499_LW_Objects\4871_0.lwo
> > ShowObject 8 7
> > ObjectMotion (unnamed)
> > 9
> > 1
> > 0.000000 0.000000 0.000000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > ParentObject 2
> > ShadowOptions 7
> >
> > LoadObject C:\Programs\Ldraw2lws\1499_LW_Objects\4854_1.lwo
> > ShowObject 8 7
> > ObjectMotion (unnamed)
> > 9
> > 1
> > 0.000000 0.000000 0.000000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > ParentObject 2
> > ShadowOptions 7
> >
> > LoadObject C:\Programs\Ldraw2lws\1499_LW_Objects\4597_2.lwo
> > ShowObject 8 7
> > ObjectMotion (unnamed)
> > 9
> > 1
> > 0.000000 0.000000 0.000000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > ParentObject 2
> > ShadowOptions 7
> >
> > AddLight
> > Lightname
> > ShowLight 1 7
> > LightMotion (unnamed)
> > 9
> > 1
> > -2.550000 2.550000 2.550000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > LightColor 255 255 255
> > LgtIntensity 1.000000
> > LightType 1
> > ShadowType 1
> >
> > SolidBackdrop 1
> > BackdropColor 0 0 0
> > ZenithColor 0 40 80
> > SkyColor 120 180 240
> > GroundColor 50 40 30
> > NadirColor 100 80 60
> > FogType 0
> > DitherIntensity 1
> > AnimatedDither 0
> >
> > RenderMode 2
> > RayTraceEffects 7
> > ClipRayColors 0
> > RayRecursionLimit 16
> > DataOverlayLabel
> > FullSceneParamEval 0
> >
> > ViewMode 3
> > ViewAimpoint 0.000000 0.000000 0.000000
> > ViewDirection 0.300197 -0.314159 0.000000
> > ViewZoomFactor 4.000000
> > GridNumber 40
> > GridSize 1.000000
> > ShowMotionPath 1
> > ShowBGImage 0
> > ShowFogRadius 0
> > ShowRedraw 0
> > ShowSafeAreas 0
> > ShowFieldChart 0
> >
> > 2.) You have to delete the first section from "FirstFrame 1" 'til the line
> > says: "LoadObject". Now go to the end of the text and delete the last
> > section, departing from "AddLight". You don't have to delete the header
> > "LWSC" otherwise Bryce won't recognise the file as Lightwavescene-file.
> > Finally the text should look like this:
> >
> > LWSC
> > 1
> >
> > LoadObject C:\Programs\Ldraw2lws\1499_LW_Objects\4871_0.lwo
> > ShowObject 8 7
> > ObjectMotion (unnamed)
> > 9
> > 1
> > 0.000000 0.000000 0.000000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > ParentObject 2
> > ShadowOptions 7
> >
> > LoadObject C:\Programs\Ldraw2lws\1499_LW_Objects\4854_1.lwo
> > ShowObject 8 7
> > ObjectMotion (unnamed)
> > 9
> > 1
> > 0.000000 0.000000 0.000000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > ParentObject 2
> > ShadowOptions 7
> >
> > LoadObject C:\Programs\Ldraw2lws\1499_LW_Objects\4597_2.lwo
> > ShowObject 8 7
> > ObjectMotion (unnamed)
> > 9
> > 1
> > 0.000000 0.000000 0.000000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > ParentObject 2
> > ShadowOptions 7
> >
> > 3.) Delete ALL the "ParentObjects 2"-Statements. This is crucial, otherwise
> > Bryce will start loading the file but crash down after a while. For this
> > step I use the "Replace"-Command in my "Microsoft Word (R)" and the work
> > becomes a piece of cake. In the "Search"-Field I insert "^aParentObject
> > 2^a", in the "Replace"-Field just "^a". In the end I get a text like this:
> >
> > LWSC
> > 1
> >
> > LoadObject C:\Programs\Ldraw2lws\1499_LW_Objects\4871_0.lwo
> > ShowObject 8 7
> > ObjectMotion (unnamed)
> > 9
> > 1
> > 0.000000 0.000000 0.000000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > ShadowOptions 7
> >
> > LoadObject C:\Programs\Ldraw2lws\1499_LW_Objects\4854_1.lwo
> > ShowObject 8 7
> > ObjectMotion (unnamed)
> > 9
> > 1
> > 0.000000 0.000000 0.000000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > ShadowOptions 7
> >
> > LoadObject C:\Programs\Ldraw2lws\1499_LW_Objects\4597_2.lwo
> > ShowObject 8 7
> > ObjectMotion (unnamed)
> > 9
> > 1
> > 0.000000 0.000000 0.000000 0 0 0 1 1 1
> > 0 0 0 0 0
> > EndBehavior 1
> > ShadowOptions 7
> >
> > 4.) Save the text with its initial name in the ANSI text file format. You
> > can also save it as *.txt-file and then rename it back to *.lws
> >
> > 5.) Import the *.lws-file in Bryce. Bryce splits the Lightwaveobjects-files
> > (*.lwo) by colour. Click on the little arrow in the "Selection Palette" to
> > open the "Select Options pop-up menu". Move up to "Select Groups". Under
> > "Surface 15_1, Surface 15_2, Surface 1_1, ..." you'll find your parts one by
> > one. "15" is a stand-in for white, "1" for blue and so on. It is a good idea
> > to regroup your parts and assign them to a "Family", but don't try do this
> > with decorated parts which are grouped in special groups (please notice that
> > the *lws-file conserves the decoration, while a *.dxf wipes them out).
> >
> > You don't have to edit the Lightwaveobject-files (*.lwo) in the subfolder!!!
> > First make a backup of the *.lws-file before you start editing it.
> >
> > I know this all sounds whimsical, just to easy to be true, but believe me it
> > cost me a hell of a lot of time to find it out. I've tried to convert the
> > *.lws-file with professional converters like 3d-Exploration and others I
> > found on the Internet, but none of them worked. This seems to be the easiest
> > and fastest way to get the file ready for Bryce.
> >
> > Happy "brycing",
> >
> > Willy
> >
> > Orion ha scritto nel messaggio ...
> > > I'm having a little trouble with the DAT2LWS coverter and Bryce. For
> > > whatever reason Bryce won't import the .lws file created by the converter.
> > > Does anyone know a solution to this?
> > >
> > >
> > > -Orion
|
|
Message has 1 Reply:
Message is in Reply To:
10 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|