|
From: Andrzej K. <ak...@np...> - 2002-10-30 19:19:20
|
James--
I think it's best not to change all the entities to "file:..." URLs,
but rather to wait until loading from jars or resource URLs works in Xj3D.
Putting explicit file paths in there may work as a quick hack, but it will
break very easily in the mode of operation that NPSNET-V is actually
intended for (that is, installing only the kernel and downloading all other
resources on-the-fly as needed into a local cache).
I'll take a quick look at Justin's URL-handling stuff and see if I can
find out what's breaking.
--Andrzej
----- Original Message -----
From: "Harney, James" <jwh...@np...>
To: "NPSNET-V" <nps...@li...>
Sent: Wednesday, October 30, 2002 3:00 AM
Subject: [npsnetv-developers] Updates
Hi,
Hadn't used the list in a while, so here you go...
--Currently til today we had no texture loading with the open source
vrml/x3d loader. Now do but with a few catches currently:
- Can not load any 3D from a jar. This is temporarily worked around
by changing the scene reference in the entity xml file located in the
npsnetv/resources/org/npsnet/v/entities... subtree by changing the
scene reference to something like:
<ccei:Scene
url="file:/resources/org/npsnet/v/views/platforms/surface/DDGArleighBurk
e.wrl"/>
where before the file would be reference like
<ccei:Scene
name="org/npsnet/v/views/platforms/surface/DDGArleighBurke.wrl"/>
Note you'll want to avoid a reference like file:/c:/npsnetv/resources...
Because it 1 assumes you're on a windows box, and 2 if one's playing in
Red Hat (Rick Goldbergs devl OS), then will die an ugly death.
For Andrezj, did not know if you wanted all the current entities changed
to this or to revert back to the previous xj3d build where we get no
textures but jar file access. If you want to stay with the texture
loading capability for now (didn't know if you needed jar access in the
short term (next few weeks) for any planned work ), then just let me
know and I'll update teapot, AUV, spherical mine, and any fish Don M.
has in from the recent posts so they will work. Have posted the new jar
temporarily so Ekrem and anyone else interested can get to if you don't
want it there til jars are working.
--Port Hueneme has a water texture now. I have a simple texture
animation in it that looks even nicer, but the texture transform scale
field is not yet exposed for runtime changing with behaviours on, so
you'll have to load in a different context to few it moving. Once they
get it in, we can turn behaviours on in the loader code and have it
moving, etc.
--J3DAtmosphere if included in the xml decl as infinite atmosphere will
give you a decent Universal Media background from Web3D.org similar to
the newly proposed X3D Bacground2 node (not implemented by Xj3D yet).
Working on exposing the texture setting in the xml as well as the BG
color, etc.
--Looking to get Pearl Harbor incorporated once Claude finishes up some
scaling work with John Locke.
James
--
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
|