Also, if i remove the light itself it's still looking "ambient", shouldn't it be pitch dark?
On 11/15/05,
Jorrit Tyberghein <[EMAIL PROTECTED]> wrote:
Well a radius of 2 for the light is very small. Also why are you using
'none' attenutation? Just remove that.
Greetings,
On 11/15/05, blueCommand <[EMAIL PROTECTED] > wrote:
> Hello!
>
> I'm making an easy map in 3ds and trying to use it in walktest.
> I added an omni light to get some lighting, but the lightning looks like
> when i don't have lights at all :\
>
> I launch with: walktest.exe levels\flumbulle --relight --recalc and the
> file looks like this:
>
> <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="stars.jpg"> <file>stars.jpg</file></texture>
> <texture name="sand.jpg"> <file>sand.jpg</file></texture>
> </textures>
> <materials>
> <material name="stars.jpg"> <texture>stars.jpg</texture></material>
> <material name="sand.jpg"> <texture> sand.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>
>
>
> <settings><clearzbuf>yes</clearzbuf><lightmapcellsize>16</lightmapcellsize></settings>
>
> <sector name="flumbulle">
> <cullerp>crystalspace.culling.dynavis</cullerp>
> <meshobj name="Plane01">
> <plugin>thing</plugin>
> <priority>object</priority>
> <zuse />
> <params>
> <v x="-615.639" y="0.0" z="-1345.21" />
> <v x=" 953.807" y="0.0" z="-1345.21" />
> <v x="-615.639" y="0.0" z="415.364" />
> <v x="953.807" y="0.0" z="415.364 " />
>
> <material>sand.jpg</material>
> <p name="Plane01_1">
> <v>3</v><v>1</v><v>0</v><v>2</v>
> <texmap><uv idx="0" u="1.95102" v="-0.968842" /><uv idx="1"
> u="1.95102" v="0.953235" /><uv idx="2" u="0.0289472 " v="0.953235"
> /></texmap></p>
> </params>
> </meshobj>
>
> <meshobj name="_sky_Box01">
> <plugin>thing</plugin>
> <priority>sky</priority>
> <zuse />
> <params>
> <v x="895.748" y="-43.7157" z="403.905" />
> <v x=" 895.748" y="-43.7158" z="-1332.22" />
> <v x="895.748" y="652.812" z="403.905" />
> <v x="895.748" y="652.812" z="- 1332.22" />
> <v x="-597.054" y="-43.7158" z="403.905" />
> <v x="-597.054" y="-43.7159" z="-1332.22" />
> <v x="- 597.054" y="652.812" z="403.905" />
> <v x="-597.054" y="652.812" z="-1332.22" />
>
> <material>stars.jpg</material>
> <p name="_sky_Box01_1">
> <v>1</v><v>0</v><v>2</v><v>3</v>
> <texmap><uv idx="1" u="0.0542252" v="- 0.0461993" /><uv idx="2"
> u="0.0542253" v="-0.536085" /><uv idx="3" u="0.962154" v="-0.536085"
> /></texmap></p>
> <p name="_sky_Box01_3">
> <v>6</v><v>4</v><v>5</v><v>7</v>
> <texmap><uv idx="1" u="0.0542252" v="- 0.0461993" /><uv idx="2"
> u="0.962154" v="-0.0461991" /><uv idx="3" u="0.962154" v="-0.536085"
> /></texmap></p>
> <p name="_sky_Box01_5">
> <v>5</v><v>1</v><v>3</v><v>7</v>
> <texmap><uv idx="1" u="1.02129" v="- 0.0311613" /><uv idx="2"
> u="1.02129" v="-0.542678" /><uv idx="3" u="1.9219" v="-0.542678"
> /></texmap></p>
> <p name="_sky_Box01_7">
> <v>7</v><v>3</v><v>2</v><v>6</v>
> <texmap><uv idx="1" u="1.33891" v="0.819797" /><uv idx="2"
> u="0.478268" v="0.819797" /><uv idx="3" u="0.478268" v="0.078055"
> /></texmap></p>
> <p name="_sky_Box01_9">
> <v>6</v><v>2</v><v>0</v><v>4</v>
> <texmap><uv idx="1" u="1.02129" v="-0.542678" /><uv idx="2"
> u=" 1.02129" v="-0.0311615" /><uv idx="3" u="1.9219" v="-0.0311615"
> /></texmap></p>
> </params>
> </meshobj>
>
> <meshobj name="Box02">
> <plugin>thing</plugin>
> <priority>object</priority>
> <zuse />
> <params>
> <v x="-41.9387" y="-0.329099" z="164.541" />
> <v x="41.3747" y="-0.329099" z="164.541" />
> <v x="-41.9387 " y="68.1731" z="164.541" />
> <v x="41.3747" y="68.1731" z="164.541" />
> <v x="-41.9387" y="-0.329104" z=" 59.0108" />
> <v x="41.3747" y="-0.329104" z="59.0108" />
> <v x="-41.9387" y="68.1731" z="59.0108" />
> <v x=" 41.3747" y="68.1731" z="59.0108" />
>
> <material>MATERIALNOTDEFINED</material>
> <p name="Box02_1">
> <v>3</v><v>2</v><v>0</v><v>1</v>
> <texmap><uv idx="0" u="0.0" v="0.0" /><uv idx="1" u="1.0" v="0.0"
> /><uv idx="2" u="1.0" v=" 1.0" /></texmap></p>
> <p name="Box02_3">
> <v>7</v><v>5</v><v>4</v><v>6</v>
> <texmap><uv idx="0" u=" 1.0" v="0.0" /><uv idx="1" u="1.0" v="1.0"
> /><uv idx="2" u="0.0" v="1.0" /></texmap></p>
> <p name="Box02_5">
> <v>5</v><v>1</v><v>0</v><v>4</v>
> <texmap><uv idx="0" u="1.0" v="0.0" /><uv idx="1" u="1.0 " v="1.0"
> /><uv idx="2" u="0.0" v="1.0" /></texmap></p>
> <p name="Box02_7">
> <v>7</v><v>3</v><v>1</v><v>5</v>
> <texmap><uv idx="0" u="1.0" v="0.0" /><uv idx="1" u="1.0" v="1.0"
> /><uv idx="2" u="0.0" v=" 1.0" /></texmap></p>
> <p name="Box02_9">
> <v>6</v><v>2</v><v>3</v><v>7</v>
> <texmap><uv idx="0" u=" 1.0" v="0.0" /><uv idx="1" u="1.0" v="1.0"
> /><uv idx="2" u="0.0" v="1.0" /></texmap></p>
> <p name="Box02_11">
> <v>4</v><v>0</v><v>2</v><v>6</v>
> <texmap><uv idx="0" u="1.0" v="0.0" /><uv idx="1" u="1.0 " v="1.0"
> /><uv idx="2" u="0.0" v="1.0" /></texmap></p>
> </params>
> </meshobj>
>
> <light name="Omni01flumbulle">
> <attenuation>none</attenuation>
> <center x="16.6036" y="97.1421" z="-2.59465" />
> <radius>2.0</radius>
> <color red=" 1.0" green="1.0" blue="1.0" />
> </light>
> </sector>
> <start
> name="Camera01"><sector>flumbulle</sector><position
> x="-1.28472e-007" y="0.0971391" z="-69.4115" /></start>
> </world>
>
> Thanks in advance :)
>
--
Project Manager of Crystal Space ( http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&opclick
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]?subjectunsubscribe
